summaryrefslogtreecommitdiffstats
path: root/content/renderer/notification_provider.h
diff options
context:
space:
mode:
authorabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-07 06:50:46 +0000
committerabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-07 06:50:46 +0000
commit180ef24f1fd1b1ff309fc35f250336890f702f28 (patch)
treede5918896ed9780e5cf6098be329060a58f3702e /content/renderer/notification_provider.h
parent8d7dd7ade794c71be49c7a954c4d4b4ca1ab6c01 (diff)
downloadchromium_src-180ef24f1fd1b1ff309fc35f250336890f702f28.zip
chromium_src-180ef24f1fd1b1ff309fc35f250336890f702f28.tar.gz
chromium_src-180ef24f1fd1b1ff309fc35f250336890f702f28.tar.bz2
Rename WebKit namespace to blink (part 3)
This CL updates all references to the WebKit namespace in content. TBR=darin@chromium.org BUG=295096 Review URL: https://codereview.chromium.org/63253002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233513 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/notification_provider.h')
-rw-r--r--content/renderer/notification_provider.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/content/renderer/notification_provider.h b/content/renderer/notification_provider.h
index ababece..e2c99ce 100644
--- a/content/renderer/notification_provider.h
+++ b/content/renderer/notification_provider.h
@@ -10,7 +10,7 @@
#include "third_party/WebKit/public/web/WebNotification.h"
#include "third_party/WebKit/public/web/WebNotificationPresenter.h"
-namespace WebKit {
+namespace blink {
class WebNotificationPermissionCallback;
}
@@ -20,7 +20,7 @@ class RenderViewImpl;
// NotificationProvider class is owned by the RenderView. Only
// to be used on the main thread.
class NotificationProvider : public RenderViewObserver,
- public WebKit::WebNotificationPresenter {
+ public blink::WebNotificationPresenter {
public:
explicit NotificationProvider(RenderViewImpl* render_view);
virtual ~NotificationProvider();
@@ -29,22 +29,22 @@ class NotificationProvider : public RenderViewObserver,
// RenderView::Observer implementation.
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
- // WebKit::WebNotificationPresenter interface.
- virtual bool show(const WebKit::WebNotification& proxy);
- virtual void cancel(const WebKit::WebNotification& proxy);
- virtual void objectDestroyed(const WebKit::WebNotification& proxy);
- virtual WebKit::WebNotificationPresenter::Permission checkPermission(
- const WebKit::WebSecurityOrigin& origin);
- virtual void requestPermission(const WebKit::WebSecurityOrigin& origin,
- WebKit::WebNotificationPermissionCallback* callback);
+ // blink::WebNotificationPresenter interface.
+ virtual bool show(const blink::WebNotification& proxy);
+ virtual void cancel(const blink::WebNotification& proxy);
+ virtual void objectDestroyed(const blink::WebNotification& proxy);
+ virtual blink::WebNotificationPresenter::Permission checkPermission(
+ const blink::WebSecurityOrigin& origin);
+ virtual void requestPermission(const blink::WebSecurityOrigin& origin,
+ blink::WebNotificationPermissionCallback* callback);
// Internal methods used to show notifications.
- bool ShowHTML(const WebKit::WebNotification& notification, int id);
- bool ShowText(const WebKit::WebNotification& notification, int id);
+ bool ShowHTML(const blink::WebNotification& notification, int id);
+ bool ShowText(const blink::WebNotification& notification, int id);
// IPC handlers.
void OnDisplay(int id);
- void OnError(int id, const WebKit::WebString& message);
+ void OnError(int id, const blink::WebString& message);
void OnClose(int id, bool by_user);
void OnClick(int id);
void OnPermissionRequestComplete(int id);