Index: content/browser/browser_plugin/browser_plugin_guest.h |
diff --git a/content/browser/browser_plugin/browser_plugin_guest.h b/content/browser/browser_plugin/browser_plugin_guest.h |
index 3b7dce91edb3e6ed76976018a0556d742ba47ba7..3f595e4450d6c696bf4230c764e9581bb45a9880 100644 |
--- a/content/browser/browser_plugin/browser_plugin_guest.h |
+++ b/content/browser/browser_plugin/browser_plugin_guest.h |
@@ -322,11 +322,12 @@ class CONTENT_EXPORT BrowserPluginGuest |
void OnNavigateGuest(int instance_id, const std::string& src); |
void OnPluginDestroyed(int instance_id); |
// Resizes the guest's web contents. |
- // Overridden in tests. |
- virtual void OnResizeGuest( |
+ void OnResizeGuest( |
int instance_id, const BrowserPluginHostMsg_ResizeGuest_Params& params); |
- // Overridden in tests. |
- virtual void OnSetFocus(int instance_id, bool focused); |
+ void OnSetFocus(int instance_id, bool focused); |
+ // Sets the name of the guest so that other guests in the same partition can |
+ // access it. |
+ void OnSetName(int instance_id, const std::string& name); |
// Updates the size state of the guest. |
void OnSetSize( |
int instance_id, |
@@ -392,8 +393,10 @@ class CONTENT_EXPORT BrowserPluginGuest |
void OnShowPopup(const ViewHostMsg_ShowPopup_Params& params); |
#endif |
void OnShowWidget(int route_id, const gfx::Rect& initial_pos); |
- // Overridden in tests. |
- virtual void OnTakeFocus(bool reverse); |
+ void OnTakeFocus(bool reverse); |
+ void OnUpdateFrameName(int frame_id, |
+ bool is_top_level, |
+ const std::string& name); |
void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params); |
// Forwards all messages from the |pending_messages_| queue to the embedder. |