diff options
Diffstat (limited to 'ui/views/test/native_widget_factory_mus.cc')
-rw-r--r-- | ui/views/test/native_widget_factory_mus.cc | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/ui/views/test/native_widget_factory_mus.cc b/ui/views/test/native_widget_factory_mus.cc new file mode 100644 index 0000000..9469c0c --- /dev/null +++ b/ui/views/test/native_widget_factory_mus.cc @@ -0,0 +1,21 @@ +// 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" + +namespace views { +namespace test { + +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 |