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

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

Issue 624033003: [WIP] Move Web Notifications to a WebFrame-less code path (Blink). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: current state Created 6 years, 1 month 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 class WebDataSource; 64 class WebDataSource;
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 WebMediaPlayer; 70 class WebMediaPlayer;
71 class WebMediaPlayerClient; 71 class WebMediaPlayerClient;
72 class WebMIDIClient; 72 class WebMIDIClient;
73 class WebNotificationPermissionCallback; 73 class WebNotificationPermissionCallback;
74 class WebNotificationPresenter;
75 class WebServiceWorkerProvider; 74 class WebServiceWorkerProvider;
76 class WebServiceWorkerProviderClient; 75 class WebServiceWorkerProviderClient;
77 class WebSocketHandle; 76 class WebSocketHandle;
78 class WebNode; 77 class WebNode;
79 class WebPlugin; 78 class WebPlugin;
80 class WebPluginPlaceholder; 79 class WebPluginPlaceholder;
81 class WebRTCPeerConnectionHandler; 80 class WebRTCPeerConnectionHandler;
82 class WebScreenOrientationClient; 81 class WebScreenOrientationClient;
83 class WebSharedWorker; 82 class WebSharedWorker;
84 class WebSharedWorkerClient; 83 class WebSharedWorkerClient;
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 313
315 // Provides serialized markup of transition elements for use in the followin g navigation. 314 // Provides serialized markup of transition elements for use in the followin g navigation.
316 virtual void addNavigationTransitionData(const WebString& allowedDestination Origin, const WebString& selector, const WebString& markup) { } 315 virtual void addNavigationTransitionData(const WebString& allowedDestination Origin, const WebString& selector, const WebString& markup) { }
317 316
318 317
319 // Web Notifications --------------------------------------------------- 318 // Web Notifications ---------------------------------------------------
320 319
321 // Requests permission to display platform notifications on the origin of th is frame. 320 // Requests permission to display platform notifications on the origin of th is frame.
322 virtual void requestNotificationPermission(const WebSecurityOrigin&, WebNoti ficationPermissionCallback* callback) { } 321 virtual void requestNotificationPermission(const WebSecurityOrigin&, WebNoti ficationPermissionCallback* callback) { }
323 322
324 // Called to retrieve the provider of desktop notifications.
325 // FIXME: Remove this method once the presenter is obtained through Platform .
326 virtual WebNotificationPresenter* notificationPresenter() { return 0; }
327
328 323
329 // Editing ------------------------------------------------------------- 324 // Editing -------------------------------------------------------------
330 325
331 // These methods allow the client to intercept and overrule editing 326 // These methods allow the client to intercept and overrule editing
332 // operations. 327 // operations.
333 virtual void didChangeSelection(bool isSelectionEmpty) { } 328 virtual void didChangeSelection(bool isSelectionEmpty) { }
334 329
335 330
336 // Dialogs ------------------------------------------------------------- 331 // Dialogs -------------------------------------------------------------
337 332
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
572 // ServiceWorker. 567 // ServiceWorker.
573 virtual bool isControlledByServiceWorker(WebDataSource&) { return false; } 568 virtual bool isControlledByServiceWorker(WebDataSource&) { return false; }
574 569
575 protected: 570 protected:
576 virtual ~WebFrameClient() { } 571 virtual ~WebFrameClient() { }
577 }; 572 };
578 573
579 } // namespace blink 574 } // namespace blink
580 575
581 #endif 576 #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