| 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 size_t length) override; | 89 size_t length) override; |
| 90 void sendBlobData(const blink::WebURL& presentationUrl, | 90 void sendBlobData(const blink::WebURL& presentationUrl, |
| 91 const blink::WebString& presentationId, | 91 const blink::WebString& presentationId, |
| 92 const uint8_t* data, | 92 const uint8_t* data, |
| 93 size_t length) override; | 93 size_t length) override; |
| 94 void closeSession(const blink::WebURL& presentationUrl, | 94 void closeSession(const blink::WebURL& presentationUrl, |
| 95 const blink::WebString& presentationId) override; | 95 const blink::WebString& presentationId) override; |
| 96 void terminateSession(const blink::WebURL& presentationUrl, | 96 void terminateSession(const blink::WebURL& presentationUrl, |
| 97 const blink::WebString& presentationId) override; | 97 const blink::WebString& presentationId) override; |
| 98 void getAvailability( | 98 void getAvailability( |
| 99 const blink::WebURL& availabilityUrl, | 99 const blink::WebVector<blink::WebURL>& availabilityUrl, |
| 100 std::unique_ptr<blink::WebPresentationAvailabilityCallbacks> callbacks) | 100 std::unique_ptr<blink::WebPresentationAvailabilityCallbacks> callbacks) |
| 101 override; | 101 override; |
| 102 void startListening(blink::WebPresentationAvailabilityObserver*) override; | 102 void startListening(blink::WebPresentationAvailabilityObserver*) override; |
| 103 void stopListening(blink::WebPresentationAvailabilityObserver*) override; | 103 void stopListening(blink::WebPresentationAvailabilityObserver*) override; |
| 104 void setDefaultPresentationUrls( | 104 void setDefaultPresentationUrls( |
| 105 const blink::WebVector<blink::WebURL>& presentationUrls) override; | 105 const blink::WebVector<blink::WebURL>& presentationUrls) override; |
| 106 | 106 |
| 107 // RenderFrameObserver implementation. | 107 // RenderFrameObserver implementation. |
| 108 void DidCommitProvisionalLoad( | 108 void DidCommitProvisionalLoad( |
| 109 bool is_new_navigation, | 109 bool is_new_navigation, |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 // Updates the listening state of availability for |status| and notifies the | 184 // Updates the listening state of availability for |status| and notifies the |
| 185 // client. | 185 // client. |
| 186 void UpdateListeningState(AvailabilityStatus* status); | 186 void UpdateListeningState(AvailabilityStatus* status); |
| 187 | 187 |
| 188 DISALLOW_COPY_AND_ASSIGN(PresentationDispatcher); | 188 DISALLOW_COPY_AND_ASSIGN(PresentationDispatcher); |
| 189 }; | 189 }; |
| 190 | 190 |
| 191 } // namespace content | 191 } // namespace content |
| 192 | 192 |
| 193 #endif // CONTENT_RENDERER_PRESENTATION_PRESENTATION_DISPATCHER_H_ | 193 #endif // CONTENT_RENDERER_PRESENTATION_PRESENTATION_DISPATCHER_H_ |
| OLD | NEW |