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

Unified Diff: ui/views/test/native_widget_factory_aura_mus.cc

Issue 2471033005: Adds DesktopWindowTreeHostMus (Closed)
Patch Set: fix Created 4 years, 1 month 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/test/native_widget_factory_aura_mus.cc
diff --git a/ui/views/test/native_widget_factory_mus.cc b/ui/views/test/native_widget_factory_aura_mus.cc
similarity index 69%
copy from ui/views/test/native_widget_factory_mus.cc
copy to ui/views/test/native_widget_factory_aura_mus.cc
index 9469c0c4a443dc56359312422a04a15bcab6d670..33b7a6163dbc9d031c0e8010e20a20d8a4133727 100644
--- a/ui/views/test/native_widget_factory_mus.cc
+++ b/ui/views/test/native_widget_factory_aura_mus.cc
@@ -4,7 +4,7 @@
#include "ui/views/test/native_widget_factory.h"
-#include "ui/views/mus/window_manager_connection.h"
+#include "ui/views/mus/mus_client.h"
namespace views {
namespace test {
@@ -13,8 +13,7 @@ NativeWidget* CreatePlatformDesktopNativeWidgetImpl(
const Widget::InitParams& init_params,
Widget* widget,
bool* destroyed) {
- return WindowManagerConnection::Get()->CreateNativeWidgetMus(
- std::map<std::string, std::vector<uint8_t>>(), init_params, widget);
+ return MusClient::Get()->CreateNativeWidget(init_params, widget);
}
} // namespace test

Powered by Google App Engine
This is Rietveld 408576698