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

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

Issue 30793002: cc: Do not allow gesture-scrolling 'overflow[-{x|y}]:hidden' layers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: needs-commit 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 | « cc/layers/layer_unittest.cc ('k') | 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 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 472
473 void AnimateScrollbarsRecursive(LayerImpl* layer, 473 void AnimateScrollbarsRecursive(LayerImpl* layer,
474 base::TimeTicks time); 474 base::TimeTicks time);
475 475
476 void UpdateCurrentFrameTime(base::TimeTicks* ticks, base::Time* now) const; 476 void UpdateCurrentFrameTime(base::TimeTicks* ticks, base::Time* now) const;
477 477
478 LayerImpl* FindScrollLayerForDeviceViewportPoint( 478 LayerImpl* FindScrollLayerForDeviceViewportPoint(
479 gfx::PointF device_viewport_point, 479 gfx::PointF device_viewport_point,
480 InputHandler::ScrollInputType type, 480 InputHandler::ScrollInputType type,
481 LayerImpl* layer_hit_by_point, 481 LayerImpl* layer_hit_by_point,
482 bool* scroll_on_main_thread); 482 bool* scroll_on_main_thread) const;
483 float DeviceSpaceDistanceToLayer(gfx::PointF device_viewport_point, 483 float DeviceSpaceDistanceToLayer(gfx::PointF device_viewport_point,
484 LayerImpl* layer_impl); 484 LayerImpl* layer_impl);
485 void StartScrollbarAnimationRecursive(LayerImpl* layer, base::TimeTicks time); 485 void StartScrollbarAnimationRecursive(LayerImpl* layer, base::TimeTicks time);
486 void SetManagedMemoryPolicy(const ManagedMemoryPolicy& policy, 486 void SetManagedMemoryPolicy(const ManagedMemoryPolicy& policy,
487 bool zero_budget); 487 bool zero_budget);
488 void EnforceManagedMemoryPolicy(const ManagedMemoryPolicy& policy); 488 void EnforceManagedMemoryPolicy(const ManagedMemoryPolicy& policy);
489 489
490 void DidInitializeVisibleTile(); 490 void DidInitializeVisibleTile();
491 491
492 void MarkUIResourceNotEvicted(UIResourceId uid); 492 void MarkUIResourceNotEvicted(UIResourceId uid);
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
619 619
620 // Optional callback to notify of new tree activations. 620 // Optional callback to notify of new tree activations.
621 base::Closure tree_activation_callback_; 621 base::Closure tree_activation_callback_;
622 622
623 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 623 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
624 }; 624 };
625 625
626 } // namespace cc 626 } // namespace cc
627 627
628 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 628 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layers/layer_unittest.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698