diff options
author | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-26 21:44:32 +0000 |
---|---|---|
committer | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-26 21:44:32 +0000 |
commit | 37ad8892fe9576eef898295e50e7d42b5d7a3e27 (patch) | |
tree | 2074f825af3d7430187dde4f7d5de75a91580d90 /chrome/browser/notifications | |
parent | 68828be583862a07c72c3c223a6309b8fb708051 (diff) | |
download | chromium_src-37ad8892fe9576eef898295e50e7d42b5d7a3e27.zip chromium_src-37ad8892fe9576eef898295e50e7d42b5d7a3e27.tar.gz chromium_src-37ad8892fe9576eef898295e50e7d42b5d7a3e27.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/notifications')
-rw-r--r-- | chrome/browser/notifications/balloon_host.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 <string> + #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; |