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 #import "chrome/browser/ui/cocoa/browser_window_controller.h" | 5 #import "chrome/browser/ui/cocoa/browser_window_controller.h" |
6 | 6 |
| 7 #include <stddef.h> |
7 #import "base/mac/mac_util.h" | 8 #import "base/mac/mac_util.h" |
| 9 |
8 #include "base/mac/sdk_forward_declarations.h" | 10 #include "base/mac/sdk_forward_declarations.h" |
| 11 #include "base/macros.h" |
9 #include "base/run_loop.h" | 12 #include "base/run_loop.h" |
10 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
11 #include "chrome/app/chrome_command_ids.h" | 14 #include "chrome/app/chrome_command_ids.h" |
12 #include "chrome/browser/browser_process.h" | 15 #include "chrome/browser/browser_process.h" |
13 #include "chrome/browser/devtools/devtools_window_testing.h" | 16 #include "chrome/browser/devtools/devtools_window_testing.h" |
14 #include "chrome/browser/infobars/infobar_service.h" | 17 #include "chrome/browser/infobars/infobar_service.h" |
15 #include "chrome/browser/profiles/profile.h" | 18 #include "chrome/browser/profiles/profile.h" |
16 #include "chrome/browser/profiles/profile_manager.h" | 19 #include "chrome/browser/profiles/profile_manager.h" |
17 #include "chrome/browser/ui/bookmarks/bookmark_utils.h" | 20 #include "chrome/browser/ui/bookmarks/bookmark_utils.h" |
18 #include "chrome/browser/ui/browser.h" | 21 #include "chrome/browser/ui/browser.h" |
(...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
630 VerifyWindowControlsZOrder(); | 633 VerifyWindowControlsZOrder(); |
631 [controller() removeOverlay]; | 634 [controller() removeOverlay]; |
632 VerifyWindowControlsZOrder(); | 635 VerifyWindowControlsZOrder(); |
633 | 636 |
634 // Toggle immersive fullscreen, then verify z order. In immersive fullscreen, | 637 // Toggle immersive fullscreen, then verify z order. In immersive fullscreen, |
635 // there are no window controls. | 638 // there are no window controls. |
636 [controller() enterImmersiveFullscreen]; | 639 [controller() enterImmersiveFullscreen]; |
637 [controller() exitImmersiveFullscreen]; | 640 [controller() exitImmersiveFullscreen]; |
638 VerifyWindowControlsZOrder(); | 641 VerifyWindowControlsZOrder(); |
639 } | 642 } |
OLD | NEW |