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

Side by Side Diff: components/html_viewer/web_notification_manager_impl.h

Issue 1267673003: Plumb Blink notification actions to button UI on desktop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix size_t Created 5 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_HTML_VIEWER_WEB_NOTIFICATION_MANAGER_IMPL_H_ 5 #ifndef COMPONENTS_HTML_VIEWER_WEB_NOTIFICATION_MANAGER_IMPL_H_
6 #define COMPONENTS_HTML_VIEWER_WEB_NOTIFICATION_MANAGER_IMPL_H_ 6 #define COMPONENTS_HTML_VIEWER_WEB_NOTIFICATION_MANAGER_IMPL_H_
7 7
8 #include "third_party/WebKit/public/platform/modules/notifications/WebNotificati onManager.h" 8 #include "third_party/WebKit/public/platform/modules/notifications/WebNotificati onManager.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 22 matching lines...) Expand all
33 blink::WebNotificationGetCallbacks*); 33 blink::WebNotificationGetCallbacks*);
34 virtual void close(blink::WebNotificationDelegate*); 34 virtual void close(blink::WebNotificationDelegate*);
35 virtual void closePersistent(const blink::WebSecurityOrigin&, 35 virtual void closePersistent(const blink::WebSecurityOrigin&,
36 int64_t persistentNotificationId); 36 int64_t persistentNotificationId);
37 virtual void closePersistent( 37 virtual void closePersistent(
38 const blink::WebSecurityOrigin&, 38 const blink::WebSecurityOrigin&,
39 const blink::WebString& persistentNotificationId); 39 const blink::WebString& persistentNotificationId);
40 virtual void notifyDelegateDestroyed(blink::WebNotificationDelegate*); 40 virtual void notifyDelegateDestroyed(blink::WebNotificationDelegate*);
41 virtual blink::WebNotificationPermission checkPermission( 41 virtual blink::WebNotificationPermission checkPermission(
42 const blink::WebSecurityOrigin&); 42 const blink::WebSecurityOrigin&);
43 virtual size_t maxActions();
43 44
44 private: 45 private:
45 DISALLOW_COPY_AND_ASSIGN(WebNotificationManagerImpl); 46 DISALLOW_COPY_AND_ASSIGN(WebNotificationManagerImpl);
46 }; 47 };
47 48
48 } // namespace html_viewer 49 } // namespace html_viewer
49 50
50 #endif // COMPONENTS_HTML_VIEWER_WEB_NOTIFICATION_MANAGER_IMPL_H_ 51 #endif // COMPONENTS_HTML_VIEWER_WEB_NOTIFICATION_MANAGER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698