OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 // Members will become private when RenderWidgetHostViewGuest is removed. | 207 // Members will become private when RenderWidgetHostViewGuest is removed. |
208 // The model object. | 208 // The model object. |
209 RenderWidgetHostImpl* host_; | 209 RenderWidgetHostImpl* host_; |
210 | 210 |
211 // The ID for FrameSink associated with this view. | 211 // The ID for FrameSink associated with this view. |
212 cc::FrameSinkId frame_sink_id_; | 212 cc::FrameSinkId frame_sink_id_; |
213 | 213 |
214 // Surface-related state. | 214 // Surface-related state. |
215 std::unique_ptr<cc::SurfaceIdAllocator> id_allocator_; | 215 std::unique_ptr<cc::SurfaceIdAllocator> id_allocator_; |
216 std::unique_ptr<cc::SurfaceFactory> surface_factory_; | 216 std::unique_ptr<cc::SurfaceFactory> surface_factory_; |
217 cc::SurfaceId surface_id_; | 217 cc::LocalFrameId local_frame_id_; |
218 uint32_t next_surface_sequence_; | 218 uint32_t next_surface_sequence_; |
219 uint32_t last_compositor_frame_sink_id_; | 219 uint32_t last_compositor_frame_sink_id_; |
220 gfx::Size current_surface_size_; | 220 gfx::Size current_surface_size_; |
221 float current_surface_scale_factor_; | 221 float current_surface_scale_factor_; |
222 gfx::Rect last_screen_rect_; | 222 gfx::Rect last_screen_rect_; |
223 uint32_t ack_pending_count_; | 223 uint32_t ack_pending_count_; |
224 cc::ReturnedResourceArray surface_returned_resources_; | 224 cc::ReturnedResourceArray surface_returned_resources_; |
225 | 225 |
226 // frame_connector_ provides a platform abstraction. Messages | 226 // frame_connector_ provides a platform abstraction. Messages |
227 // sent through it are routed to the embedding renderer process. | 227 // sent through it are routed to the embedding renderer process. |
(...skipping 20 matching lines...) Expand all Loading... |
248 // The surface client ID of the parent RenderWidgetHostView. 0 if none. | 248 // The surface client ID of the parent RenderWidgetHostView. 0 if none. |
249 cc::FrameSinkId parent_frame_sink_id_; | 249 cc::FrameSinkId parent_frame_sink_id_; |
250 | 250 |
251 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; | 251 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; |
252 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); | 252 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); |
253 }; | 253 }; |
254 | 254 |
255 } // namespace content | 255 } // namespace content |
256 | 256 |
257 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ | 257 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ |
OLD | NEW |