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

Unified Diff: ash/mus/non_client_frame_controller.cc

Issue 2624733004: Fixes bug where NonClientFrameController wasn't registered correctly (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | no next file » | 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 58cdbf84ec832a8297e24adeaabc810a233da2a1..784bd44190c46f2660f413f5f00139240d3d47d4 100644
--- a/ash/mus/non_client_frame_controller.cc
+++ b/ash/mus/non_client_frame_controller.cc
@@ -308,6 +308,7 @@ NonClientFrameController::NonClientFrameController(
widget_, window_manager_client_, ShouldRemoveStandardFrame(*properties),
ShouldEnableImmersive(*properties));
window_ = native_widget->GetNativeView();
+ window_->SetProperty(kNonClientFrameControllerKey, this);
window_->SetProperty(kWidgetCreationTypeKey, WidgetCreationType::FOR_CLIENT);
window_->AddObserver(this);
params.native_widget = native_widget;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698