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

Side by Side Diff: third_party/WebKit/Source/modules/vr/VRDisplay.h

Issue 2756033002: Revert of Remove gesture token from vrdisplayactivate (Closed)
Patch Set: Created 3 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef VRDisplay_h 5 #ifndef VRDisplay_h
6 #define VRDisplay_h 6 #define VRDisplay_h
7 7
8 #include "core/dom/Document.h" 8 #include "core/dom/Document.h"
9 #include "core/dom/FrameRequestCallback.h" 9 #include "core/dom/FrameRequestCallback.h"
10 #include "core/events/EventTarget.h" 10 #include "core/events/EventTarget.h"
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 TaskRunnerTimer<VRDisplay> m_fullscreenCheckTimer; 167 TaskRunnerTimer<VRDisplay> m_fullscreenCheckTimer;
168 String m_fullscreenOrigWidth; 168 String m_fullscreenOrigWidth;
169 String m_fullscreenOrigHeight; 169 String m_fullscreenOrigHeight;
170 gpu::gles2::GLES2Interface* m_contextGL = nullptr; 170 gpu::gles2::GLES2Interface* m_contextGL = nullptr;
171 Member<WebGLRenderingContextBase> m_renderingContext; 171 Member<WebGLRenderingContextBase> m_renderingContext;
172 172
173 Member<ScriptedAnimationController> m_scriptedAnimationController; 173 Member<ScriptedAnimationController> m_scriptedAnimationController;
174 bool m_pendingRaf = false; 174 bool m_pendingRaf = false;
175 bool m_pendingVsync = false; 175 bool m_pendingVsync = false;
176 bool m_inAnimationFrame = false; 176 bool m_inAnimationFrame = false;
177 bool m_inDisplayActivate = false;
178 bool m_displayBlurred = false; 177 bool m_displayBlurred = false;
179 bool m_reenteredFullscreen = false; 178 bool m_reenteredFullscreen = false;
180 double m_timebase = -1; 179 double m_timebase = -1;
181 180
182 device::mojom::blink::VRDisplayPtr m_display; 181 device::mojom::blink::VRDisplayPtr m_display;
183 182
184 mojo::Binding<device::mojom::blink::VRDisplayClient> m_displayClientBinding; 183 mojo::Binding<device::mojom::blink::VRDisplayClient> m_displayClientBinding;
185 device::mojom::blink::VRVSyncProviderPtr m_vrVSyncProvider; 184 device::mojom::blink::VRVSyncProviderPtr m_vrVSyncProvider;
186 185
187 HeapDeque<Member<ScriptPromiseResolver>> m_pendingPresentResolvers; 186 HeapDeque<Member<ScriptPromiseResolver>> m_pendingPresentResolvers;
(...skipping 17 matching lines...) Expand all
205 RequestDenied = 12, 204 RequestDenied = 12,
206 FullscreenNotEnabled = 13, 205 FullscreenNotEnabled = 13,
207 PresentationResultMax, // Must be last member of enum. 206 PresentationResultMax, // Must be last member of enum.
208 }; 207 };
209 208
210 void ReportPresentationResult(PresentationResult); 209 void ReportPresentationResult(PresentationResult);
211 210
212 } // namespace blink 211 } // namespace blink
213 212
214 #endif // VRDisplay_h 213 #endif // VRDisplay_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/vr/NavigatorVR.cpp ('k') | third_party/WebKit/Source/modules/vr/VRDisplay.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698