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

Unified Diff: ash/mus/non_client_frame_controller.cc

Issue 2194893002: services/ui: Revert CLs that broke Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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
« no previous file with comments | « ash/mus/bridge/wm_root_window_controller_mus.cc ('k') | ash/touch_hud/mus/touch_hud_application.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/non_client_frame_controller.cc
diff --git a/ash/mus/non_client_frame_controller.cc b/ash/mus/non_client_frame_controller.cc
index 913ba2b2ae9a7b1cb62a7d198182ad064877cee6..9d25d0248288338cdd29d6a240e875870187b5d7 100644
--- a/ash/mus/non_client_frame_controller.cc
+++ b/ash/mus/non_client_frame_controller.cc
@@ -112,9 +112,13 @@ class EmptyDraggableNonClientFrameView : public views::NonClientFrameView {
class WmNativeWidgetMus : public views::NativeWidgetMus {
public:
WmNativeWidgetMus(views::internal::NativeWidgetDelegate* delegate,
+ shell::Connector* connector,
ui::Window* window,
ui::WindowManagerClient* window_manager_client)
- : NativeWidgetMus(delegate, window, ui::mojom::SurfaceType::UNDERLAY),
+ : NativeWidgetMus(delegate,
+ connector,
+ window,
+ ui::mojom::SurfaceType::UNDERLAY),
window_manager_client_(window_manager_client) {}
~WmNativeWidgetMus() override {}
@@ -234,7 +238,7 @@ NonClientFrameController::NonClientFrameController(
params.activatable = views::Widget::InitParams::ACTIVATABLE_NO;
params.delegate = this;
params.native_widget =
- new WmNativeWidgetMus(widget_, window, window_manager_client);
+ new WmNativeWidgetMus(widget_, connector, window, window_manager_client);
widget_->Init(params);
parent->AddChild(window);
« no previous file with comments | « ash/mus/bridge/wm_root_window_controller_mus.cc ('k') | ash/touch_hud/mus/touch_hud_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698