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

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

Issue 2714693002: [Presentation API] Use connection proxy to change connection state to 'closed' (Closed)
Patch Set: Created 3 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 2017 The Chromium Authors. All rights reserved. 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 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 WebPresentationConnectionProxy_h 5 #ifndef WebPresentationConnectionProxy_h
6 #define WebPresentationConnectionProxy_h 6 #define WebPresentationConnectionProxy_h
7 7
8 namespace blink { 8 namespace blink {
9 9
10 // The implementation the embedder has to provide for the Presentation API to 10 // The implementation the embedder has to provide for the Presentation API to
11 // work. This class is used to send messages to a PresentationConnection hosted 11 // work. This class is used to send messages to a PresentationConnection hosted
12 // in a different frame. 12 // in a different frame.
13 class WebPresentationConnectionProxy { 13 class WebPresentationConnectionProxy {
14 public: 14 public:
15 virtual ~WebPresentationConnectionProxy() = default; 15 virtual ~WebPresentationConnectionProxy() = default;
16
17 // Close target connection.
18 virtual void close() const = 0;
16 }; 19 };
17 20
18 } // namespace blink 21 } // namespace blink
19 22
20 #endif // WebPresentationConnectionProxy_h 23 #endif // WebPresentationConnectionProxy_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698