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

Side by Side Diff: public/platform/modules/presentation/WebPresentationClient.h

Issue 974993002: [Presentation API] Added the DefaultPresentationStart event and parsing of the default presentation… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Replaced the unused forward declaration with the used one 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
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 WebPresentationClient_h 5 #ifndef WebPresentationClient_h
6 #define WebPresentationClient_h 6 #define WebPresentationClient_h
7 7
8 #include "public/platform/WebCallbacks.h" 8 #include "public/platform/WebCallbacks.h"
9 #include "public/platform/WebCommon.h"
mlamouri (slow - plz ping) 2015/03/06 22:43:42 You probably don't need to add that.
whywhat 2015/03/10 13:00:44 Done.
9 10
10 namespace blink { 11 namespace blink {
11 12
12 class WebPresentationController; 13 class WebPresentationController;
13 class WebPresentationSessionClient; 14 class WebPresentationSessionClient;
14 class WebString; 15 class WebString;
15 struct WebPresentationError; 16 struct WebPresentationError;
16 17
17 // If session was created, callback's onSuccess() is invoked with the informatio n about the 18 // If session was created, callback's onSuccess() is invoked with the informatio n about the
18 // presentation session created by the embedder. Otherwise, onError() is invoked with the error code 19 // presentation session created by the embedder. Otherwise, onError() is invoked with the error code
(...skipping 17 matching lines...) Expand all
36 virtual void startSession(const WebString& presentationUrl, const WebString& presentationId, WebPresentationSessionClientCallbacks*) = 0; 37 virtual void startSession(const WebString& presentationUrl, const WebString& presentationId, WebPresentationSessionClientCallbacks*) = 0;
37 38
38 // Called when the frame request to start a new session. 39 // Called when the frame request to start a new session.
39 // The ownership of the |callbacks| argument is transferred to the embedder. 40 // The ownership of the |callbacks| argument is transferred to the embedder.
40 virtual void joinSession(const WebString& presentationUrl, const WebString& presentationId, WebPresentationSessionClientCallbacks*) = 0; 41 virtual void joinSession(const WebString& presentationUrl, const WebString& presentationId, WebPresentationSessionClientCallbacks*) = 0;
41 }; 42 };
42 43
43 } // namespace blink 44 } // namespace blink
44 45
45 #endif // WebPresentationClient_h 46 #endif // WebPresentationClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698