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 "apps/ui/native_app_window.h" | |
6 #include "chrome/browser/apps/app_browsertest_util.h" | 5 #include "chrome/browser/apps/app_browsertest_util.h" |
| 6 #include "extensions/browser/app_window/native_app_window.h" |
7 | 7 |
8 using extensions::PlatformAppBrowserTest; | 8 using extensions::PlatformAppBrowserTest; |
9 using extensions::Extension; | 9 using extensions::Extension; |
10 | 10 |
11 namespace apps { | 11 namespace apps { |
12 | 12 |
13 namespace { | 13 namespace { |
14 | 14 |
15 class AppWindowTest : public PlatformAppBrowserTest { | 15 class AppWindowTest : public PlatformAppBrowserTest { |
16 protected: | 16 protected: |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 EXPECT_FALSE(window->GetBaseWindow()->IsAlwaysOnTop()); | 181 EXPECT_FALSE(window->GetBaseWindow()->IsAlwaysOnTop()); |
182 | 182 |
183 // Ensure that always-on-top remains disabled. | 183 // Ensure that always-on-top remains disabled. |
184 window->Restore(); | 184 window->Restore(); |
185 EXPECT_FALSE(window->GetBaseWindow()->IsAlwaysOnTop()); | 185 EXPECT_FALSE(window->GetBaseWindow()->IsAlwaysOnTop()); |
186 | 186 |
187 CloseAppWindow(window); | 187 CloseAppWindow(window); |
188 } | 188 } |
189 | 189 |
190 } // namespace apps | 190 } // namespace apps |
OLD | NEW |