Chromium Code Reviews| Index: third_party/WebKit/Source/core/dom/FullscreenCallbacks.h |
| diff --git a/third_party/WebKit/Source/core/dom/FullscreenCallbacks.h b/third_party/WebKit/Source/core/dom/FullscreenCallbacks.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..98d8901a5f8efcdf8b04616b6fc49f8aae22d245 |
| --- /dev/null |
| +++ b/third_party/WebKit/Source/core/dom/FullscreenCallbacks.h |
| @@ -0,0 +1,19 @@ |
| +// Copyright 2016 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 FullscreenCallbacks_h |
| +#define FullscreenCallbacks_h |
| + |
| +namespace blink { |
| + |
| +class FullscreenCallbacks { |
|
mlamouri (slow - plz ping)
2016/12/01 10:31:03
Any reason why you don't make this RequestFullscre
foolip
2016/12/01 10:52:59
A remnant from when I used callbacks also for exit
|
| + public: |
| + virtual ~FullscreenCallbacks() = default; |
| + virtual void onSuccess() = 0; |
| + virtual void onError() = 0; |
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif // FullscreenCallbacks_h |