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

Side by Side 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, 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "ui/views/test/native_widget_factory.h"
6
7 #include "ui/views/mus/window_manager_connection.h"
8 #include "ui/views/test/test_platform_native_widget.h"
9 #include "ui/views/widget/native_widget_aura.h"
10
11 namespace views {
12 namespace test {
13
14 NativeWidget* CreatePlatformNativeWidgetImpl(
15 const Widget::InitParams& init_params,
16 Widget* widget,
17 uint32_t type,
18 bool* destroyed) {
19 return new TestPlatformNativeWidget<NativeWidgetAura>(
20 widget, type == kStubCapture, destroyed);
21 }
22
23 NativeWidget* CreatePlatformDesktopNativeWidgetImpl(
24 const Widget::InitParams& init_params,
25 Widget* widget,
26 bool* destroyed) {
27 return WindowManagerConnection::Get()->CreateNativeWidgetMus(
28 std::map<std::string, std::vector<uint8_t>>(), init_params, widget);
29 }
30
31 } // namespace test
32 } // namespace views
OLDNEW
« 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