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

Side by Side Diff: third_party/WebKit/public/platform/modules/presentation/WebPresentationConnectionCallbacks.h

Issue 2471263003: [Presentation API] (4th)(1-UA blink side) Add WebPresentationConnection and WebPresentationConnecti… (Closed)
Patch Set: resolve code review comments from mlamouri Created 3 years, 10 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WebPresentationConnectionCallbacks_h
6 #define WebPresentationConnectionCallbacks_h
7
8 #include "public/platform/WebCallbacks.h"
9 #include "public/platform/WebCommon.h"
10
11 namespace blink {
12
13 class WebPresentationConnection;
14 struct WebPresentationError;
15 struct WebPresentationSessionInfo;
16
17 // If session was created, callback's onSuccess() is invoked with the
18 // information about the presentation session created by the embedder.
19 // Otherwise, onError() is invoked with the error code and message.
20 class WebPresentationConnectionCallbacks
21 : public WebCallbacks<const WebPresentationSessionInfo&,
22 const WebPresentationError&> {
23 public:
24 // Returns newly created PresentationConnection object if
25 // WebCallbacks::onSuccess() has been called.
26 virtual WebPresentationConnection* getConnection() = 0;
27 };
28
29 } // namespace blink
30
31 #endif // WebPresentationConnectionCallbacks_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698