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

Unified Diff: third_party/WebKit/Source/modules/vr/VRDisplay.h

Issue 2859533003: WebVR: lock focus while presenting to presenting window (Closed)
Patch Set: Update comment + fix comment line lengths Created 3 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: third_party/WebKit/Source/modules/vr/VRDisplay.h
diff --git a/third_party/WebKit/Source/modules/vr/VRDisplay.h b/third_party/WebKit/Source/modules/vr/VRDisplay.h
index 9fc71c1a1de2fa7c6f97f9d4b1b955be0a2a5018..3391f95743ff370958f2bcfb013d567964e79119 100644
--- a/third_party/WebKit/Source/modules/vr/VRDisplay.h
+++ b/third_party/WebKit/Source/modules/vr/VRDisplay.h
@@ -141,6 +141,8 @@ class VRDisplay final : public EventTargetWithInlineData,
void ConnectVSyncProvider();
void OnVSyncConnectionError();
+ bool FocusedOrPresenting();
+
ScriptedAnimationController& EnsureScriptedAnimationController(Document*);
void ProcessScheduledAnimations(double timestamp);
void ProcessScheduledWindowAnimations(double timestamp);

Powered by Google App Engine
This is Rietveld 408576698