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

Unified Diff: ui/views/mus/native_widget_mus.cc

Issue 2429173005: Mus+Ash: Replace (Server)WindowSurface with (Server)WindowCompositorFrameSink (Closed)
Patch Set: ui::CompositorFrameSink => ui::WindowCompositorFrameSink Created 4 years, 2 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/views/mus/native_widget_mus.cc
diff --git a/ui/views/mus/native_widget_mus.cc b/ui/views/mus/native_widget_mus.cc
index 9bfd9a5a90565ce1948a3ad462171ab01b83bebd..45b527641880d8aeaffcbb77b51d5feaf28a9ad6 100644
--- a/ui/views/mus/native_widget_mus.cc
+++ b/ui/views/mus/native_widget_mus.cc
@@ -530,13 +530,14 @@ class NativeWidgetMus::MusCaptureClient
////////////////////////////////////////////////////////////////////////////////
// NativeWidgetMus, public:
-NativeWidgetMus::NativeWidgetMus(internal::NativeWidgetDelegate* delegate,
- ui::Window* window,
- ui::mojom::SurfaceType surface_type)
+NativeWidgetMus::NativeWidgetMus(
+ internal::NativeWidgetDelegate* delegate,
+ ui::Window* window,
+ ui::mojom::CompositorFrameSinkType compositor_frame_sink_type)
: window_(window),
last_cursor_(ui::mojom::Cursor::CURSOR_NULL),
native_widget_delegate_(delegate),
- surface_type_(surface_type),
+ compositor_frame_sink_type_(compositor_frame_sink_type),
show_state_before_fullscreen_(ui::mojom::ShowState::DEFAULT),
ownership_(Widget::InitParams::NATIVE_WIDGET_OWNS_WIDGET),
content_(new aura::Window(this)),

Powered by Google App Engine
This is Rietveld 408576698