| 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 925ee2384b34edb3cb4f6f097f4e85f258a6bb38..2b8f47a57c4b3b25462c146a3762fdcdab59529b 100644
|
| --- a/content/renderer/browser_plugin/browser_plugin.h
|
| +++ b/content/renderer/browser_plugin/browser_plugin.h
|
| @@ -40,6 +40,8 @@ class CONTENT_EXPORT BrowserPlugin :
|
| return browser_plugin_manager_.get();
|
| }
|
|
|
| + void AttachToPlugin(int instance_id);
|
| +
|
| bool OnMessageReceived(const IPC::Message& msg);
|
|
|
| // Update Browser Plugin's DOM Node attribute |attribute_name| with the value
|
| @@ -288,6 +290,12 @@ class CONTENT_EXPORT BrowserPlugin :
|
| gfx::Size last_view_size_;
|
| bool mouse_locked_;
|
|
|
| + bool attach_called_;
|
| + bool seen_src_;
|
| + int pending_instance_id_;
|
| +
|
| + void MaybeAttach();
|
| +
|
| // BrowserPlugin outlives RenderViewImpl in Chrome Apps and so we need to
|
| // store the BrowserPlugin's BrowserPluginManager in a member variable to
|
| // avoid accessing the RenderViewImpl.
|
|
|