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

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. 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;
Peter Beverloo 2014/11/11 18:23:28 The PushClient currently has functionality for che
Michael van Ouwerkerk 2014/11/12 12:05:25 There will be no duplication. Requesting permissio
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 490 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 // ServiceWorker ------------------------------------------------------- 583 // ServiceWorker -------------------------------------------------------
583 584
584 // Whether the document associated with WebDataSource is controlled by the 585 // Whether the document associated with WebDataSource is controlled by the
585 // ServiceWorker. 586 // ServiceWorker.
586 virtual bool isControlledByServiceWorker(WebDataSource&) { return false; } 587 virtual bool isControlledByServiceWorker(WebDataSource&) { return false; }
587 588
588 // Returns an identifier of the service worker controlling the document 589 // Returns an identifier of the service worker controlling the document
589 // associated with the WebDataSource. 590 // associated with the WebDataSource.
590 virtual int64_t serviceWorkerID(WebDataSource&) { return -1; } 591 virtual int64_t serviceWorkerID(WebDataSource&) { return -1; }
591 592
593
594 // Push API ------------------------------------------------------------
Peter Beverloo 2014/11/11 18:23:28 You already have a Push API block around line 333.
Michael van Ouwerkerk 2014/11/12 12:05:25 Done.
595
596 // Used to access the embedder for the Push API.
597 virtual WebPushClient* pushClient() { return 0; }
598
592 protected: 599 protected:
593 virtual ~WebFrameClient() { } 600 virtual ~WebFrameClient() { }
594 }; 601 };
595 602
596 } // namespace blink 603 } // namespace blink
597 604
598 #endif 605 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698