summaryrefslogtreecommitdiffstats
path: root/content/browser/tab_contents/tab_contents.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/tab_contents/tab_contents.cc')
-rw-r--r--content/browser/tab_contents/tab_contents.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc
index 74bc332..548f6df 100644
--- a/content/browser/tab_contents/tab_contents.cc
+++ b/content/browser/tab_contents/tab_contents.cc
@@ -512,6 +512,10 @@ void TabContents::ToggleFullscreenMode(bool enter_fullscreen) {
delegate_->ToggleFullscreenModeForTab(this, enter_fullscreen);
}
+bool TabContents::IsFullscreenForCurrentTab() const {
+ return delegate_ ? delegate_->IsFullscreenForTab(this) : false;
+}
+
void TabContents::UpdatePreferredSize(const gfx::Size& pref_size) {
if (delegate_)
delegate_->UpdatePreferredSize(this, pref_size);