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

Side by Side Diff: public/platform/WebPresentationController.h

Issue 832263007: Added plumbing for the availablechange event from Blink to WebPresentationClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added onClientDestroyed Created 5 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
« no previous file with comments | « public/platform/WebPresentationClient.h ('k') | public/web/WebFrameClient.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 #ifndef WebPresentationController_h
6 #define WebPresentationController_h
7
8 namespace blink {
9
10 // The delegate Blink provides to WebPresentationClient in order to get updates.
11 class WebPresentationController {
12 public:
13 virtual ~WebPresentationController() { }
14
15 // Called when the presentation screen availability changes.
16 // May not be called if there's no registered listener for the event.
17 virtual void didChangeAvailability(bool available) = 0;
18
19 // Indicates if the frame has listeners to the |availablechange| event.
20 virtual bool isAvailableChangeWatched() const = 0;
21
22 // Called when the corresponding WebPresentationClient is destroyed.
23 virtual void onClientDestroyed() = 0;
24 };
25
26 } // namespace blink
27
28 #endif // WebPresentationController_h
OLDNEW
« no previous file with comments | « public/platform/WebPresentationClient.h ('k') | public/web/WebFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698