Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2912)

Unified Diff: chrome/browser/notifications/balloon_host.h

Issue 6794035: Move dispatching and sending of the last extension specific messages out of TabContents and Rende... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/notifications/balloon_host.h
===================================================================
--- chrome/browser/notifications/balloon_host.h (revision 80315)
+++ chrome/browser/notifications/balloon_host.h (working copy)
@@ -18,6 +18,7 @@
class Balloon;
class Browser;
+class ExtensionMessageHandler;
class Profile;
class SiteInstance;
struct RendererPreferences;
@@ -46,6 +47,7 @@
const string16& GetSource() const;
// RenderViewHostDelegate overrides.
+ virtual bool OnMessageReceived(const IPC::Message& message);
virtual WebPreferences GetWebkitPrefs();
virtual SiteInstance* GetSiteInstance() const;
virtual Profile* GetProfile() const;
@@ -61,8 +63,6 @@
virtual int GetBrowserWindowID() const;
virtual ViewType::Type GetRenderViewType() const;
virtual RenderViewHostDelegate::View* GetViewDelegate();
- virtual void ProcessWebUIMessage(
- const ExtensionHostMsg_DomMessage_Params& params);
// NotificationObserver override.
virtual void Observe(NotificationType type,
@@ -160,6 +160,9 @@
bool enable_web_ui_;
NotificationRegistrar registrar_;
+
+ // Handles extension IPCs.
+ scoped_ptr<ExtensionMessageHandler> extension_message_handler_;
};
#endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_

Powered by Google App Engine
This is Rietveld 408576698