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

Side by Side Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 2728183002: RendererCompositorFrameSink should handle local surface id allocation (Closed)
Patch Set: rebase Created 3 years, 9 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 889 matching lines...) Expand 10 before | Expand all | Expand 10 after
900 // drawn after a navigation to a new page has already committed. This is 900 // drawn after a navigation to a new page has already committed. This is
901 // a no-op for non-top-level RenderWidgets, as that should always be zero. 901 // a no-op for non-top-level RenderWidgets, as that should always be zero.
902 // TODO(kenrb, fsamuel): We should use SurfaceIDs for this purpose when they 902 // TODO(kenrb, fsamuel): We should use SurfaceIDs for this purpose when they
903 // are available in the renderer process. See https://crbug.com/695579. 903 // are available in the renderer process. See https://crbug.com/695579.
904 uint32_t current_content_source_id_; 904 uint32_t current_content_source_id_;
905 905
906 #if defined(OS_MACOSX) 906 #if defined(OS_MACOSX)
907 std::unique_ptr<device::PowerSaveBlocker> power_save_blocker_; 907 std::unique_ptr<device::PowerSaveBlocker> power_save_blocker_;
908 #endif 908 #endif
909 909
910 cc::LocalSurfaceId last_local_surface_id_;
911 gfx::Size last_frame_size_;
912 float last_device_scale_factor_;
913
910 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 914 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
911 915
912 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 916 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
913 }; 917 };
914 918
915 } // namespace content 919 } // namespace content
916 920
917 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 921 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/delegated_frame_host.cc ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698