diff options
Diffstat (limited to 'content/renderer/browser_plugin/browser_plugin.h')
-rw-r--r-- | content/renderer/browser_plugin/browser_plugin.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/content/renderer/browser_plugin/browser_plugin.h b/content/renderer/browser_plugin/browser_plugin.h index 0eeb8f9..80f2c6b 100644 --- a/content/renderer/browser_plugin/browser_plugin.h +++ b/content/renderer/browser_plugin/browser_plugin.h @@ -41,6 +41,10 @@ class CONTENT_EXPORT BrowserPlugin : void UpdateDOMAttribute(const std::string& attribute_name, const std::string& attribute_value); + // Get the name attribute value. + std::string name_attribute() const { return name_; } + // Set the name attribute value. + void SetNameAttribute(const std::string& name); // Get the src attribute value of the BrowserPlugin instance. std::string src_attribute() const { return src_; } // Set the src attribute value of the BrowserPlugin instance. @@ -260,6 +264,7 @@ class CONTENT_EXPORT BrowserPlugin : void OnLoadStop(int instance_id); void OnSetCursor(int instance_id, const WebCursor& cursor); void OnShouldAcceptTouchEvents(int instance_id, bool accept); + void OnUpdatedName(int instance_id, const std::string& name); void OnUpdateRect(int instance_id, const BrowserPluginMsg_UpdateRect_Params& params); @@ -299,6 +304,7 @@ class CONTENT_EXPORT BrowserPlugin : // Tracks the visibility of the browser plugin regardless of the whole // embedder RenderView's visibility. bool visible_; + std::string name_; WebCursor cursor_; |