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

Unified Diff: third_party/WebKit/Source/core/page/FocusChangedObserver.h

Issue 2668003003: Provide WebVR pose data only to the focused frame. (Closed)
Patch Set: Address comment Created 3 years, 10 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: third_party/WebKit/Source/core/page/FocusChangedObserver.h
diff --git a/third_party/WebKit/Source/core/page/FocusChangedObserver.h b/third_party/WebKit/Source/core/page/FocusChangedObserver.h
new file mode 100644
index 0000000000000000000000000000000000000000..6a669b7673ae2ae60b15ddf2b9691367f3849846
--- /dev/null
+++ b/third_party/WebKit/Source/core/page/FocusChangedObserver.h
@@ -0,0 +1,23 @@
+// Copyright 2017 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 FocusChangedObserver_h
+#define FocusChangedObserver_h
+
+#include "core/CoreExport.h"
+#include "platform/heap/Handle.h"
+
+namespace blink {
+
+class CORE_EXPORT FocusChangedObserver : public GarbageCollectedMixin {
+ public:
+ virtual void focusedFrameChanged() = 0;
+
+ protected:
+ virtual ~FocusChangedObserver() {}
+};
+
+} // namespace blink
+
+#endif // FocusChangedObserver_h

Powered by Google App Engine
This is Rietveld 408576698