From 37ad8892fe9576eef898295e50e7d42b5d7a3e27 Mon Sep 17 00:00:00 2001 From: "finnur@chromium.org" Date: Fri, 26 Mar 2010 21:44:32 +0000 Subject: Add two Extension view types: Notification and Infobars. Also hooked them up to GetExtensionViews and consolidated various methods of getting views into one (getViews, which now takes an optional param type). BUG=26463 TEST=None Review URL: http://codereview.chromium.org/1397002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42828 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/notifications/balloon_host.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'chrome/browser/notifications') diff --git a/chrome/browser/notifications/balloon_host.h b/chrome/browser/notifications/balloon_host.h index b1f47a2..42cd0e0 100644 --- a/chrome/browser/notifications/balloon_host.h +++ b/chrome/browser/notifications/balloon_host.h @@ -5,6 +5,8 @@ #ifndef CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ #define CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ +#include + #include "chrome/browser/extensions/extension_function_dispatcher.h" #include "chrome/browser/notifications/balloon.h" #include "chrome/browser/notifications/notification.h" @@ -58,7 +60,7 @@ class BalloonHost : public RenderViewHostDelegate, int32 page_id, const std::wstring& title) {} virtual int GetBrowserWindowID() const { return -1; } virtual ViewType::Type GetRenderViewType() const { - return ViewType::TAB_CONTENTS; + return ViewType::NOTIFICATION; } virtual RenderViewHostDelegate::View* GetViewDelegate() { return this; -- cgit v1.1