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_CONTROLLER_TEST_H_ | 5 #ifndef CHROME_BROWSER_UI_FULLSCREEN_CONTROLLER_TEST_H_ |
6 #define CHROME_BROWSER_UI_FULLSCREEN_CONTROLLER_TEST_H_ | 6 #define CHROME_BROWSER_UI_FULLSCREEN_CONTROLLER_TEST_H_ |
7 | 7 |
8 #include "chrome/browser/ui/fullscreen_exit_bubble_type.h" | 8 #include "chrome/browser/ui/fullscreen_exit_bubble_type.h" |
9 #include "chrome/common/chrome_notification_types.h" | 9 #include "chrome/common/chrome_notification_types.h" |
10 #include "chrome/test/base/in_process_browser_test.h" | 10 #include "chrome/test/base/in_process_browser_test.h" |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 bool SendEscapeToFullscreenController(); | 48 bool SendEscapeToFullscreenController(); |
49 bool IsFullscreenForBrowser(); | 49 bool IsFullscreenForBrowser(); |
50 bool IsFullscreenForTabOrPending(); | 50 bool IsFullscreenForTabOrPending(); |
51 bool IsMouseLockPermissionRequested(); | 51 bool IsMouseLockPermissionRequested(); |
52 bool IsFullscreenPermissionRequested(); | 52 bool IsFullscreenPermissionRequested(); |
53 FullscreenExitBubbleType GetFullscreenExitBubbleType(); | 53 FullscreenExitBubbleType GetFullscreenExitBubbleType(); |
54 bool IsFullscreenBubbleDisplayed(); | 54 bool IsFullscreenBubbleDisplayed(); |
55 bool IsFullscreenBubbleDisplayingButtons(); | 55 bool IsFullscreenBubbleDisplayingButtons(); |
56 void AcceptCurrentFullscreenOrMouseLockRequest(); | 56 void AcceptCurrentFullscreenOrMouseLockRequest(); |
57 void DenyCurrentFullscreenOrMouseLockRequest(); | 57 void DenyCurrentFullscreenOrMouseLockRequest(); |
| 58 void AddTabAtIndexAndWait(int index, const GURL& url, |
| 59 content::PageTransition transition); |
58 static const char kFullscreenMouseLockHTML[]; | 60 static const char kFullscreenMouseLockHTML[]; |
59 private: | 61 private: |
60 DISALLOW_COPY_AND_ASSIGN(FullscreenControllerTest); | 62 DISALLOW_COPY_AND_ASSIGN(FullscreenControllerTest); |
61 }; | 63 }; |
62 | 64 |
63 #endif // CHROME_BROWSER_UI_FULLSCREEN_CONTROLLER_TEST_H_ | 65 #endif // CHROME_BROWSER_UI_FULLSCREEN_CONTROLLER_TEST_H_ |
OLD | NEW |