diff options
author | mukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-30 03:31:01 +0000 |
---|---|---|
committer | mukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-30 03:31:01 +0000 |
commit | c7cd594b31a605016a8814050f9fcaf98c834439 (patch) | |
tree | 915bbe7c253ca9885ecf41de74e2c3d961bf46e9 /chrome/browser/notifications/notification.h | |
parent | be74513aebfba8288950c0e20716e430e273e94c (diff) | |
download | chromium_src-c7cd594b31a605016a8814050f9fcaf98c834439.zip chromium_src-c7cd594b31a605016a8814050f9fcaf98c834439.tar.gz chromium_src-c7cd594b31a605016a8814050f9fcaf98c834439.tar.bz2 |
fixes uncheck behavior of notification settings for webkit notifications.
Now the uncheck behaves as if the notification drops the 'notification' permission
when checking the permissions.
BUG=230589,230662
Review URL: https://chromiumcodereview.appspot.com/14301010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197251 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/notifications/notification.h')
-rw-r--r-- | chrome/browser/notifications/notification.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/notifications/notification.h b/chrome/browser/notifications/notification.h index ba1ab29..4a09bee 100644 --- a/chrome/browser/notifications/notification.h +++ b/chrome/browser/notifications/notification.h @@ -115,6 +115,8 @@ class Notification { std::string notification_id() const { return delegate()->id(); } + int process_id() const { return delegate()->process_id(); } + content::RenderViewHost* GetRenderViewHost() const { return delegate()->GetRenderViewHost(); } |