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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/views/test/native_widget_factory.h" 5 #include "ui/views/test/native_widget_factory.h"
6 6
7 #include "ui/views/mus/window_manager_connection.h" 7 #include "ui/views/mus/mus_client.h"
8 8
9 namespace views { 9 namespace views {
10 namespace test { 10 namespace test {
11 11
12 NativeWidget* CreatePlatformDesktopNativeWidgetImpl( 12 NativeWidget* CreatePlatformDesktopNativeWidgetImpl(
13 const Widget::InitParams& init_params, 13 const Widget::InitParams& init_params,
14 Widget* widget, 14 Widget* widget,
15 bool* destroyed) { 15 bool* destroyed) {
16 return WindowManagerConnection::Get()->CreateNativeWidgetMus( 16 return MusClient::Get()->CreateNativeWidget(init_params, widget);
17 std::map<std::string, std::vector<uint8_t>>(), init_params, widget);
18 } 17 }
19 18
20 } // namespace test 19 } // namespace test
21 } // namespace views 20 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698