| 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_H_ | 5 #ifndef CHROME_BROWSER_UI_FULLSCREEN_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_FULLSCREEN_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_FULLSCREEN_CONTROLLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 11 #include "chrome/browser/ui/fullscreen_exit_bubble_type.h" | 11 #include "chrome/browser/ui/fullscreen_exit_bubble_type.h" |
| 12 #include "chrome/common/content_settings.h" | 12 #include "chrome/common/content_settings.h" |
| 13 | 13 |
| 14 class Browser; | 14 class Browser; |
| 15 class BrowserWindow; | 15 class BrowserWindow; |
| 16 class GURL; | 16 class GURL; |
| 17 class Profile; | 17 class Profile; |
| 18 class TabContentsWrapper; | 18 class TabContents; |
| 19 typedef TabContents TabContentsWrapper; |
| 19 | 20 |
| 20 namespace content { | 21 namespace content { |
| 21 class WebContents; | 22 class WebContents; |
| 22 } | 23 } |
| 23 | 24 |
| 24 // There are two different kinds of fullscreen mode - "tab fullscreen" and | 25 // There are two different kinds of fullscreen mode - "tab fullscreen" and |
| 25 // "browser fullscreen". "Tab fullscreen" refers to when a tab enters | 26 // "browser fullscreen". "Tab fullscreen" refers to when a tab enters |
| 26 // fullscreen mode via the JS fullscreen API, and "browser fullscreen" refers | 27 // fullscreen mode via the JS fullscreen API, and "browser fullscreen" refers |
| 27 // to the user putting the browser itself into fullscreen mode from the UI. The | 28 // to the user putting the browser itself into fullscreen mode from the UI. The |
| 28 // difference is that tab fullscreen has implications for how the contents of | 29 // difference is that tab fullscreen has implications for how the contents of |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 | 137 |
| 137 // Wrapper for current tab requesting or currently in mouse lock. | 138 // Wrapper for current tab requesting or currently in mouse lock. |
| 138 TabContentsWrapper* mouse_lock_tab_; | 139 TabContentsWrapper* mouse_lock_tab_; |
| 139 | 140 |
| 140 MouseLockState mouse_lock_state_; | 141 MouseLockState mouse_lock_state_; |
| 141 | 142 |
| 142 DISALLOW_COPY_AND_ASSIGN(FullscreenController); | 143 DISALLOW_COPY_AND_ASSIGN(FullscreenController); |
| 143 }; | 144 }; |
| 144 | 145 |
| 145 #endif // CHROME_BROWSER_UI_FULLSCREEN_CONTROLLER_H_ | 146 #endif // CHROME_BROWSER_UI_FULLSCREEN_CONTROLLER_H_ |
| OLD | NEW |