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 #ifndef CHROME_BROWSER_UI_FULLSCREEN_FULLSCREEN_CONTROLLER_TEST_H_ | 5 #ifndef CHROME_BROWSER_UI_FULLSCREEN_FULLSCREEN_CONTROLLER_TEST_H_ |
6 #define CHROME_BROWSER_UI_FULLSCREEN_FULLSCREEN_CONTROLLER_TEST_H_ | 6 #define CHROME_BROWSER_UI_FULLSCREEN_FULLSCREEN_CONTROLLER_TEST_H_ |
7 | 7 |
8 #include "chrome/browser/chrome_notification_types.h" | 8 #include "chrome/browser/chrome_notification_types.h" |
9 #include "chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.h" | 9 #include "chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.h" |
10 #include "chrome/test/base/in_process_browser_test.h" | 10 #include "chrome/test/base/in_process_browser_test.h" |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 bool IsFullscreenForTabOrPending(); | 46 bool IsFullscreenForTabOrPending(); |
47 bool IsMouseLockPermissionRequested(); | 47 bool IsMouseLockPermissionRequested(); |
48 bool IsFullscreenPermissionRequested(); | 48 bool IsFullscreenPermissionRequested(); |
49 FullscreenExitBubbleType GetFullscreenExitBubbleType(); | 49 FullscreenExitBubbleType GetFullscreenExitBubbleType(); |
50 bool IsFullscreenBubbleDisplayed(); | 50 bool IsFullscreenBubbleDisplayed(); |
51 bool IsFullscreenBubbleDisplayingButtons(); | 51 bool IsFullscreenBubbleDisplayingButtons(); |
52 void AcceptCurrentFullscreenOrMouseLockRequest(); | 52 void AcceptCurrentFullscreenOrMouseLockRequest(); |
53 void DenyCurrentFullscreenOrMouseLockRequest(); | 53 void DenyCurrentFullscreenOrMouseLockRequest(); |
54 void GoBack(); | 54 void GoBack(); |
55 void Reload(); | 55 void Reload(); |
| 56 void SetPrivilegedFullscreen(bool is_privileged); |
56 static const char kFullscreenMouseLockHTML[]; | 57 static const char kFullscreenMouseLockHTML[]; |
57 private: | 58 private: |
58 void ToggleTabFullscreen_Internal(bool enter_fullscreen, | 59 void ToggleTabFullscreen_Internal(bool enter_fullscreen, |
59 bool retry_until_success); | 60 bool retry_until_success); |
60 DISALLOW_COPY_AND_ASSIGN(FullscreenControllerTest); | 61 DISALLOW_COPY_AND_ASSIGN(FullscreenControllerTest); |
61 }; | 62 }; |
62 | 63 |
63 #endif // CHROME_BROWSER_UI_FULLSCREEN_FULLSCREEN_CONTROLLER_TEST_H_ | 64 #endif // CHROME_BROWSER_UI_FULLSCREEN_FULLSCREEN_CONTROLLER_TEST_H_ |
OLD | NEW |