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

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

Issue 25629006: Suppress scrolls that begin on fixed-pos layers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | cc/trees/layer_tree_host_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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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_HOST_IMPL_H_ 5 #ifndef CC_TREES_LAYER_TREE_HOST_IMPL_H_
6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_ 6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_
7 7
8 #include <list> 8 #include <list>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 void ClearCurrentlyScrollingLayer(); 477 void ClearCurrentlyScrollingLayer();
478 478
479 void AnimateScrollbarsRecursive(LayerImpl* layer, 479 void AnimateScrollbarsRecursive(LayerImpl* layer,
480 base::TimeTicks time); 480 base::TimeTicks time);
481 481
482 void UpdateCurrentFrameTime(base::TimeTicks* ticks, base::Time* now) const; 482 void UpdateCurrentFrameTime(base::TimeTicks* ticks, base::Time* now) const;
483 483
484 LayerImpl* FindScrollLayerForViewportPoint( 484 LayerImpl* FindScrollLayerForViewportPoint(
485 gfx::Point viewport_point, 485 gfx::Point viewport_point,
486 InputHandler::ScrollInputType type, 486 InputHandler::ScrollInputType type,
487 bool* scroll_on_main_thread); 487 bool* scroll_on_main_thread) const;
488 float DeviceSpaceDistanceToLayer(gfx::PointF device_viewport_point, 488 float DeviceSpaceDistanceToLayer(gfx::PointF device_viewport_point,
489 LayerImpl* layer_impl); 489 LayerImpl* layer_impl);
490 void StartScrollbarAnimationRecursive(LayerImpl* layer, base::TimeTicks time); 490 void StartScrollbarAnimationRecursive(LayerImpl* layer, base::TimeTicks time);
491 void SetManagedMemoryPolicy(const ManagedMemoryPolicy& policy, 491 void SetManagedMemoryPolicy(const ManagedMemoryPolicy& policy,
492 bool zero_budget); 492 bool zero_budget);
493 void EnforceManagedMemoryPolicy(const ManagedMemoryPolicy& policy); 493 void EnforceManagedMemoryPolicy(const ManagedMemoryPolicy& policy);
494 494
495 void DidInitializeVisibleTile(); 495 void DidInitializeVisibleTile();
496 496
497 void MarkUIResourceNotEvicted(UIResourceId uid); 497 void MarkUIResourceNotEvicted(UIResourceId uid);
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
622 622
623 // Optional callback to notify of new tree activations. 623 // Optional callback to notify of new tree activations.
624 base::Closure tree_activation_callback_; 624 base::Closure tree_activation_callback_;
625 625
626 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 626 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
627 }; 627 };
628 628
629 } // namespace cc 629 } // namespace cc
630 630
631 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 631 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698