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

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

Issue 687933002: Move push client to frame. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Address Peter's comments. 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
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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 class WebMediaPlayerClient; 72 class WebMediaPlayerClient;
73 class WebMIDIClient; 73 class WebMIDIClient;
74 class WebNotificationPermissionCallback; 74 class WebNotificationPermissionCallback;
75 class WebNotificationPresenter; 75 class WebNotificationPresenter;
76 class WebServiceWorkerProvider; 76 class WebServiceWorkerProvider;
77 class WebServiceWorkerProviderClient; 77 class WebServiceWorkerProviderClient;
78 class WebSocketHandle; 78 class WebSocketHandle;
79 class WebNode; 79 class WebNode;
80 class WebPlugin; 80 class WebPlugin;
81 class WebPluginPlaceholder; 81 class WebPluginPlaceholder;
82 class WebPushClient;
82 class WebRTCPeerConnectionHandler; 83 class WebRTCPeerConnectionHandler;
83 class WebScreenOrientationClient; 84 class WebScreenOrientationClient;
84 class WebSharedWorker; 85 class WebSharedWorker;
85 class WebSharedWorkerClient; 86 class WebSharedWorkerClient;
86 class WebString; 87 class WebString;
87 class WebURL; 88 class WebURL;
88 class WebURLLoader; 89 class WebURLLoader;
89 class WebURLResponse; 90 class WebURLResponse;
90 class WebUserMediaClient; 91 class WebUserMediaClient;
91 class WebWorkerPermissionClientProxy; 92 class WebWorkerPermissionClientProxy;
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 virtual void requestNotificationPermission(const WebSecurityOrigin&, WebNoti ficationPermissionCallback* callback) { } 331 virtual void requestNotificationPermission(const WebSecurityOrigin&, WebNoti ficationPermissionCallback* callback) { }
331 332
332 // Called to retrieve the provider of desktop notifications. 333 // Called to retrieve the provider of desktop notifications.
333 // FIXME: Remove this method once the presenter is obtained through Platform . 334 // FIXME: Remove this method once the presenter is obtained through Platform .
334 virtual WebNotificationPresenter* notificationPresenter() { return 0; } 335 virtual WebNotificationPresenter* notificationPresenter() { return 0; }
335 336
336 337
337 // Push API --------------------------------------------------- 338 // Push API ---------------------------------------------------
338 339
339 // Requests permission to use the Push API in the origin of this frame. 340 // Requests permission to use the Push API in the origin of this frame.
341 // FIXME: Merge this into WebPushClient as it's not going away as originally planned.
340 virtual void requestPushPermission(WebCallback* callback) { } 342 virtual void requestPushPermission(WebCallback* callback) { }
341 343
344 // Used to access the embedder for the Push API.
345 virtual WebPushClient* pushClient() { return 0; }
346
342 347
343 // Editing ------------------------------------------------------------- 348 // Editing -------------------------------------------------------------
344 349
345 // These methods allow the client to intercept and overrule editing 350 // These methods allow the client to intercept and overrule editing
346 // operations. 351 // operations.
347 virtual void didChangeSelection(bool isSelectionEmpty) { } 352 virtual void didChangeSelection(bool isSelectionEmpty) { }
348 353
349 354
350 // Dialogs ------------------------------------------------------------- 355 // Dialogs -------------------------------------------------------------
351 356
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 // associated with the WebDataSource. 599 // associated with the WebDataSource.
595 virtual int64_t serviceWorkerID(WebDataSource&) { return -1; } 600 virtual int64_t serviceWorkerID(WebDataSource&) { return -1; }
596 601
597 protected: 602 protected:
598 virtual ~WebFrameClient() { } 603 virtual ~WebFrameClient() { }
599 }; 604 };
600 605
601 } // namespace blink 606 } // namespace blink
602 607
603 #endif 608 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698