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

Unified Diff: ui/aura/mus/window_port_mus.h

Issue 2875753002: Implement aura::WindowPortMus::CreateCompositorFrameSink() (Closed)
Patch Set: Update 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
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 4af5ba6564360708e9bfc687c0f4028d6ec4d467..489e9a44ac3b05c6def951657976b455754625eb 100644
--- a/ui/aura/mus/window_port_mus.h
+++ b/ui/aura/mus/window_port_mus.h
@@ -24,6 +24,10 @@
#include "ui/gfx/geometry/rect.h"
#include "ui/platform_window/mojo/text_input_state.mojom.h"
+namespace viz {
+class ClientCompositorFrameSink;
+}
+
namespace aura {
class ClientSurfaceEmbedder;
@@ -219,8 +223,7 @@ class AURA_EXPORT WindowPortMus : public WindowPort, public WindowMus {
void SetFrameSinkIdFromServer(const cc::FrameSinkId& frame_sink_id) override;
const cc::LocalSurfaceId& GetOrAllocateLocalSurfaceId(
const gfx::Size& surface_size) override;
- void SetPrimarySurfaceInfo(const cc::SurfaceInfo& surface_info) override;
- void SetFallbackSurfaceInfo(const cc::SurfaceInfo& surface_info) override;
+ void SetSurfaceInfoFromServer(const cc::SurfaceInfo& surface_info) override;
void DestroyFromServer() override;
void AddTransientChildFromServer(WindowMus* child) override;
void RemoveTransientChildFromServer(WindowMus* child) override;
@@ -279,6 +282,8 @@ class AURA_EXPORT WindowPortMus : public WindowPort, public WindowMus {
ui::CursorData cursor_;
+ base::WeakPtr<viz::ClientCompositorFrameSink> frame_sink_for_local_window_;
+
DISALLOW_COPY_AND_ASSIGN(WindowPortMus);
};

Powered by Google App Engine
This is Rietveld 408576698