OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/widget/native_widget_mac.h" | 5 #include "ui/views/widget/native_widget_mac.h" |
6 | 6 |
7 #import <Cocoa/Cocoa.h> | 7 #import <Cocoa/Cocoa.h> |
8 | 8 |
9 #import "base/mac/scoped_nsobject.h" | 9 #import "base/mac/scoped_nsobject.h" |
| 10 #include "base/macros.h" |
10 #import "ui/base/test/windowed_nsnotification_observer.h" | 11 #import "ui/base/test/windowed_nsnotification_observer.h" |
11 #include "ui/views/test/test_widget_observer.h" | 12 #include "ui/views/test/test_widget_observer.h" |
12 #include "ui/views/test/widget_test.h" | 13 #include "ui/views/test/widget_test.h" |
13 | 14 |
14 namespace views { | 15 namespace views { |
15 namespace test { | 16 namespace test { |
16 | 17 |
17 // Tests for NativeWidgetMac that rely on global window manager state, and can | 18 // Tests for NativeWidgetMac that rely on global window manager state, and can |
18 // not be parallelized. | 19 // not be parallelized. |
19 class NativeWidgetMacInteractiveUITest | 20 class NativeWidgetMacInteractiveUITest |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 | 132 |
132 widget->CloseNow(); | 133 widget->CloseNow(); |
133 } | 134 } |
134 | 135 |
135 INSTANTIATE_TEST_CASE_P(NativeWidgetMacInteractiveUITestInstance, | 136 INSTANTIATE_TEST_CASE_P(NativeWidgetMacInteractiveUITestInstance, |
136 NativeWidgetMacInteractiveUITest, | 137 NativeWidgetMacInteractiveUITest, |
137 ::testing::Bool()); | 138 ::testing::Bool()); |
138 | 139 |
139 } // namespace test | 140 } // namespace test |
140 } // namespace views | 141 } // namespace views |
OLD | NEW |