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

Side by Side Diff: content/browser/presentation/presentation_service_impl.h

Issue 1466573002: Presentation API: implement renderer side of PresentationConnection.close(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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_BROWSER_PRESENTATION_PRESENTATION_SERVICE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_PRESENTATION_PRESENTATION_SERVICE_IMPL_H_
6 #define CONTENT_BROWSER_PRESENTATION_PRESENTATION_SERVICE_IMPL_H_ 6 #define CONTENT_BROWSER_PRESENTATION_PRESENTATION_SERVICE_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 void JoinSession( 161 void JoinSession(
162 const mojo::String& presentation_url, 162 const mojo::String& presentation_url,
163 const mojo::String& presentation_id, 163 const mojo::String& presentation_id,
164 const NewSessionMojoCallback& callback) override; 164 const NewSessionMojoCallback& callback) override;
165 void SendSessionMessage(presentation::PresentationSessionInfoPtr session_info, 165 void SendSessionMessage(presentation::PresentationSessionInfoPtr session_info,
166 presentation::SessionMessagePtr session_message, 166 presentation::SessionMessagePtr session_message,
167 const SendMessageMojoCallback& callback) override; 167 const SendMessageMojoCallback& callback) override;
168 void CloseSession( 168 void CloseSession(
169 const mojo::String& presentation_url, 169 const mojo::String& presentation_url,
170 const mojo::String& presentation_id) override; 170 const mojo::String& presentation_id) override;
171 void TerminateSession(
172 const mojo::String& presentation_url,
173 const mojo::String& presentation_id) override;
171 void ListenForSessionStateChange() override; 174 void ListenForSessionStateChange() override;
172 void ListenForSessionMessages( 175 void ListenForSessionMessages(
173 presentation::PresentationSessionInfoPtr session) override; 176 presentation::PresentationSessionInfoPtr session) override;
174 177
175 // Creates a binding between this object and |request|. 178 // Creates a binding between this object and |request|.
176 void Bind(mojo::InterfaceRequest<presentation::PresentationService> request); 179 void Bind(mojo::InterfaceRequest<presentation::PresentationService> request);
177 180
178 // WebContentsObserver override. 181 // WebContentsObserver override.
179 void DidNavigateAnyFrame( 182 void DidNavigateAnyFrame(
180 content::RenderFrameHost* render_frame_host, 183 content::RenderFrameHost* render_frame_host,
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 281
279 // NOTE: Weak pointers must be invalidated before all other member variables. 282 // NOTE: Weak pointers must be invalidated before all other member variables.
280 base::WeakPtrFactory<PresentationServiceImpl> weak_factory_; 283 base::WeakPtrFactory<PresentationServiceImpl> weak_factory_;
281 284
282 DISALLOW_COPY_AND_ASSIGN(PresentationServiceImpl); 285 DISALLOW_COPY_AND_ASSIGN(PresentationServiceImpl);
283 }; 286 };
284 287
285 } // namespace content 288 } // namespace content
286 289
287 #endif // CONTENT_BROWSER_PRESENTATION_PRESENTATION_SERVICE_IMPL_H_ 290 #endif // CONTENT_BROWSER_PRESENTATION_PRESENTATION_SERVICE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698