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

Unified Diff: content/renderer/mus/renderer_window_tree_client.h

Issue 2886873002: Only send the FrameSinkId to client when it is necessary (Closed)
Patch Set: Address review issues. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/renderer/mus/renderer_window_tree_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/mus/renderer_window_tree_client.h
diff --git a/content/renderer/mus/renderer_window_tree_client.h b/content/renderer/mus/renderer_window_tree_client.h
index e4514fb0419b766ca1640b1d0d5e4fab5b7f5122..19c812c63b5fab3caa173665f3770800fe09b112 100644
--- a/content/renderer/mus/renderer_window_tree_client.h
+++ b/content/renderer/mus/renderer_window_tree_client.h
@@ -71,7 +71,6 @@ class RendererWindowTreeClient : public ui::mojom::WindowTreeClient {
int64_t display_id,
ui::Id focused_window_id,
bool drawn,
- const cc::FrameSinkId& frame_sink_id,
const base::Optional<cc::LocalSurfaceId>& local_surface_id) override;
void OnEmbeddedAppDisconnected(ui::Id window_id) override;
void OnUnembed(ui::Id window_id) override;
@@ -84,7 +83,6 @@ class RendererWindowTreeClient : public ui::mojom::WindowTreeClient {
ui::mojom::WindowDataPtr data,
int64_t display_id,
bool drawn,
- const cc::FrameSinkId& frame_sink_id,
const base::Optional<cc::LocalSurfaceId>& local_surface_id) override;
void OnWindowBoundsChanged(
ui::Id window_id,
@@ -160,7 +158,6 @@ class RendererWindowTreeClient : public ui::mojom::WindowTreeClient {
const int routing_id_;
ui::Id root_window_id_;
- cc::FrameSinkId frame_sink_id_;
scoped_refptr<cc::ContextProvider> pending_context_provider_;
gpu::GpuMemoryBufferManager* pending_gpu_memory_buffer_manager_ = nullptr;
CompositorFrameSinkCallback pending_compositor_frame_sink_callback_;
« no previous file with comments | « no previous file | content/renderer/mus/renderer_window_tree_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698