Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Unified Diff: components/html_viewer/web_notification_manager_impl.h

Issue 1244563002: Remove 'blink::WebSerializedOrigin' (1/4) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: forward Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/html_viewer/web_notification_manager_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/web_notification_manager_impl.h
diff --git a/components/html_viewer/web_notification_manager_impl.h b/components/html_viewer/web_notification_manager_impl.h
index 1110acabc4ba6197c7bb1aafaecac6181cceec0f..41d6c53efe7151312f7b4eac0a98b8bf8a94d622 100644
--- a/components/html_viewer/web_notification_manager_impl.h
+++ b/components/html_viewer/web_notification_manager_impl.h
@@ -7,6 +7,10 @@
#include "third_party/WebKit/public/platform/modules/notifications/WebNotificationManager.h"
+namespace blink {
+class WebSecurityOrigin;
+}
+
namespace html_viewer {
// TODO(erg): This class is currently a stub; blink expects this object to
@@ -17,9 +21,16 @@ class WebNotificationManagerImpl : public blink::WebNotificationManager {
virtual ~WebNotificationManagerImpl();
// blink::WebNotificationManager methods:
+ virtual void show(const blink::WebSecurityOrigin&,
+ const blink::WebNotificationData&,
+ blink::WebNotificationDelegate*);
virtual void show(const blink::WebSerializedOrigin&,
const blink::WebNotificationData&,
blink::WebNotificationDelegate*);
+ virtual void showPersistent(const blink::WebSecurityOrigin&,
+ const blink::WebNotificationData&,
+ blink::WebServiceWorkerRegistration*,
+ blink::WebNotificationShowCallbacks*);
virtual void showPersistent(const blink::WebSerializedOrigin&,
const blink::WebNotificationData&,
blink::WebServiceWorkerRegistration*,
@@ -28,13 +39,20 @@ class WebNotificationManagerImpl : public blink::WebNotificationManager {
blink::WebServiceWorkerRegistration*,
blink::WebNotificationGetCallbacks*);
virtual void close(blink::WebNotificationDelegate*);
+ virtual void closePersistent(const blink::WebSecurityOrigin&,
+ int64_t persistentNotificationId);
virtual void closePersistent(const blink::WebSerializedOrigin&,
int64_t persistentNotificationId);
virtual void closePersistent(
+ const blink::WebSecurityOrigin&,
+ const blink::WebString& persistentNotificationId);
+ virtual void closePersistent(
const blink::WebSerializedOrigin&,
const blink::WebString& persistentNotificationId);
virtual void notifyDelegateDestroyed(blink::WebNotificationDelegate*);
virtual blink::WebNotificationPermission checkPermission(
+ const blink::WebSecurityOrigin&);
+ virtual blink::WebNotificationPermission checkPermission(
const blink::WebSerializedOrigin&);
private:
« no previous file with comments | « no previous file | components/html_viewer/web_notification_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698