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

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

Issue 2577963006: Revert of Converts chrome to aura-mus (Closed)
Patch Set: Created 4 years 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 | « ui/aura/mus/focus_synchronizer.cc ('k') | ui/views/mus/mus_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/desktop_window_tree_host_mus.cc
diff --git a/ui/views/mus/desktop_window_tree_host_mus.cc b/ui/views/mus/desktop_window_tree_host_mus.cc
index c3097bd499666b4fe677a99dc499a001b7568652..12c9e7fd24c77fe6970f50b2b14516c6849938a4 100644
--- a/ui/views/mus/desktop_window_tree_host_mus.cc
+++ b/ui/views/mus/desktop_window_tree_host_mus.cc
@@ -180,11 +180,6 @@
close_widget_factory_(this) {
aura::Env::GetInstance()->AddObserver(this);
MusClient::Get()->AddObserver(this);
- // DesktopNativeWidgetAura registers the association between |content_window_|
- // and Widget, but code may also want to go from the root (window()) to the
- // Widget. This call enables that.
- NativeWidgetAura::RegisterNativeWidgetForWindow(desktop_native_widget_aura,
- window());
// TODO: use display id and bounds if available, likely need to pass in
// InitParams for that.
}
« no previous file with comments | « ui/aura/mus/focus_synchronizer.cc ('k') | ui/views/mus/mus_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698