Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(879)

Unified Diff: content/browser/web_contents/web_contents_impl.h

Issue 12026029: Allow TabCapture to capture full screen flash widgets. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;

Powered by Google App Engine
This is Rietveld 408576698