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

Side by Side Diff: chrome/browser/media/router/presentation_service_delegate_impl.h

Issue 2471883002: [Presentation API] (1st) (1-UA) Add is_offscreen_presentation attribute to MediaRouter (Closed)
Patch Set: Created 4 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 CHROME_BROWSER_MEDIA_ROUTER_PRESENTATION_SERVICE_DELEGATE_IMPL_H_ 5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_PRESENTATION_SERVICE_DELEGATE_IMPL_H_
6 #define CHROME_BROWSER_MEDIA_ROUTER_PRESENTATION_SERVICE_DELEGATE_IMPL_H_ 6 #define CHROME_BROWSER_MEDIA_ROUTER_PRESENTATION_SERVICE_DELEGATE_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 const content::PresentationSessionInfo& session, 186 const content::PresentationSessionInfo& session,
187 const content::PresentationSessionStartedCallback& success_cb, 187 const content::PresentationSessionStartedCallback& success_cb,
188 const content::PresentationSessionErrorCallback& error_cb, 188 const content::PresentationSessionErrorCallback& error_cb,
189 const RouteRequestResult& result); 189 const RouteRequestResult& result);
190 190
191 void OnStartSessionSucceeded( 191 void OnStartSessionSucceeded(
192 int render_process_id, 192 int render_process_id,
193 int render_frame_id, 193 int render_frame_id,
194 const content::PresentationSessionStartedCallback& success_cb, 194 const content::PresentationSessionStartedCallback& success_cb,
195 const content::PresentationSessionInfo& new_session, 195 const content::PresentationSessionInfo& new_session,
196 const MediaRoute::Id& route_id); 196 const MediaRoute& route);
197 197
198 // References to the WebContents that owns this instance, and associated 198 // References to the WebContents that owns this instance, and associated
199 // browser profile's MediaRouter instance. 199 // browser profile's MediaRouter instance.
200 content::WebContents* const web_contents_; 200 content::WebContents* const web_contents_;
201 MediaRouter* router_; 201 MediaRouter* router_;
202 202
203 std::unique_ptr<PresentationFrameManager> frame_manager_; 203 std::unique_ptr<PresentationFrameManager> frame_manager_;
204 204
205 base::WeakPtrFactory<PresentationServiceDelegateImpl> weak_factory_; 205 base::WeakPtrFactory<PresentationServiceDelegateImpl> weak_factory_;
206 206
207 DISALLOW_COPY_AND_ASSIGN(PresentationServiceDelegateImpl); 207 DISALLOW_COPY_AND_ASSIGN(PresentationServiceDelegateImpl);
208 }; 208 };
209 209
210 } // namespace media_router 210 } // namespace media_router
211 211
212 #endif // CHROME_BROWSER_MEDIA_ROUTER_PRESENTATION_SERVICE_DELEGATE_IMPL_H_ 212 #endif // CHROME_BROWSER_MEDIA_ROUTER_PRESENTATION_SERVICE_DELEGATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698