Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(155)

Side by Side Diff: content/renderer/presentation/presentation_dispatcher.h

Issue 1466573002: Presentation API: implement renderer side of PresentationConnection.close(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 const blink::WebString& presentationId, 68 const blink::WebString& presentationId,
69 const blink::WebString& message) override; 69 const blink::WebString& message) override;
70 void sendArrayBuffer(const blink::WebString& presentationUrl, 70 void sendArrayBuffer(const blink::WebString& presentationUrl,
71 const blink::WebString& presentationId, 71 const blink::WebString& presentationId,
72 const uint8* data, 72 const uint8* data,
73 size_t length) override; 73 size_t length) override;
74 void sendBlobData(const blink::WebString& presentationUrl, 74 void sendBlobData(const blink::WebString& presentationUrl,
75 const blink::WebString& presentationId, 75 const blink::WebString& presentationId,
76 const uint8* data, 76 const uint8* data,
77 size_t length) override; 77 size_t length) override;
78 void closeSession(const blink::WebString& presentationUrl,
79 const blink::WebString& presentationId) override;
78 void terminateSession(const blink::WebString& presentationUrl, 80 void terminateSession(const blink::WebString& presentationUrl,
79 const blink::WebString& presentationId) override; 81 const blink::WebString& presentationId) override;
80 void getAvailability( 82 void getAvailability(
81 const blink::WebString& availabilityUrl, 83 const blink::WebString& availabilityUrl,
82 blink::WebPresentationAvailabilityCallbacks* callbacks) override; 84 blink::WebPresentationAvailabilityCallbacks* callbacks) override;
83 void startListening(blink::WebPresentationAvailabilityObserver*) override; 85 void startListening(blink::WebPresentationAvailabilityObserver*) override;
84 void stopListening(blink::WebPresentationAvailabilityObserver*) override; 86 void stopListening(blink::WebPresentationAvailabilityObserver*) override;
85 void setDefaultPresentationUrl(const blink::WebString& url) override; 87 void setDefaultPresentationUrl(const blink::WebString& url) override;
86 88
87 // RenderFrameObserver implementation. 89 // RenderFrameObserver implementation.
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 // Updates the listening state of availability for |status| and notifies the 157 // Updates the listening state of availability for |status| and notifies the
156 // client. 158 // client.
157 void UpdateListeningState(AvailabilityStatus* status); 159 void UpdateListeningState(AvailabilityStatus* status);
158 160
159 DISALLOW_COPY_AND_ASSIGN(PresentationDispatcher); 161 DISALLOW_COPY_AND_ASSIGN(PresentationDispatcher);
160 }; 162 };
161 163
162 } // namespace content 164 } // namespace content
163 165
164 #endif // CONTENT_RENDERER_PRESENTATION_PRESENTATION_DISPATCHER_H_ 166 #endif // CONTENT_RENDERER_PRESENTATION_PRESENTATION_DISPATCHER_H_
OLDNEW
« no previous file with comments | « content/public/browser/presentation_service_delegate.h ('k') | content/renderer/presentation/presentation_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698