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

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

Issue 2860293002: Change cc::ElementId to be a uint64_t (Closed)
Patch Set: none Created 3 years, 7 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
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 805 matching lines...) Expand 10 before | Expand all | Expand 10 after
816 gfx::Rect viewport_rect_for_tile_priority_; 816 gfx::Rect viewport_rect_for_tile_priority_;
817 bool resourceless_software_draw_; 817 bool resourceless_software_draw_;
818 818
819 gfx::Rect viewport_damage_rect_; 819 gfx::Rect viewport_damage_rect_;
820 820
821 std::unique_ptr<MutatorHost> mutator_host_; 821 std::unique_ptr<MutatorHost> mutator_host_;
822 std::set<VideoFrameController*> video_frame_controllers_; 822 std::set<VideoFrameController*> video_frame_controllers_;
823 823
824 // Map from scroll element ID to scrollbar animation controller. 824 // Map from scroll element ID to scrollbar animation controller.
825 // There is one animation controller per pair of overlay scrollbars. 825 // There is one animation controller per pair of overlay scrollbars.
826 std::unordered_map<ElementId, 826 std::unordered_map<ElementId::Id,
827 std::unique_ptr<ScrollbarAnimationController>, 827 std::unique_ptr<ScrollbarAnimationController>>
828 ElementIdHash>
829 scrollbar_animation_controllers_; 828 scrollbar_animation_controllers_;
830 829
831 RenderingStatsInstrumentation* rendering_stats_instrumentation_; 830 RenderingStatsInstrumentation* rendering_stats_instrumentation_;
832 MicroBenchmarkControllerImpl micro_benchmark_controller_; 831 MicroBenchmarkControllerImpl micro_benchmark_controller_;
833 std::unique_ptr<SynchronousTaskGraphRunner> 832 std::unique_ptr<SynchronousTaskGraphRunner>
834 single_thread_synchronous_task_graph_runner_; 833 single_thread_synchronous_task_graph_runner_;
835 834
836 // Optional callback to notify of new tree activations. 835 // Optional callback to notify of new tree activations.
837 base::Closure tree_activation_callback_; 836 base::Closure tree_activation_callback_;
838 837
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
872 bool touchpad_and_wheel_scroll_latching_enabled_; 871 bool touchpad_and_wheel_scroll_latching_enabled_;
873 872
874 ImplThreadPhase impl_thread_phase_; 873 ImplThreadPhase impl_thread_phase_;
875 874
876 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 875 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
877 }; 876 };
878 877
879 } // namespace cc 878 } // namespace cc
880 879
881 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 880 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698