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

Unified Diff: third_party/WebKit/Source/core/dom/FullscreenCallbacks.h

Issue 2495423004: Convert FullscreenController to use WebCallbacks (Closed)
Patch Set: just in case Created 4 years 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 side-by-side diff with in-line comments
Download patch
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 {
+ public:
+ virtual ~FullscreenCallbacks() = default;
+ virtual void onSuccess() = 0;
+ virtual void onError() = 0;
+};
+
+} // namespace blink
+
+#endif // FullscreenCallbacks_h
« no previous file with comments | « third_party/WebKit/Source/core/dom/Fullscreen.cpp ('k') | third_party/WebKit/Source/core/page/ChromeClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698