Index: content/browser/web_contents/web_contents_impl.h |
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h |
index ffa11830fa4a814fafa1328e10209ea32d58999b..d0607554cc6cd18431e4a2b616912250d3882ec6 100644 |
--- a/content/browser/web_contents/web_contents_impl.h |
+++ b/content/browser/web_contents/web_contents_impl.h |
@@ -175,6 +175,10 @@ class CONTENT_EXPORT WebContentsImpl |
// an embedder. |
BrowserPluginEmbedder* GetBrowserPluginEmbedder(); |
+ // Gets the current fullscreen render widget's routing ID. Returns |
+ // MSG_ROUTING_NONE when there is no fullscreen render widget. |
+ int GetFullscreenWidgetRoutingID() const; |
+ |
void DidBlock3DAPIs(const GURL& url, ThreeDAPIType requester); |
// WebContents ------------------------------------------------------ |
@@ -864,6 +868,9 @@ class CONTENT_EXPORT WebContentsImpl |
// outlive it. |
std::set<RenderWidgetHostImpl*> created_widgets_; |
+ // Routing id of the shown fullscreen widget or MSG_ROUTING_NONE otherwise. |
+ int fullscreen_widget_routing_id_; |
+ |
// Maps the ids of pending favicon downloads to their callbacks |
typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap; |
FaviconDownloadMap favicon_download_map_; |