Index: content/browser/renderer_host/render_view_host_delegate.h |
diff --git a/content/browser/renderer_host/render_view_host_delegate.h b/content/browser/renderer_host/render_view_host_delegate.h |
index 2697e5e790699efa4e1ca6218414c0cb8160eb60..21d8a337452bdc35d1e69f9347f5e7e59dd7a398 100644 |
--- a/content/browser/renderer_host/render_view_host_delegate.h |
+++ b/content/browser/renderer_host/render_view_host_delegate.h |
@@ -14,6 +14,7 @@ |
#include "content/browser/dom_storage/session_storage_namespace_impl.h" |
#include "content/common/content_export.h" |
#include "net/base/load_states.h" |
+#include "third_party/WebKit/public/platform/WebDisplayMode.h" |
#include "third_party/WebKit/public/web/WebPopupType.h" |
#include "ui/base/window_open_disposition.h" |
@@ -175,6 +176,9 @@ class CONTENT_EXPORT RenderViewHostDelegate { |
// Returns whether the associated tab is in fullscreen mode. |
virtual bool IsFullscreenForCurrentTab() const; |
+ // Returns the display mode for the view. |
+ virtual blink::WebDisplayMode GetDisplayMode() const; |
+ |
// The contents' preferred size changed. |
virtual void UpdatePreferredSize(const gfx::Size& pref_size) {} |