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_controller_test.h" | 5 #include "chrome/browser/ui/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_window.h" | 9 #include "chrome/browser/ui/browser_window.h" |
10 #include "chrome/browser/ui/fullscreen_controller.h" | 10 #include "chrome/browser/ui/fullscreen_controller.h" |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 FullscreenExitBubbleType type = | 107 FullscreenExitBubbleType type = |
108 browser()->fullscreen_controller_->GetFullscreenExitBubbleType(); | 108 browser()->fullscreen_controller_->GetFullscreenExitBubbleType(); |
109 browser()->OnAcceptFullscreenPermission(fullscreen_tab->GetURL(), type); | 109 browser()->OnAcceptFullscreenPermission(fullscreen_tab->GetURL(), type); |
110 } | 110 } |
111 | 111 |
112 void FullscreenControllerTest::DenyCurrentFullscreenOrMouseLockRequest() { | 112 void FullscreenControllerTest::DenyCurrentFullscreenOrMouseLockRequest() { |
113 FullscreenExitBubbleType type = | 113 FullscreenExitBubbleType type = |
114 browser()->fullscreen_controller_->GetFullscreenExitBubbleType(); | 114 browser()->fullscreen_controller_->GetFullscreenExitBubbleType(); |
115 browser()->OnDenyFullscreenPermission(type); | 115 browser()->OnDenyFullscreenPermission(type); |
116 } | 116 } |
| 117 |
| 118 void FullscreenControllerTest::Reload() { |
| 119 browser()->Reload(CURRENT_TAB); |
| 120 } |
OLD | NEW |