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

Unified Diff: ash/mus/bridge/wm_root_window_controller_mus.cc

Issue 2613793002: Removes/promotes functions from WmWindowMus to WmWindowAura (Closed)
Patch Set: move WmWindowAuraTestApi to ash/test 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 | « ash/mus/BUILD.gn ('k') | ash/mus/bridge/wm_shell_mus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/bridge/wm_root_window_controller_mus.cc
diff --git a/ash/mus/bridge/wm_root_window_controller_mus.cc b/ash/mus/bridge/wm_root_window_controller_mus.cc
index e0497d8c1ac2f62ae98f040e026dea2a7be28bd2..eedb2eb1ef8736f89821f72ed3e05a09514f287c 100644
--- a/ash/mus/bridge/wm_root_window_controller_mus.cc
+++ b/ash/mus/bridge/wm_root_window_controller_mus.cc
@@ -14,7 +14,6 @@
#include "ui/aura/window.h"
#include "ui/aura/window_property.h"
#include "ui/display/display.h"
-#include "ui/views/widget/native_widget_aura.h"
#include "ui/views/widget/widget.h"
DECLARE_WINDOW_PROPERTY_TYPE(ash::mus::WmRootWindowControllerMus*);
@@ -103,11 +102,6 @@ void WmRootWindowControllerMus::ConfigureWidgetInitParamsForContainer(
WmWindowMus::Get(root_window_controller_->root())
->GetChildByShellWindowId(shell_container_id));
DCHECK(init_params->parent);
- views::NativeWidgetAura* native_widget_aura =
- new views::NativeWidgetAura(widget);
- init_params->native_widget = native_widget_aura;
- WmWindowMus::Get(native_widget_aura->GetNativeView())
- ->set_widget(widget, WmWindowMus::WidgetCreationType::INTERNAL);
}
WmWindow* WmRootWindowControllerMus::FindEventTarget(
« no previous file with comments | « ash/mus/BUILD.gn ('k') | ash/mus/bridge/wm_shell_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698