Chromium Code Reviews| Index: ui/aura/mus/window_port_mus.h |
| diff --git a/ui/aura/mus/window_port_mus.h b/ui/aura/mus/window_port_mus.h |
| index 4b217023c5784aba7d2907ba5db25d9483a44b3d..751f55da7f6f3ee983f6d985596f6d53d056f10b 100644 |
| --- a/ui/aura/mus/window_port_mus.h |
| +++ b/ui/aura/mus/window_port_mus.h |
| @@ -12,7 +12,9 @@ |
| #include "base/logging.h" |
| #include "base/macros.h" |
| +#include "base/memory/weak_ptr.h" |
| #include "cc/surfaces/surface_info.h" |
| +#include "cc/surfaces/surface_reference_factory.h" |
| #include "services/ui/public/cpp/client_compositor_frame_sink.h" |
| #include "services/ui/public/interfaces/cursor/cursor.mojom.h" |
| #include "services/ui/public/interfaces/window_tree.mojom.h" |
| @@ -262,6 +264,10 @@ class AURA_EXPORT WindowPortMus : public WindowPort, public WindowMus { |
| void UpdatePrimarySurfaceInfo(); |
| void UpdateClientSurfaceEmbedder(); |
| + // Called from ClientCompositorFrameSink. |
| + void OnSurfaceChanged(const cc::LocalSurfaceId& local_surface_id, |
|
Fady Samuel
2017/05/18 16:48:51
Delete this.
Peng
2017/05/18 19:37:59
Done.
|
| + const gfx::Size& surface_size); |
| + |
| WindowTreeClient* window_tree_client_; |
| Window* window_ = nullptr; |
| @@ -283,6 +289,10 @@ class AURA_EXPORT WindowPortMus : public WindowPort, public WindowMus { |
| ui::CursorData cursor_; |
| + scoped_refptr<cc::SurfaceReferenceFactory> ref_factory_; |
|
Fady Samuel
2017/05/18 16:48:51
Delete this.
Peng
2017/05/18 19:37:59
Done.
|
| + |
| + base::WeakPtrFactory<WindowPortMus> weak_factory_; |
|
Fady Samuel
2017/05/18 16:48:51
Delete this.
Peng
2017/05/18 19:37:59
Done.
|
| + |
| DISALLOW_COPY_AND_ASSIGN(WindowPortMus); |
| }; |