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

Side by Side Diff: ui/views/test/native_widget_factory.h

Issue 2488393003: Changes views_aura_mus_unittests to create DesktopNativeWidgetAura (Closed)
Patch Set: remove this and fix mac 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
« no previous file with comments | « ui/views/mus/views_mus_test_suite.cc ('k') | ui/views/test/native_widget_factory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef UI_VIEWS_TEST_NATIVE_WIDGET_FACTORY_H_ 5 #ifndef UI_VIEWS_TEST_NATIVE_WIDGET_FACTORY_H_
6 #define UI_VIEWS_TEST_NATIVE_WIDGET_FACTORY_H_ 6 #define UI_VIEWS_TEST_NATIVE_WIDGET_FACTORY_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "ui/views/widget/widget.h" 10 #include "ui/views/widget/widget.h"
11 11
12 namespace views { 12 namespace views {
13 13
14 class NativeWidget; 14 class NativeWidget;
15 class Widget;
16 15
17 namespace test { 16 namespace test {
18 17
19 // Values supplied to |behavior|. 18 // Values supplied to |behavior|.
20 // NativeWidget implementation is not customized in anyway. 19 // NativeWidget implementation is not customized in anyway.
21 const uint32_t kDefault = 0u; 20 const uint32_t kDefault = 0u;
22 // Indicates capture should be mocked out and not interact with the system. 21 // Indicates capture should be mocked out and not interact with the system.
23 const uint32_t kStubCapture = 1 << 0; 22 const uint32_t kStubCapture = 1 << 0;
24 23
25 // Creates the appropriate platform specific NativeWidget implementation. 24 // Creates the appropriate platform specific NativeWidget implementation.
(...skipping 11 matching lines...) Expand all
37 // true from the destructor of the NativeWidget. 36 // true from the destructor of the NativeWidget.
38 NativeWidget* CreatePlatformDesktopNativeWidgetImpl( 37 NativeWidget* CreatePlatformDesktopNativeWidgetImpl(
39 const Widget::InitParams& init_params, 38 const Widget::InitParams& init_params,
40 Widget* widget, 39 Widget* widget,
41 bool* destroyed); 40 bool* destroyed);
42 41
43 } // namespace test 42 } // namespace test
44 } // namespace views 43 } // namespace views
45 44
46 #endif // UI_VIEWS_TEST_NATIVE_WIDGET_FACTORY_H_ 45 #endif // UI_VIEWS_TEST_NATIVE_WIDGET_FACTORY_H_
OLDNEW
« no previous file with comments | « ui/views/mus/views_mus_test_suite.cc ('k') | ui/views/test/native_widget_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698