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

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

Issue 2683763004: Pass MouseUp to the captured scrollbar animation controller in layer tree (Closed)
Patch Set: bokan's comment addressed Created 3 years, 10 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 | « 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 776 matching lines...) Expand 10 before | Expand all | Expand 10 after
787 gfx::Rect viewport_damage_rect_; 787 gfx::Rect viewport_damage_rect_;
788 788
789 std::unique_ptr<MutatorHost> mutator_host_; 789 std::unique_ptr<MutatorHost> mutator_host_;
790 std::set<VideoFrameController*> video_frame_controllers_; 790 std::set<VideoFrameController*> video_frame_controllers_;
791 791
792 // Map from scroll layer ID to scrollbar animation controller. 792 // Map from scroll layer ID to scrollbar animation controller.
793 // There is one animation controller per pair of overlay scrollbars. 793 // There is one animation controller per pair of overlay scrollbars.
794 std::unordered_map<int, std::unique_ptr<ScrollbarAnimationController>> 794 std::unordered_map<int, std::unique_ptr<ScrollbarAnimationController>>
795 scrollbar_animation_controllers_; 795 scrollbar_animation_controllers_;
796 796
797 ScrollbarAnimationController* captured_scrollbar_animation_controller_;
798
797 RenderingStatsInstrumentation* rendering_stats_instrumentation_; 799 RenderingStatsInstrumentation* rendering_stats_instrumentation_;
798 MicroBenchmarkControllerImpl micro_benchmark_controller_; 800 MicroBenchmarkControllerImpl micro_benchmark_controller_;
799 std::unique_ptr<SynchronousTaskGraphRunner> 801 std::unique_ptr<SynchronousTaskGraphRunner>
800 single_thread_synchronous_task_graph_runner_; 802 single_thread_synchronous_task_graph_runner_;
801 803
802 // Optional callback to notify of new tree activations. 804 // Optional callback to notify of new tree activations.
803 base::Closure tree_activation_callback_; 805 base::Closure tree_activation_callback_;
804 806
805 TaskGraphRunner* task_graph_runner_; 807 TaskGraphRunner* task_graph_runner_;
806 int id_; 808 int id_;
(...skipping 13 matching lines...) Expand all
820 822
821 std::unique_ptr<PendingTreeDurationHistogramTimer> 823 std::unique_ptr<PendingTreeDurationHistogramTimer>
822 pending_tree_duration_timer_; 824 pending_tree_duration_timer_;
823 825
824 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 826 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
825 }; 827 };
826 828
827 } // namespace cc 829 } // namespace cc
828 830
829 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 831 #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