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

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

Issue 2467023003: Revert "Touchpad scroll latching enabled for Mac behind flag." (Closed)
Patch Set: Created 4 years, 1 month 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 | « 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 <stddef.h> 8 #include <stddef.h>
9 9
10 #include <bitset> 10 #include <bitset>
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 585
586 // Returns true if a scroll offset animation is created and false if we scroll 586 // Returns true if a scroll offset animation is created and false if we scroll
587 // by the desired amount without an animation. 587 // by the desired amount without an animation.
588 bool ScrollAnimationCreate(ScrollNode* scroll_node, 588 bool ScrollAnimationCreate(ScrollNode* scroll_node,
589 const gfx::Vector2dF& scroll_amount, 589 const gfx::Vector2dF& scroll_amount,
590 base::TimeDelta delayed_by); 590 base::TimeDelta delayed_by);
591 591
592 void SetLayerTreeMutator(std::unique_ptr<LayerTreeMutator> mutator); 592 void SetLayerTreeMutator(std::unique_ptr<LayerTreeMutator> mutator);
593 LayerTreeMutator* mutator() { return mutator_.get(); } 593 LayerTreeMutator* mutator() { return mutator_.get(); }
594 594
595 void ClearCurrentlyScrollingLayerForTesting() {
596 ClearCurrentlyScrollingLayer();
597 }
598
599 LayerImpl* ViewportMainScrollLayer(); 595 LayerImpl* ViewportMainScrollLayer();
600 596
601 protected: 597 protected:
602 LayerTreeHostImpl( 598 LayerTreeHostImpl(
603 const LayerTreeSettings& settings, 599 const LayerTreeSettings& settings,
604 LayerTreeHostImplClient* client, 600 LayerTreeHostImplClient* client,
605 TaskRunnerProvider* task_runner_provider, 601 TaskRunnerProvider* task_runner_provider,
606 RenderingStatsInstrumentation* rendering_stats_instrumentation, 602 RenderingStatsInstrumentation* rendering_stats_instrumentation,
607 TaskGraphRunner* task_graph_runner, 603 TaskGraphRunner* task_graph_runner,
608 std::unique_ptr<AnimationHost> animation_host, 604 std::unique_ptr<AnimationHost> animation_host,
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
830 826
831 std::unique_ptr<PendingTreeDurationHistogramTimer> 827 std::unique_ptr<PendingTreeDurationHistogramTimer>
832 pending_tree_duration_timer_; 828 pending_tree_duration_timer_;
833 829
834 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 830 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
835 }; 831 };
836 832
837 } // namespace cc 833 } // namespace cc
838 834
839 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 835 #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