OLD | NEW |
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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 class WebMediaPlayerClient; | 71 class WebMediaPlayerClient; |
72 class WebMIDIClient; | 72 class WebMIDIClient; |
73 class WebNotificationPermissionCallback; | 73 class WebNotificationPermissionCallback; |
74 class WebNotificationPresenter; | 74 class WebNotificationPresenter; |
75 class WebServiceWorkerProvider; | 75 class WebServiceWorkerProvider; |
76 class WebServiceWorkerProviderClient; | 76 class WebServiceWorkerProviderClient; |
77 class WebSocketHandle; | 77 class WebSocketHandle; |
78 class WebNode; | 78 class WebNode; |
79 class WebPlugin; | 79 class WebPlugin; |
80 class WebPluginPlaceholder; | 80 class WebPluginPlaceholder; |
| 81 class WebPushClient; |
81 class WebRTCPeerConnectionHandler; | 82 class WebRTCPeerConnectionHandler; |
82 class WebScreenOrientationClient; | 83 class WebScreenOrientationClient; |
83 class WebSharedWorker; | 84 class WebSharedWorker; |
84 class WebSharedWorkerClient; | 85 class WebSharedWorkerClient; |
85 class WebString; | 86 class WebString; |
86 class WebURL; | 87 class WebURL; |
87 class WebURLLoader; | 88 class WebURLLoader; |
88 class WebURLResponse; | 89 class WebURLResponse; |
89 class WebUserMediaClient; | 90 class WebUserMediaClient; |
90 class WebWorkerPermissionClientProxy; | 91 class WebWorkerPermissionClientProxy; |
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
563 // ServiceWorker ------------------------------------------------------- | 564 // ServiceWorker ------------------------------------------------------- |
564 | 565 |
565 // Whether the document associated with WebDataSource is controlled by the | 566 // Whether the document associated with WebDataSource is controlled by the |
566 // ServiceWorker. | 567 // ServiceWorker. |
567 virtual bool isControlledByServiceWorker(WebDataSource&) { return false; } | 568 virtual bool isControlledByServiceWorker(WebDataSource&) { return false; } |
568 | 569 |
569 // Returns an identifier of the service worker controlling the document | 570 // Returns an identifier of the service worker controlling the document |
570 // associated with the WebDataSource. | 571 // associated with the WebDataSource. |
571 virtual int64_t serviceWorkerID(WebDataSource&) { return -1; } | 572 virtual int64_t serviceWorkerID(WebDataSource&) { return -1; } |
572 | 573 |
| 574 // Push API ------------------------------------------------------------ |
| 575 |
| 576 virtual WebPushClient* pushClient() { return 0; } |
| 577 |
573 protected: | 578 protected: |
574 virtual ~WebFrameClient() { } | 579 virtual ~WebFrameClient() { } |
575 }; | 580 }; |
576 | 581 |
577 } // namespace blink | 582 } // namespace blink |
578 | 583 |
579 #endif | 584 #endif |
OLD | NEW |