Chromium Code Reviews| 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 09c413f5ae20322c204d10530d5ae83134029433..23a927fa22afa9057db4dd4fda82e766884a5203 100644 |
| --- a/content/renderer/browser_plugin/browser_plugin.h |
| +++ b/content/renderer/browser_plugin/browser_plugin.h |
| @@ -34,6 +34,7 @@ class CONTENT_EXPORT BrowserPlugin : |
| NON_EXPORTED_BASE(public WebKit::WebPlugin) { |
| public: |
| RenderViewImpl* render_view() const { return render_view_.get(); } |
| + int render_view_routing_id() const { return render_view_routing_id_; } |
| bool OnMessageReceived(const IPC::Message& msg); |
| @@ -42,6 +43,8 @@ class CONTENT_EXPORT BrowserPlugin : |
| void UpdateDOMAttribute(const std::string& attribute_name, |
| const std::string& attribute_value); |
| + int instance_id() const { return instance_id_; } |
| + |
| // Get the name attribute value. |
| std::string name_attribute() const { return name_; } |
| // Set the name attribute value. |
| @@ -77,6 +80,9 @@ class CONTENT_EXPORT BrowserPlugin : |
| // Returns Chrome's process ID for the current guest. |
| int process_id() const { return process_id_; } |
| + // Returns Chrome's route ID for the current guest. |
| + int guest_route_id() const { return guest_route_id_; } |
|
Matt Perry
2013/01/23 02:50:49
seems inconsistent to prefix this with guest_ when
Fady Samuel
2013/01/23 20:12:03
Renamed process_id() to guest_process_id(). There'
|
| + |
| // The partition identifier string is stored as UTF-8. |
| std::string GetPartitionAttribute() const; |
| // Query whether the guest can navigate back to the previous entry. |
| @@ -184,8 +190,6 @@ class CONTENT_EXPORT BrowserPlugin : |
| int width() const { return plugin_rect_.width(); } |
| int height() const { return plugin_rect_.height(); } |
| - int instance_id() const { return instance_id_; } |
| - int render_view_routing_id() const { return render_view_routing_id_; } |
| BrowserPluginManager* browser_plugin_manager() const { |
| return browser_plugin_manager_; |
| } |
| @@ -299,6 +303,7 @@ class CONTENT_EXPORT BrowserPlugin : |
| int min_height_; |
| int min_width_; |
| int process_id_; |
| + int guest_route_id_; |
| std::string storage_partition_id_; |
| bool persist_storage_; |
| bool valid_partition_id_; |