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

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

Issue 2488393003: Changes views_aura_mus_unittests to create DesktopNativeWidgetAura (Closed)
Patch Set: git add 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_mus.cc
diff --git a/ui/views/test/native_widget_factory_mus.cc b/ui/views/test/native_widget_factory_mus.cc
index 9469c0c4a443dc56359312422a04a15bcab6d670..91bc6b1bbf0425f5cc306d30e927fe204e13979a 100644
--- a/ui/views/test/native_widget_factory_mus.cc
+++ b/ui/views/test/native_widget_factory_mus.cc
@@ -5,10 +5,21 @@
#include "ui/views/test/native_widget_factory.h"
#include "ui/views/mus/window_manager_connection.h"
+#include "ui/views/test/test_platform_native_widget.h"
+#include "ui/views/widget/native_widget_aura.h"
namespace views {
namespace test {
+NativeWidget* CreatePlatformNativeWidgetImpl(
+ const Widget::InitParams& init_params,
+ Widget* widget,
+ uint32_t type,
+ bool* destroyed) {
+ return new TestPlatformNativeWidget<NativeWidgetAura>(
+ widget, type == kStubCapture, destroyed);
+}
+
NativeWidget* CreatePlatformDesktopNativeWidgetImpl(
const Widget::InitParams& init_params,
Widget* widget,

Powered by Google App Engine
This is Rietveld 408576698