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

Unified Diff: content/browser/browser_plugin/browser_plugin_embedder.h

Issue 11554030: <webview>: Add name attribute (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added tests Created 8 years 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/browser_plugin/browser_plugin_embedder.h
diff --git a/content/browser/browser_plugin/browser_plugin_embedder.h b/content/browser/browser_plugin/browser_plugin_embedder.h
index b0abf84757bc07fe99cfb28fa0689c0906a800df..25e3ba81fa20e3c1177cf6aba351c94aa52a22e6 100644
--- a/content/browser/browser_plugin/browser_plugin_embedder.h
+++ b/content/browser/browser_plugin/browser_plugin_embedder.h
@@ -84,6 +84,10 @@ class CONTENT_EXPORT BrowserPluginEmbedder : public WebContentsObserver,
int instance_id,
const BrowserPluginHostMsg_ResizeGuest_Params& params);
+ // Sets the name of the guest so that it can be accessed by other guests in
+ // the process.
+ void SetName(int instance_id, const std::string& name);
+
void Go(int instance_id, int relative_index);
void Stop(int instance_id);
void Reload(int instance_id);

Powered by Google App Engine
This is Rietveld 408576698