Index: content/browser/tab_contents/tab_contents.cc |
diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc |
index 6b426f2a36c038b13378ea6f79cc26effeaa763a..9d0022cd4fef95909ab676e73e5eee409aed563b 100644 |
--- a/content/browser/tab_contents/tab_contents.cc |
+++ b/content/browser/tab_contents/tab_contents.cc |
@@ -519,6 +519,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); |