| 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 982e6acfdd7d571a6e5e4ce376bb5c841c862d22..c6f3ae40fcc11aad081384075c7dbe96a157b5e7 100644
|
| --- a/content/renderer/mus/renderer_window_tree_client.h
|
| +++ b/content/renderer/mus/renderer_window_tree_client.h
|
| @@ -8,6 +8,7 @@
|
| #include "base/macros.h"
|
| #include "mojo/public/cpp/bindings/binding.h"
|
| #include "services/ui/common/types.h"
|
| +#include "services/ui/public/cpp/client_compositor_frame_sink.h"
|
| #include "services/ui/public/interfaces/window_tree.mojom.h"
|
|
|
| namespace cc {
|
| @@ -38,6 +39,10 @@ class RendererWindowTreeClient : public ui::mojom::WindowTreeClient {
|
| // nullptr if none exists.
|
| static RendererWindowTreeClient* Get(int routing_id);
|
|
|
| + const cc::LocalSurfaceId& local_surface_id() const {
|
| + return current_local_surface_id_;
|
| + }
|
| +
|
| void Bind(ui::mojom::WindowTreeClientRequest request);
|
|
|
| using CompositorFrameSinkCallback =
|
| @@ -148,6 +153,10 @@ class RendererWindowTreeClient : public ui::mojom::WindowTreeClient {
|
| bool success,
|
| uint32_t action_taken) override;
|
| void OnDragDropDone() override;
|
| + void OnSetWindowBoundsResponse(
|
| + uint32_t change_id,
|
| + const gfx::Rect& bounds,
|
| + const cc::LocalSurfaceId& local_surface_id) override;
|
| void OnChangeCompleted(uint32_t change_id, bool success) override;
|
| void RequestClose(uint32_t window_id) override;
|
| void GetWindowManager(
|
| @@ -161,6 +170,7 @@ class RendererWindowTreeClient : public ui::mojom::WindowTreeClient {
|
| gpu::GpuMemoryBufferManager* pending_gpu_memory_buffer_manager_ = nullptr;
|
| CompositorFrameSinkCallback pending_compositor_frame_sink_callback_;
|
| ui::mojom::WindowTreePtr tree_;
|
| + cc::LocalSurfaceId current_local_surface_id_;
|
| mojo::Binding<ui::mojom::WindowTreeClient> binding_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(RendererWindowTreeClient);
|
|
|