| Index: content/renderer/browser_plugin/browser_plugin_manager.h
|
| diff --git a/content/renderer/browser_plugin/browser_plugin_manager.h b/content/renderer/browser_plugin/browser_plugin_manager.h
|
| index d7218bde4fa08f417cdd1a3e519107238b048cd6..d3f3e34e71799e4e90b52d55c1e6d29b8203e967 100644
|
| --- a/content/renderer/browser_plugin/browser_plugin_manager.h
|
| +++ b/content/renderer/browser_plugin/browser_plugin_manager.h
|
| @@ -10,10 +10,11 @@
|
| #include "content/public/renderer/render_process_observer.h"
|
| #include "content/renderer/browser_plugin/browser_plugin.h"
|
|
|
| +struct BrowserPlugin_SwapInfo;
|
| struct BrowserPluginMsg_UpdateRect_Params;
|
|
|
| namespace WebKit {
|
| -class WebPluginParams;
|
| +struct WebPluginParams;
|
| }
|
|
|
| namespace content {
|
| @@ -36,6 +37,8 @@ class BrowserPluginManager
|
| void RemoveBrowserPlugin(int instance_id);
|
| BrowserPlugin* GetBrowserPlugin(int instance_id) const;
|
|
|
| + void WillInitiatePaint();
|
| +
|
| private:
|
| int browser_plugin_counter_;
|
| IDMap<BrowserPlugin> instances_;
|
| @@ -46,6 +49,7 @@ class BrowserPluginManager
|
| void OnGuestCrashed(int instance_id);
|
| void OnUpdateURL(int instance_id, const GURL& url);
|
| void OnAdvanceFocus(int instance_id, bool reverse);
|
| + void OnBuffersSwapped(int instance_id, uint64 surface_handle, const BrowserPlugin_SwapInfo& info);
|
|
|
| // RenderProcessObserver override. Call on render thread.
|
| virtual bool OnControlMessageReceived(const IPC::Message& message) OVERRIDE;
|
|
|