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

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

Issue 1002293005: [PresentationAPI] Plumbing send() from PresentationSession IDL to platform/. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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" 9 #include "public/platform/WebCommon.h"
10 10
(...skipping 22 matching lines...) Expand all
33 virtual void updateAvailableChangeWatched(bool watched) = 0; 33 virtual void updateAvailableChangeWatched(bool watched) = 0;
34 34
35 // Called when the frame requests to start a new session. 35 // Called when the frame requests to start a new session.
36 // The ownership of the |callbacks| argument is transferred to the embedder. 36 // The ownership of the |callbacks| argument is transferred to the embedder.
37 virtual void startSession(const WebString& presentationUrl, const WebString& presentationId, WebPresentationSessionClientCallbacks*) = 0; 37 virtual void startSession(const WebString& presentationUrl, const WebString& presentationId, WebPresentationSessionClientCallbacks*) = 0;
38 38
39 // Called when the frame requests to join an existing session. 39 // Called when the frame requests to join an existing session.
40 // The ownership of the |callbacks| argument is transferred to the embedder. 40 // The ownership of the |callbacks| argument is transferred to the embedder.
41 virtual void joinSession(const WebString& presentationUrl, const WebString& presentationId, WebPresentationSessionClientCallbacks*) = 0; 41 virtual void joinSession(const WebString& presentationUrl, const WebString& presentationId, WebPresentationSessionClientCallbacks*) = 0;
42 42
43 // Called when the frame requests to post DOMString message to an existing p resentation.
44 virtual void postMessage(const WebString& url, const WebString& presentation Id, const WebString& message) = 0;
Peter Beverloo 2015/03/25 20:20:29 This won't compile because the postMessage() metho
whywhat 2015/03/26 00:19:22 I think it might work actually if Chromium change
USE s.singapati at gmail.com 2015/03/26 11:57:40 Done. Added empty definition for now and will be c
45
43 // Called when the frame requests to close an existing session. 46 // Called when the frame requests to close an existing session.
44 virtual void closeSession(const WebString& url, const WebString& presentatio nId) = 0; 47 virtual void closeSession(const WebString& url, const WebString& presentatio nId) = 0;
45 }; 48 };
46 49
47 } // namespace blink 50 } // namespace blink
48 51
49 #endif // WebPresentationClient_h 52 #endif // WebPresentationClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698