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

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

Issue 2801823003: [Presentation API] Change connection to 'connected' if start a presentation with "https://www.googl… (Closed)
Patch Set: fix windows compile error Created 3 years, 8 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/renderer/presentation/presentation_dispatcher.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_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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 std::unique_ptr<blink::WebPresentationAvailabilityCallbacks> callbacks) 146 std::unique_ptr<blink::WebPresentationAvailabilityCallbacks> callbacks)
147 override; 147 override;
148 void StartListening(blink::WebPresentationAvailabilityObserver*) override; 148 void StartListening(blink::WebPresentationAvailabilityObserver*) override;
149 void StopListening(blink::WebPresentationAvailabilityObserver*) override; 149 void StopListening(blink::WebPresentationAvailabilityObserver*) override;
150 void SetDefaultPresentationUrls( 150 void SetDefaultPresentationUrls(
151 const blink::WebVector<blink::WebURL>& presentationUrls) override; 151 const blink::WebVector<blink::WebURL>& presentationUrls) override;
152 152
153 // RenderFrameObserver implementation. 153 // RenderFrameObserver implementation.
154 void DidCommitProvisionalLoad(bool is_new_navigation, 154 void DidCommitProvisionalLoad(bool is_new_navigation,
155 bool is_same_document_navigation) override; 155 bool is_same_document_navigation) override;
156 void DidFinishDocumentLoad() override;
156 void OnDestruct() override; 157 void OnDestruct() override;
157 void WidgetWillClose() override; 158 void WidgetWillClose() override;
158 159
159 // blink::mojom::PresentationServiceClient 160 // blink::mojom::PresentationServiceClient
160 void OnScreenAvailabilityNotSupported(const GURL& url) override; 161 void OnScreenAvailabilityNotSupported(const GURL& url) override;
161 void OnScreenAvailabilityUpdated(const GURL& url, bool available) override; 162 void OnScreenAvailabilityUpdated(const GURL& url, bool available) override;
162 void OnConnectionStateChanged(const PresentationInfo& presentation_info, 163 void OnConnectionStateChanged(const PresentationInfo& presentation_info,
163 PresentationConnectionState state) override; 164 PresentationConnectionState state) override;
164 void OnConnectionClosed(const PresentationInfo& presentation_info, 165 void OnConnectionClosed(const PresentationInfo& presentation_info,
165 PresentationConnectionCloseReason reason, 166 PresentationConnectionCloseReason reason,
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 // Returns UNKNOWN if all urls in |urls| have screen availability 286 // Returns UNKNOWN if all urls in |urls| have screen availability
286 // UNKNOWN. 287 // UNKNOWN.
287 ScreenAvailability GetScreenAvailability(const std::vector<GURL>& urls) const; 288 ScreenAvailability GetScreenAvailability(const std::vector<GURL>& urls) const;
288 289
289 DISALLOW_COPY_AND_ASSIGN(PresentationDispatcher); 290 DISALLOW_COPY_AND_ASSIGN(PresentationDispatcher);
290 }; 291 };
291 292
292 } // namespace content 293 } // namespace content
293 294
294 #endif // CONTENT_RENDERER_PRESENTATION_PRESENTATION_DISPATCHER_H_ 295 #endif // CONTENT_RENDERER_PRESENTATION_PRESENTATION_DISPATCHER_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/presentation/presentation_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698