diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-19 18:05:56 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-19 18:05:56 +0000 |
commit | 8b8e7c9bce4198a4ee2865d9dfce6e8baa173ad3 (patch) | |
tree | 938304b8e1be417c1b9c73d7463dacbc1da79843 /chrome/browser/notifications | |
parent | f2c4ee3627e6039fd42bd7c0c93e902b72653449 (diff) | |
download | chromium_src-8b8e7c9bce4198a4ee2865d9dfce6e8baa173ad3.zip chromium_src-8b8e7c9bce4198a4ee2865d9dfce6e8baa173ad3.tar.gz chromium_src-8b8e7c9bce4198a4ee2865d9dfce6e8baa173ad3.tar.bz2 |
Initial version of chrome.experimental.sidebar extension API.
BUG=51084
TEST=Run interactive_ui_tests and browser_tests.
New:
- sidebar Extension API (design doc: https://docs.google.com/a/google.com/Doc?docid=0AV4Qg3xyZ8RQZGZtbWIydDJfNWc0eHJtbmRm&hl=en);
- Sidebar panel in Chrome browser view;
Original review=http://codereview.chromium.org/2836040/show
Patch by alekseys@google.com
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56716 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/notifications')
-rw-r--r-- | chrome/browser/notifications/balloon_host.cc | 10 | ||||
-rw-r--r-- | chrome/browser/notifications/balloon_host.h | 6 |
2 files changed, 4 insertions, 12 deletions
diff --git a/chrome/browser/notifications/balloon_host.cc b/chrome/browser/notifications/balloon_host.cc index 621fa7e..85022dc 100644 --- a/chrome/browser/notifications/balloon_host.cc +++ b/chrome/browser/notifications/balloon_host.cc @@ -76,14 +76,10 @@ void BalloonHost::RenderViewGone(RenderViewHost* render_view_host) { Close(render_view_host); } -void BalloonHost::ProcessDOMUIMessage(const std::string& message, - const ListValue* content, - const GURL& source_url, - int request_id, - bool has_callback) { +void BalloonHost::ProcessDOMUIMessage( + const ViewHostMsg_DomMessage_Params& params) { if (extension_function_dispatcher_.get()) { - extension_function_dispatcher_->HandleRequest( - message, content, source_url, request_id, has_callback); + extension_function_dispatcher_->HandleRequest(params); } } diff --git a/chrome/browser/notifications/balloon_host.h b/chrome/browser/notifications/balloon_host.h index 45d5c2d..77e52ee 100644 --- a/chrome/browser/notifications/balloon_host.h +++ b/chrome/browser/notifications/balloon_host.h @@ -74,11 +74,7 @@ class BalloonHost : public RenderViewHostDelegate, virtual RenderViewHostDelegate::View* GetViewDelegate() { return this; } - virtual void ProcessDOMUIMessage(const std::string& message, - const ListValue* content, - const GURL& source_url, - int request_id, - bool has_callback); + virtual void ProcessDOMUIMessage(const ViewHostMsg_DomMessage_Params& params); // RenderViewHostDelegate::View methods. Only the ones for opening new // windows are currently implemented. |