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

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

Issue 2611773002: Removes code using mus client lib (Closed)
Patch Set: dont run on linux Created 3 years, 12 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 | « ui/views/mus/window_tree_host_mus.cc ('k') | ui/views/test/platform_test_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
deleted file mode 100644
index 91bc6b1bbf0425f5cc306d30e927fe204e13979a..0000000000000000000000000000000000000000
--- a/ui/views/test/native_widget_factory_mus.cc
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#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,
- bool* destroyed) {
- return WindowManagerConnection::Get()->CreateNativeWidgetMus(
- std::map<std::string, std::vector<uint8_t>>(), init_params, widget);
-}
-
-} // namespace test
-} // namespace views
« no previous file with comments | « ui/views/mus/window_tree_host_mus.cc ('k') | ui/views/test/platform_test_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698