Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / public / platform / modules / presentation / WebPresentationSessionClient.h
blob87a5fba0501f2cef1f9ec612298598f37529a5a0
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
3 // found in the LICENSE file.
5 #ifndef WebPresentationSessionClient_h
6 #define WebPresentationSessionClient_h
8 #include "public/platform/WebString.h"
10 namespace blink {
12 enum class WebPresentationSessionState {
13 Connected = 0,
14 Disconnected,
17 // The implementation the embedder has to provide for the Presentation API to work.
18 class WebPresentationSessionClient {
19 public:
20 virtual ~WebPresentationSessionClient() { }
22 virtual WebString getId() = 0;
23 virtual WebString getUrl() = 0;
26 } // namespace blink
28 #endif // WebPresentationSessionClient_h