Index: chrome/browser/tab_contents/background_contents.h |
=================================================================== |
--- chrome/browser/tab_contents/background_contents.h (revision 80315) |
+++ chrome/browser/tab_contents/background_contents.h (working copy) |
@@ -19,8 +19,9 @@ |
#include "webkit/glue/window_open_disposition.h" |
class TabContents; |
-struct WebPreferences; |
class DesktopNotificationHandler; |
+class ExtensionMessageHandler; |
+struct WebPreferences; |
namespace gfx { |
class Rect; |
@@ -68,8 +69,6 @@ |
virtual void DidNavigate(RenderViewHost* render_view_host, |
const ViewHostMsg_FrameNavigate_Params& params); |
virtual WebPreferences GetWebkitPrefs(); |
- virtual void ProcessWebUIMessage( |
- const ExtensionHostMsg_DomMessage_Params& params); |
virtual void RunJavaScriptMessage(const std::wstring& message, |
const std::wstring& default_prompt, |
const GURL& frame_url, |
@@ -153,9 +152,6 @@ |
BackgroundContents(); |
private: |
- // Message handlers. |
- void OnPostMessage(int port_id, const std::string& message); |
- |
// The delegate for this BackgroundContents. |
Delegate* delegate_; |
@@ -173,6 +169,9 @@ |
// Handles desktop notification IPCs. |
scoped_ptr<DesktopNotificationHandler> desktop_notification_handler_; |
+ // Handles extension IPCs. |
+ scoped_ptr<ExtensionMessageHandler> extension_message_handler_; |
+ |
DISALLOW_COPY_AND_ASSIGN(BackgroundContents); |
}; |