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

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

Issue 2495423004: Convert FullscreenController to use WebCallbacks (Closed)
Patch Set: public/WebFullscreenCallbacks->core/FullscreenCallbacks 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 {
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

Powered by Google App Engine
This is Rietveld 408576698