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

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

Issue 999003004: Implementing closeSession from WebPresentationClient to PresentationService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: After merge Created 5 years, 9 months 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
« no previous file with comments | « no previous file | content/browser/presentation/presentation_service_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 void ListenForDefaultSessionStart( 154 void ListenForDefaultSessionStart(
155 const DefaultSessionMojoCallback& callback) override; 155 const DefaultSessionMojoCallback& callback) override;
156 void StartSession( 156 void StartSession(
157 const mojo::String& presentation_url, 157 const mojo::String& presentation_url,
158 const mojo::String& presentation_id, 158 const mojo::String& presentation_id,
159 const NewSessionMojoCallback& callback) override; 159 const NewSessionMojoCallback& callback) override;
160 void JoinSession( 160 void JoinSession(
161 const mojo::String& presentation_url, 161 const mojo::String& presentation_url,
162 const mojo::String& presentation_id, 162 const mojo::String& presentation_id,
163 const NewSessionMojoCallback& callback) override; 163 const NewSessionMojoCallback& callback) override;
164 void CloseSession(
165 const mojo::String& presentation_url,
166 const mojo::String& presentation_id) override;
164 167
165 // mojo::InterfaceImpl override. 168 // mojo::InterfaceImpl override.
166 // Note that this is called when the RenderFrameHost is deleted. 169 // Note that this is called when the RenderFrameHost is deleted.
167 void OnConnectionError() override; 170 void OnConnectionError() override;
168 171
169 // WebContentsObserver override. 172 // WebContentsObserver override.
170 void DidNavigateAnyFrame( 173 void DidNavigateAnyFrame(
171 content::RenderFrameHost* render_frame_host, 174 content::RenderFrameHost* render_frame_host,
172 const content::LoadCommittedDetails& details, 175 const content::LoadCommittedDetails& details,
173 const content::FrameNavigateParams& params) override; 176 const content::FrameNavigateParams& params) override;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 235
233 // NOTE: Weak pointers must be invalidated before all other member variables. 236 // NOTE: Weak pointers must be invalidated before all other member variables.
234 base::WeakPtrFactory<PresentationServiceImpl> weak_factory_; 237 base::WeakPtrFactory<PresentationServiceImpl> weak_factory_;
235 238
236 DISALLOW_COPY_AND_ASSIGN(PresentationServiceImpl); 239 DISALLOW_COPY_AND_ASSIGN(PresentationServiceImpl);
237 }; 240 };
238 241
239 } // namespace content 242 } // namespace content
240 243
241 #endif // CONTENT_BROWSER_PRESENTATION_PRESENTATION_SERVICE_IMPL_H_ 244 #endif // CONTENT_BROWSER_PRESENTATION_PRESENTATION_SERVICE_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/presentation/presentation_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698