Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(271)

Side by Side Diff: cc/trees/layer_tree_impl.h

Issue 988693005: Chromium roll (https://codereview.chromium.org/976353002) (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: fixed bad android build patch Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/trees/layer_tree_host_unittest.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_TREES_LAYER_TREE_IMPL_H_ 5 #ifndef CC_TREES_LAYER_TREE_IMPL_H_
6 #define CC_TREES_LAYER_TREE_IMPL_H_ 6 #define CC_TREES_LAYER_TREE_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 void SetPendingPageScaleAnimation( 328 void SetPendingPageScaleAnimation(
329 scoped_ptr<PendingPageScaleAnimation> pending_animation); 329 scoped_ptr<PendingPageScaleAnimation> pending_animation);
330 scoped_ptr<PendingPageScaleAnimation> TakePendingPageScaleAnimation(); 330 scoped_ptr<PendingPageScaleAnimation> TakePendingPageScaleAnimation();
331 331
332 protected: 332 protected:
333 explicit LayerTreeImpl( 333 explicit LayerTreeImpl(
334 LayerTreeHostImpl* layer_tree_host_impl, 334 LayerTreeHostImpl* layer_tree_host_impl,
335 scoped_refptr<SyncedProperty<ScaleGroup>> page_scale_factor, 335 scoped_refptr<SyncedProperty<ScaleGroup>> page_scale_factor,
336 scoped_refptr<SyncedTopControls> top_controls_shown_ratio, 336 scoped_refptr<SyncedTopControls> top_controls_shown_ratio,
337 scoped_refptr<SyncedElasticOverscroll> elastic_overscroll); 337 scoped_refptr<SyncedElasticOverscroll> elastic_overscroll);
338 void ProcessLayersRecursive(LayerImpl* current,
339 void (LayerImpl::*function)());
340 float ClampPageScaleFactorToLimits(float page_scale_factor) const; 338 float ClampPageScaleFactorToLimits(float page_scale_factor) const;
341 void PushPageScaleFactorAndLimits(const float* page_scale_factor, 339 void PushPageScaleFactorAndLimits(const float* page_scale_factor,
342 float min_page_scale_factor, 340 float min_page_scale_factor,
343 float max_page_scale_factor); 341 float max_page_scale_factor);
344 bool SetPageScaleFactorLimits(float min_page_scale_factor, 342 bool SetPageScaleFactorLimits(float min_page_scale_factor,
345 float max_page_scale_factor); 343 float max_page_scale_factor);
346 void DidUpdatePageScale(); 344 void DidUpdatePageScale();
347 void HideInnerViewportScrollbarsIfNearMinimumScale(); 345 void HideInnerViewportScrollbarsIfNearMinimumScale();
348 void PushTopControls(const float* top_controls_shown_ratio); 346 void PushTopControls(const float* top_controls_shown_ratio);
349 LayerTreeHostImpl* layer_tree_host_impl_; 347 LayerTreeHostImpl* layer_tree_host_impl_;
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 416
419 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; 417 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_;
420 418
421 private: 419 private:
422 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 420 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
423 }; 421 };
424 422
425 } // namespace cc 423 } // namespace cc
426 424
427 #endif // CC_TREES_LAYER_TREE_IMPL_H_ 425 #endif // CC_TREES_LAYER_TREE_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_unittest.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698