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 <map> | 8 #include <map> |
9 #include <queue> | 9 #include <queue> |
10 | 10 |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 const blink::WebString& presentationId, | 69 const blink::WebString& presentationId, |
70 const blink::WebString& message) override; | 70 const blink::WebString& message) override; |
71 void sendArrayBuffer(const blink::WebString& presentationUrl, | 71 void sendArrayBuffer(const blink::WebString& presentationUrl, |
72 const blink::WebString& presentationId, | 72 const blink::WebString& presentationId, |
73 const uint8* data, | 73 const uint8* data, |
74 size_t length) override; | 74 size_t length) override; |
75 void sendBlobData(const blink::WebString& presentationUrl, | 75 void sendBlobData(const blink::WebString& presentationUrl, |
76 const blink::WebString& presentationId, | 76 const blink::WebString& presentationId, |
77 const uint8* data, | 77 const uint8* data, |
78 size_t length) override; | 78 size_t length) override; |
| 79 void closeSession(const blink::WebString& presentationUrl, |
| 80 const blink::WebString& presentationId) override; |
79 void terminateSession(const blink::WebString& presentationUrl, | 81 void terminateSession(const blink::WebString& presentationUrl, |
80 const blink::WebString& presentationId) override; | 82 const blink::WebString& presentationId) override; |
81 void getAvailability( | 83 void getAvailability( |
82 const blink::WebString& availabilityUrl, | 84 const blink::WebString& availabilityUrl, |
83 blink::WebPresentationAvailabilityCallbacks* callbacks) override; | 85 blink::WebPresentationAvailabilityCallbacks* callbacks) override; |
84 void startListening(blink::WebPresentationAvailabilityObserver*) override; | 86 void startListening(blink::WebPresentationAvailabilityObserver*) override; |
85 void stopListening(blink::WebPresentationAvailabilityObserver*) override; | 87 void stopListening(blink::WebPresentationAvailabilityObserver*) override; |
86 void setDefaultPresentationUrl(const blink::WebString& url) override; | 88 void setDefaultPresentationUrl(const blink::WebString& url) override; |
87 | 89 |
88 // RenderFrameObserver implementation. | 90 // RenderFrameObserver implementation. |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 // Updates the listening state of availability for |status| and notifies the | 158 // Updates the listening state of availability for |status| and notifies the |
157 // client. | 159 // client. |
158 void UpdateListeningState(AvailabilityStatus* status); | 160 void UpdateListeningState(AvailabilityStatus* status); |
159 | 161 |
160 DISALLOW_COPY_AND_ASSIGN(PresentationDispatcher); | 162 DISALLOW_COPY_AND_ASSIGN(PresentationDispatcher); |
161 }; | 163 }; |
162 | 164 |
163 } // namespace content | 165 } // namespace content |
164 | 166 |
165 #endif // CONTENT_RENDERER_PRESENTATION_PRESENTATION_DISPATCHER_H_ | 167 #endif // CONTENT_RENDERER_PRESENTATION_PRESENTATION_DISPATCHER_H_ |
OLD | NEW |