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