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/fullscreen/fullscreen_controller_test.h" | 5 #include "chrome/browser/ui/fullscreen/fullscreen_controller_test.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "chrome/browser/ui/browser.h" | 8 #include "chrome/browser/ui/browser.h" |
9 #include "chrome/browser/ui/browser_commands.h" | 9 #include "chrome/browser/ui/browser_commands.h" |
10 #include "chrome/browser/ui/browser_window.h" | 10 #include "chrome/browser/ui/browser_window.h" |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 observer.Wait(); | 91 observer.Wait(); |
92 } | 92 } |
93 | 93 |
94 void FullscreenControllerTest::Reload() { | 94 void FullscreenControllerTest::Reload() { |
95 content::TestNavigationObserver observer( | 95 content::TestNavigationObserver observer( |
96 browser()->tab_strip_model()->GetActiveWebContents(), 1); | 96 browser()->tab_strip_model()->GetActiveWebContents(), 1); |
97 chrome::Reload(browser(), CURRENT_TAB); | 97 chrome::Reload(browser(), CURRENT_TAB); |
98 observer.Wait(); | 98 observer.Wait(); |
99 } | 99 } |
100 | 100 |
| 101 void FullscreenControllerTest::SetPrivilegedFullscreen(bool is_privileged) { |
| 102 browser()->fullscreen_controller()-> |
| 103 SetPrivilegedFullscreenForTesting(is_privileged); |
| 104 } |
OLD | NEW |