| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/browser/ui/ash/chrome_shell_delegate.h" | 5 #include "chrome/browser/ui/ash/chrome_shell_delegate.h" |
| 6 | 6 |
| 7 #include "apps/native_app_window.h" | |
| 8 #include "apps/shell_window.h" | 7 #include "apps/shell_window.h" |
| 8 #include "apps/ui/native_app_window.h" |
| 9 #include "ash/ash_switches.h" | 9 #include "ash/ash_switches.h" |
| 10 #include "ash/shell.h" | 10 #include "ash/shell.h" |
| 11 #include "ash/shell_delegate.h" | 11 #include "ash/shell_delegate.h" |
| 12 #include "ash/wm/window_properties.h" | 12 #include "ash/wm/window_properties.h" |
| 13 #include "ash/wm/window_state.h" | 13 #include "ash/wm/window_state.h" |
| 14 #include "base/command_line.h" | 14 #include "base/command_line.h" |
| 15 #include "chrome/browser/apps/app_browsertest_util.h" | 15 #include "chrome/browser/apps/app_browsertest_util.h" |
| 16 #include "chrome/browser/ui/browser.h" | 16 #include "chrome/browser/ui/browser.h" |
| 17 #include "chrome/browser/ui/browser_commands.h" | 17 #include "chrome/browser/ui/browser_commands.h" |
| 18 #include "chrome/browser/ui/browser_finder.h" | 18 #include "chrome/browser/ui/browser_finder.h" |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 | 182 |
| 183 shell_delegate->ToggleFullscreen(); | 183 shell_delegate->ToggleFullscreen(); |
| 184 EXPECT_TRUE(app_window->IsFullscreen()); | 184 EXPECT_TRUE(app_window->IsFullscreen()); |
| 185 | 185 |
| 186 shell_delegate->ToggleFullscreen(); | 186 shell_delegate->ToggleFullscreen(); |
| 187 EXPECT_FALSE(app_window->IsMaximized()); | 187 EXPECT_FALSE(app_window->IsMaximized()); |
| 188 EXPECT_FALSE(app_window->IsFullscreen()); | 188 EXPECT_FALSE(app_window->IsFullscreen()); |
| 189 | 189 |
| 190 CloseShellWindow(shell_window); | 190 CloseShellWindow(shell_window); |
| 191 } | 191 } |
| OLD | NEW |