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