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

Side by Side Diff: content/browser/frame_host/render_widget_host_view_child_frame.h

Issue 2661543002: Rename LocalFrameId to LocalSurfaceId (Closed)
Patch Set: c 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
OLDNEW
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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 // Members will become private when RenderWidgetHostViewGuest is removed. 225 // Members will become private when RenderWidgetHostViewGuest is removed.
226 // The model object. 226 // The model object.
227 RenderWidgetHostImpl* host_; 227 RenderWidgetHostImpl* host_;
228 228
229 // The ID for FrameSink associated with this view. 229 // The ID for FrameSink associated with this view.
230 cc::FrameSinkId frame_sink_id_; 230 cc::FrameSinkId frame_sink_id_;
231 231
232 // Surface-related state. 232 // Surface-related state.
233 std::unique_ptr<cc::SurfaceIdAllocator> id_allocator_; 233 std::unique_ptr<cc::SurfaceIdAllocator> id_allocator_;
234 std::unique_ptr<cc::SurfaceFactory> surface_factory_; 234 std::unique_ptr<cc::SurfaceFactory> surface_factory_;
235 cc::LocalFrameId local_frame_id_; 235 cc::LocalSurfaceId local_surface_id_;
236 uint32_t next_surface_sequence_; 236 uint32_t next_surface_sequence_;
237 uint32_t last_compositor_frame_sink_id_; 237 uint32_t last_compositor_frame_sink_id_;
238 gfx::Size current_surface_size_; 238 gfx::Size current_surface_size_;
239 float current_surface_scale_factor_; 239 float current_surface_scale_factor_;
240 gfx::Rect last_screen_rect_; 240 gfx::Rect last_screen_rect_;
241 uint32_t ack_pending_count_; 241 uint32_t ack_pending_count_;
242 cc::ReturnedResourceArray surface_returned_resources_; 242 cc::ReturnedResourceArray surface_returned_resources_;
243 243
244 // frame_connector_ provides a platform abstraction. Messages 244 // frame_connector_ provides a platform abstraction. Messages
245 // sent through it are routed to the embedding renderer process. 245 // sent through it are routed to the embedding renderer process.
(...skipping 24 matching lines...) Expand all
270 // The surface client ID of the parent RenderWidgetHostView. 0 if none. 270 // The surface client ID of the parent RenderWidgetHostView. 0 if none.
271 cc::FrameSinkId parent_frame_sink_id_; 271 cc::FrameSinkId parent_frame_sink_id_;
272 272
273 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; 273 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_;
274 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); 274 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame);
275 }; 275 };
276 276
277 } // namespace content 277 } // namespace content
278 278
279 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 279 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
OLDNEW
« no previous file with comments | « components/exo/surface.cc ('k') | content/browser/frame_host/render_widget_host_view_child_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698