Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1770)

Unified Diff: chrome/browser/ui/fullscreen/fullscreen_controller.h

Issue 11414286: Remove unneeded TabContents::FromWebContents. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/fullscreen/fullscreen_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/fullscreen/fullscreen_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698