Index: content/renderer/browser_plugin/browser_plugin_manager_impl.h |
diff --git a/content/renderer/browser_plugin/browser_plugin_manager_impl.h b/content/renderer/browser_plugin/browser_plugin_manager_impl.h |
index b217cc591565ec0dbe7d73236e2418aaa53253a0..629b63fc754c2728283522f1a1851e7cc4f6f883 100644 |
--- a/content/renderer/browser_plugin/browser_plugin_manager_impl.h |
+++ b/content/renderer/browser_plugin/browser_plugin_manager_impl.h |
@@ -8,7 +8,6 @@ |
#include "content/renderer/browser_plugin/browser_plugin_manager.h" |
#include "googleurl/src/gurl.h" |
-struct BrowserPluginMsg_LoadCommit_Params; |
struct BrowserPluginMsg_UpdateRect_Params; |
class WebCursor; |
@@ -36,35 +35,16 @@ class BrowserPluginManagerImpl : public BrowserPluginManager { |
private: |
virtual ~BrowserPluginManagerImpl(); |
- void OnUpdateRect(int instance_id, |
- int message_id, |
- const BrowserPluginMsg_UpdateRect_Params& params); |
- void OnGuestGone(int instance_id, int process_id, int status); |
- void OnAdvanceFocus(int instance_id, bool reverse); |
- void OnGuestContentWindowReady(int instance_id, int guest_routing_id); |
- void OnShouldAcceptTouchEvents(int instance_id, bool accept); |
- void OnLoadStart(int instance_id, |
- const GURL& url, |
- bool is_top_level); |
- void OnLoadCommit(int instance_id, |
- const BrowserPluginMsg_LoadCommit_Params& params); |
- void OnLoadStop(int instance_id); |
- void OnLoadAbort(int instance_id, |
- const GURL& url, |
- bool is_top_level, |
- const std::string& type); |
- void OnLoadRedirect(int instance_id, |
- const GURL& old_url, |
- const GURL& new_url, |
- bool is_top_level); |
- void OnSetCursor(int instance_id, |
- const WebCursor& cursor); |
void OnPluginAtPositionRequest(const IPC::Message& message, |
int request_id, |
const gfx::Point& position); |
- void OnGuestUnresponsive(int instance_id, int process_id); |
- void OnGuestResponsive(int instance_id, int process_id); |
+ // Register BrowserPlugin messages to forward to the appropriate BrowserPlugin |
+ // object. BrowserPlugin messages are expected to have |instance_id| as their |
+ // first field. |
+ void RegisterBrowserPluginMessages(); |
+ |
+ std::set<uint32> browser_plugin_messages_; |
DISALLOW_COPY_AND_ASSIGN(BrowserPluginManagerImpl); |
}; |