summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/fullscreen_controller.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-28 23:51:33 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-28 23:51:33 +0000
commit2a6bc3e61c13a82f1a61c552d5a940c14b0a9db1 (patch)
tree51e2f19bdc45bd87c9a378ee4d7d113431f6b9f5 /chrome/browser/ui/fullscreen_controller.h
parent50dbc0376d825c59d08d3c0a4f3ea34fad30e960 (diff)
downloadchromium_src-2a6bc3e61c13a82f1a61c552d5a940c14b0a9db1.zip
chromium_src-2a6bc3e61c13a82f1a61c552d5a940c14b0a9db1.tar.gz
chromium_src-2a6bc3e61c13a82f1a61c552d5a940c14b0a9db1.tar.bz2
Convert all of the WebContentsDelegate to use WebContents instead of TabContents, and update all the dependent code.
BUG=98716 TBR=joi Review URL: http://codereview.chromium.org/9008047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115932 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/fullscreen_controller.h')
-rw-r--r--chrome/browser/ui/fullscreen_controller.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/chrome/browser/ui/fullscreen_controller.h b/chrome/browser/ui/fullscreen_controller.h
index 6c707f7..8e95efc 100644
--- a/chrome/browser/ui/fullscreen_controller.h
+++ b/chrome/browser/ui/fullscreen_controller.h
@@ -19,6 +19,10 @@ class Profile;
class TabContents;
class TabContentsWrapper;
+namespace content {
+class WebContents;
+}
+
// There are two different kinds of fullscreen mode - "tab fullscreen" and
// "browser fullscreen". "Tab fullscreen" refers to when a tab enters
// fullscreen mode via the JS fullscreen API, and "browser fullscreen" refers
@@ -39,11 +43,12 @@ class FullscreenController : public base::RefCounted<FullscreenController> {
// Querying.
bool IsFullscreenForTab() const;
- bool IsFullscreenForTab(const TabContents* tab) const;
+ bool IsFullscreenForTab(const content::WebContents* tab) const;
// Requests.
- void RequestToLockMouse(TabContents* tab);
- void ToggleFullscreenModeForTab(TabContents* tab, bool enter_fullscreen);
+ void RequestToLockMouse(content::WebContents* tab);
+ void ToggleFullscreenModeForTab(content::WebContents* tab,
+ bool enter_fullscreen);
#if defined(OS_MACOSX)
void TogglePresentationMode(bool for_tab);
#endif