| Index: public/platform/WebPresentationController.h
|
| diff --git a/public/platform/WebPresentationController.h b/public/platform/WebPresentationController.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e8775071061b3a0580bc57f7e8541f71e5b29744
|
| --- /dev/null
|
| +++ b/public/platform/WebPresentationController.h
|
| @@ -0,0 +1,22 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef WebPresentationController_h
|
| +#define WebPresentationController_h
|
| +
|
| +namespace blink {
|
| +
|
| +// The delegate Blink provides to WebPresentationClient in order to get updates.
|
| +class WebPresentationController {
|
| +public:
|
| + virtual ~WebPresentationController() { }
|
| +
|
| + // Called when the presentation screen availability changes.
|
| + // May not be called if there's no registered listener for the event.
|
| + virtual void didChangeAvailability(bool available) = 0;
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // WebPresentationController_h
|
|
|