| 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 b7a933bf1d1cf27e7d975b1e6eb4d83e899d9f0f..fc6f477aa9ddfb32a840ab15270febc037b26172 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"
|
| @@ -270,6 +272,9 @@ class AURA_EXPORT WindowPortMus : public WindowPort, public WindowMus {
|
| void UpdatePrimarySurfaceInfo();
|
| void UpdateClientSurfaceEmbedder();
|
|
|
| + void OnSurfaceChanged(const cc::SurfaceId& surface_id,
|
| + const gfx::Size& surface_size);
|
| +
|
| WindowTreeClient* window_tree_client_;
|
|
|
| Window* window_ = nullptr;
|
| @@ -292,6 +297,10 @@ class AURA_EXPORT WindowPortMus : public WindowPort, public WindowMus {
|
|
|
| ui::CursorData cursor_;
|
|
|
| + scoped_refptr<cc::SurfaceReferenceFactory> ref_factory_;
|
| +
|
| + base::WeakPtrFactory<WindowPortMus> weak_factory_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(WindowPortMus);
|
| };
|
|
|
|
|