| Index: content/renderer/browser_plugin/browser_plugin.h
|
| diff --git a/content/renderer/browser_plugin/browser_plugin.h b/content/renderer/browser_plugin/browser_plugin.h
|
| index 3a1bf2ea1dfe5d4fe49d20f7a5ce7b4efa15b495..af6ae24ca24889816c2ef02a97c2f423f4cccff7 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.
|
| @@ -107,6 +111,8 @@ class CONTENT_EXPORT BrowserPlugin :
|
| void LoadRedirect(const GURL& old_url,
|
| const GURL& new_url,
|
| bool is_top_level);
|
| + // Tells the BrowserPlugin that the guest's name has been updated.
|
| + void UpdatedName(const std::string& name);
|
| // Tells the BrowserPlugin to advance the focus to the next (or previous)
|
| // element.
|
| void AdvanceFocus(bool reverse);
|
| @@ -316,6 +322,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_;
|
|
|
|
|