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

Unified Diff: Source/core/dom/FullscreenObserver.h

Issue 261983005: Stop firing orientationchange events at pages that are not visible (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Simplify test case Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/dom/FullscreenObserver.h
diff --git a/Source/core/inspector/InspectorNodeIds.h b/Source/core/dom/FullscreenObserver.h
similarity index 52%
copy from Source/core/inspector/InspectorNodeIds.h
copy to Source/core/dom/FullscreenObserver.h
index 50d3623270a2a2b7f1defeb34c74060baa2e236b..635c6ff0b67119c6b5403588cb185f9435d855f5 100644
--- a/Source/core/inspector/InspectorNodeIds.h
+++ b/Source/core/dom/FullscreenObserver.h
@@ -2,20 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef InspectorNodeIds_h
-#define InspectorNodeIds_h
+#ifndef FullscreenObserver_h
+#define FullscreenObserver_h
namespace WebCore {
-class Node;
-
-class InspectorNodeIds {
+class FullscreenObserver {
public:
- static int idForNode(Node*);
- static Node* nodeForId(int);
+ virtual void didFullyExitFullscreen() = 0;
+
+ virtual ~FullscreenObserver() { }
};
} // namespace WebCore
-
-#endif // !defined(InspectorNodeIds_h)
+#endif // FullscreenObserver_h

Powered by Google App Engine
This is Rietveld 408576698