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

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: braces 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 e3f6ac93734037a693122a3247a51981df6e77ea..6b6813e0bb5bdfdd415bee85e9cd815f1795a625 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 ------------------------------------------------------
@@ -865,6 +869,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