OLD | NEW |
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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 | 219 |
220 struct CC_EXPORT FrameData { | 220 struct CC_EXPORT FrameData { |
221 FrameData(); | 221 FrameData(); |
222 ~FrameData(); | 222 ~FrameData(); |
223 void AsValueInto(base::trace_event::TracedValue* value) const; | 223 void AsValueInto(base::trace_event::TracedValue* value) const; |
224 | 224 |
225 std::vector<SurfaceId> embedded_surfaces; | 225 std::vector<SurfaceId> embedded_surfaces; |
226 std::vector<gfx::Rect> occluding_screen_space_rects; | 226 std::vector<gfx::Rect> occluding_screen_space_rects; |
227 std::vector<gfx::Rect> non_occluding_screen_space_rects; | 227 std::vector<gfx::Rect> non_occluding_screen_space_rects; |
228 RenderPassList render_passes; | 228 RenderPassList render_passes; |
229 const LayerImplList* render_surface_layer_list; | 229 const RenderSurfaceList* render_surface_list; |
230 LayerImplList will_draw_layers; | 230 LayerImplList will_draw_layers; |
231 bool has_no_damage; | 231 bool has_no_damage; |
232 bool may_contain_video; | 232 bool may_contain_video; |
233 BeginFrameAck begin_frame_ack; | 233 BeginFrameAck begin_frame_ack; |
234 | 234 |
235 private: | 235 private: |
236 DISALLOW_COPY_AND_ASSIGN(FrameData); | 236 DISALLOW_COPY_AND_ASSIGN(FrameData); |
237 }; | 237 }; |
238 | 238 |
239 virtual void DidSendBeginMainFrame() {} | 239 virtual void DidSendBeginMainFrame() {} |
(...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
869 bool has_scrolled_by_touch_; | 869 bool has_scrolled_by_touch_; |
870 | 870 |
871 bool touchpad_and_wheel_scroll_latching_enabled_; | 871 bool touchpad_and_wheel_scroll_latching_enabled_; |
872 | 872 |
873 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 873 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
874 }; | 874 }; |
875 | 875 |
876 } // namespace cc | 876 } // namespace cc |
877 | 877 |
878 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 878 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
OLD | NEW |