| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_RENDERER_PRESENTATION_PRESENTATION_DISPATCHER_H_ | 5 #ifndef CONTENT_RENDERER_PRESENTATION_PRESENTATION_DISPATCHER_H_ |
| 6 #define CONTENT_RENDERER_PRESENTATION_PRESENTATION_DISPATCHER_H_ | 6 #define CONTENT_RENDERER_PRESENTATION_PRESENTATION_DISPATCHER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 size_t length) override; | 104 size_t length) override; |
| 105 void sendBlobData(const blink::WebURL& presentationUrl, | 105 void sendBlobData(const blink::WebURL& presentationUrl, |
| 106 const blink::WebString& presentationId, | 106 const blink::WebString& presentationId, |
| 107 const uint8_t* data, | 107 const uint8_t* data, |
| 108 size_t length) override; | 108 size_t length) override; |
| 109 void closeSession(const blink::WebURL& presentationUrl, | 109 void closeSession(const blink::WebURL& presentationUrl, |
| 110 const blink::WebString& presentationId) override; | 110 const blink::WebString& presentationId) override; |
| 111 void terminateSession(const blink::WebURL& presentationUrl, | 111 void terminateSession(const blink::WebURL& presentationUrl, |
| 112 const blink::WebString& presentationId) override; | 112 const blink::WebString& presentationId) override; |
| 113 void getAvailability( | 113 void getAvailability( |
| 114 const blink::WebURL& availabilityUrl, | 114 const blink::WebVector<blink::WebURL>& availabilityUrl, |
| 115 std::unique_ptr<blink::WebPresentationAvailabilityCallbacks> callbacks) | 115 std::unique_ptr<blink::WebPresentationAvailabilityCallbacks> callbacks) |
| 116 override; | 116 override; |
| 117 void startListening(blink::WebPresentationAvailabilityObserver*) override; | 117 void startListening(blink::WebPresentationAvailabilityObserver*) override; |
| 118 void stopListening(blink::WebPresentationAvailabilityObserver*) override; | 118 void stopListening(blink::WebPresentationAvailabilityObserver*) override; |
| 119 void setDefaultPresentationUrls( | 119 void setDefaultPresentationUrls( |
| 120 const blink::WebVector<blink::WebURL>& presentationUrls) override; | 120 const blink::WebVector<blink::WebURL>& presentationUrls) override; |
| 121 | 121 |
| 122 // RenderFrameObserver implementation. | 122 // RenderFrameObserver implementation. |
| 123 void DidCommitProvisionalLoad( | 123 void DidCommitProvisionalLoad( |
| 124 bool is_new_navigation, | 124 bool is_new_navigation, |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 // Updates the listening state of availability for |status| and notifies the | 199 // Updates the listening state of availability for |status| and notifies the |
| 200 // client. | 200 // client. |
| 201 void UpdateListeningState(AvailabilityStatus* status); | 201 void UpdateListeningState(AvailabilityStatus* status); |
| 202 | 202 |
| 203 DISALLOW_COPY_AND_ASSIGN(PresentationDispatcher); | 203 DISALLOW_COPY_AND_ASSIGN(PresentationDispatcher); |
| 204 }; | 204 }; |
| 205 | 205 |
| 206 } // namespace content | 206 } // namespace content |
| 207 | 207 |
| 208 #endif // CONTENT_RENDERER_PRESENTATION_PRESENTATION_DISPATCHER_H_ | 208 #endif // CONTENT_RENDERER_PRESENTATION_PRESENTATION_DISPATCHER_H_ |
| OLD | NEW |