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

Side by Side Diff: public/web/WebFrameClient.h

Issue 584023002: [WIP] Implement Notifications through Platform instead of WebFrame. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « public/platform/WebNotificationManager.h ('k') | public/web/WebNotification.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 class WebDOMEvent; 65 class WebDOMEvent;
66 class WebExternalPopupMenu; 66 class WebExternalPopupMenu;
67 class WebExternalPopupMenuClient; 67 class WebExternalPopupMenuClient;
68 class WebFormElement; 68 class WebFormElement;
69 class WebGeolocationClient; 69 class WebGeolocationClient;
70 class WebInputEvent; 70 class WebInputEvent;
71 class WebMediaPlayer; 71 class WebMediaPlayer;
72 class WebMediaPlayerClient; 72 class WebMediaPlayerClient;
73 class WebMIDIClient; 73 class WebMIDIClient;
74 class WebNotificationPermissionCallback; 74 class WebNotificationPermissionCallback;
75 class WebNotificationPresenter;
76 class WebServiceWorkerProvider; 75 class WebServiceWorkerProvider;
77 class WebServiceWorkerProviderClient; 76 class WebServiceWorkerProviderClient;
78 class WebSocketHandle; 77 class WebSocketHandle;
79 class WebNode; 78 class WebNode;
80 class WebPlugin; 79 class WebPlugin;
81 class WebRTCPeerConnectionHandler; 80 class WebRTCPeerConnectionHandler;
82 class WebScreenOrientationClient; 81 class WebScreenOrientationClient;
83 class WebSharedWorker; 82 class WebSharedWorker;
84 class WebSharedWorkerClient; 83 class WebSharedWorkerClient;
85 class WebSocketStreamHandle; 84 class WebSocketStreamHandle;
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 309
311 // Provides serialized markup of transition elements for use in the followin g navigation. 310 // Provides serialized markup of transition elements for use in the followin g navigation.
312 virtual void addNavigationTransitionData(const WebString& allowedDestination Origin, const WebString& selector, const WebString& markup) { } 311 virtual void addNavigationTransitionData(const WebString& allowedDestination Origin, const WebString& selector, const WebString& markup) { }
313 312
314 313
315 // Web Notifications --------------------------------------------------- 314 // Web Notifications ---------------------------------------------------
316 315
317 // Requests permission to display platform notifications on the origin of th is frame. 316 // Requests permission to display platform notifications on the origin of th is frame.
318 virtual void requestNotificationPermission(const WebSecurityOrigin&, WebNoti ficationPermissionCallback* callback) { } 317 virtual void requestNotificationPermission(const WebSecurityOrigin&, WebNoti ficationPermissionCallback* callback) { }
319 318
320 // Called to retrieve the provider of desktop notifications.
321 // FIXME: Remove this method once the presenter is obtained through Platform .
322 virtual WebNotificationPresenter* notificationPresenter() { return 0; }
323
324 319
325 // Editing ------------------------------------------------------------- 320 // Editing -------------------------------------------------------------
326 321
327 // These methods allow the client to intercept and overrule editing 322 // These methods allow the client to intercept and overrule editing
328 // operations. 323 // operations.
329 virtual void didChangeSelection(bool isSelectionEmpty) { } 324 virtual void didChangeSelection(bool isSelectionEmpty) { }
330 325
331 326
332 // Dialogs ------------------------------------------------------------- 327 // Dialogs -------------------------------------------------------------
333 328
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 // Whether the frame is controlled by the ServiceWorker 566 // Whether the frame is controlled by the ServiceWorker
572 virtual bool isControlledByServiceWorker() { return false; } 567 virtual bool isControlledByServiceWorker() { return false; }
573 568
574 protected: 569 protected:
575 virtual ~WebFrameClient() { } 570 virtual ~WebFrameClient() { }
576 }; 571 };
577 572
578 } // namespace blink 573 } // namespace blink
579 574
580 #endif 575 #endif
OLDNEW
« no previous file with comments | « public/platform/WebNotificationManager.h ('k') | public/web/WebNotification.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698