| 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 09a884ed02f7a3020289fbaebd3e4a458646728c..7933991b86ce0c264b8d9814d6b05f6b0e2536cc 100644
|
| --- a/content/browser/browser_plugin/browser_plugin_guest.h
|
| +++ b/content/browser/browser_plugin/browser_plugin_guest.h
|
| @@ -101,6 +101,15 @@ class CONTENT_EXPORT BrowserPluginGuest : public NotificationObserver,
|
| bool focused() const { return focused_; }
|
| bool visible() const { return visible_; }
|
|
|
| + // Sets the name of the guest so that other guests of the same partition can
|
| + // access it.
|
| + void SetName(const std::string& name);
|
| +
|
| + // Notifies the embedder that the frame of a guest has updated its name.
|
| + void UpdateFrameName(int frame_id,
|
| + bool is_top_level,
|
| + const std::string& name);
|
| +
|
| // NotificationObserver implementation.
|
| virtual void Observe(int type,
|
| const NotificationSource& source,
|
| @@ -308,6 +317,7 @@ class CONTENT_EXPORT BrowserPluginGuest : public NotificationObserver,
|
| base::TimeDelta guest_hang_timeout_;
|
| bool focused_;
|
| bool visible_;
|
| + std::string name_;
|
| bool auto_size_enabled_;
|
| gfx::Size max_auto_size_;
|
| gfx::Size min_auto_size_;
|
|
|