Index: chrome/browser/ui/fullscreen/fullscreen_controller.h |
diff --git a/chrome/browser/ui/fullscreen/fullscreen_controller.h b/chrome/browser/ui/fullscreen/fullscreen_controller.h |
index 3f1c0ffb0b7786fb0da1c52d9db04e4cdc9b1eab..757774ef4753c6f35d4bde60b9f4fd8dbb70b147 100644 |
--- a/chrome/browser/ui/fullscreen/fullscreen_controller.h |
+++ b/chrome/browser/ui/fullscreen/fullscreen_controller.h |
@@ -16,7 +16,6 @@ class Browser; |
class BrowserWindow; |
class GURL; |
class Profile; |
-class TabContents; |
namespace content { |
class WebContents; |
@@ -144,8 +143,8 @@ class FullscreenController : public content::NotificationObserver { |
#if defined(OS_MACOSX) |
void TogglePresentationModeInternal(bool for_tab); |
#endif |
- void SetFullscreenedTab(TabContents* tab); |
- void SetMouseLockTab(TabContents* tab); |
+ void SetFullscreenedTab(content::WebContents* tab); |
+ void SetMouseLockTab(content::WebContents* tab); |
// Make the current tab exit fullscreen mode or mouse lock if it is in it. |
void ExitTabFullscreenOrMouseLockIfNecessary(); |
@@ -161,9 +160,9 @@ class FullscreenController : public content::NotificationObserver { |
Profile* profile_; |
// If there is currently a tab in fullscreen mode (entered via |
- // webkitRequestFullScreen), this is its TabContents. |
+ // webkitRequestFullScreen), this is its WebContents. |
// Assign using SetFullscreenedTab(). |
- TabContents* fullscreened_tab_; |
+ content::WebContents* fullscreened_tab_; |
// The URL of the extension which trigerred "browser fullscreen" mode. |
GURL extension_caused_fullscreen_; |
@@ -177,9 +176,9 @@ class FullscreenController : public content::NotificationObserver { |
// True if this controller has toggled into tab OR browser fullscreen. |
bool toggled_into_fullscreen_; |
- // TabContents for current tab requesting or currently in mouse lock. |
+ // WebContents for current tab requesting or currently in mouse lock. |
// Assign using SetMouseLockTab(). |
- TabContents* mouse_lock_tab_; |
+ content::WebContents* mouse_lock_tab_; |
MouseLockState mouse_lock_state_; |