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

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

Issue 2887353004: WIP mojo typemaps for WTF time types (Closed)
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/vr/VRDisplay.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 // VRDisplayClient 128 // VRDisplayClient
129 void OnChanged(device::mojom::blink::VRDisplayInfoPtr) override; 129 void OnChanged(device::mojom::blink::VRDisplayInfoPtr) override;
130 void OnExitPresent() override; 130 void OnExitPresent() override;
131 void OnBlur() override; 131 void OnBlur() override;
132 void OnFocus() override; 132 void OnFocus() override;
133 void OnActivate(device::mojom::blink::VRDisplayEventReason, 133 void OnActivate(device::mojom::blink::VRDisplayEventReason,
134 const OnActivateCallback& on_handled) override; 134 const OnActivateCallback& on_handled) override;
135 void OnDeactivate(device::mojom::blink::VRDisplayEventReason) override; 135 void OnDeactivate(device::mojom::blink::VRDisplayEventReason) override;
136 136
137 void OnVSync(device::mojom::blink::VRPosePtr, 137 void OnVSync(device::mojom::blink::VRPosePtr,
138 mojo::common::mojom::blink::TimeDeltaPtr, 138 WTF::TimeDelta,
139 int16_t frame_id, 139 int16_t frame_id,
140 device::mojom::blink::VRVSyncProvider::Status); 140 device::mojom::blink::VRVSyncProvider::Status);
141 void ConnectVSyncProvider(); 141 void ConnectVSyncProvider();
142 void OnVSyncConnectionError(); 142 void OnVSyncConnectionError();
143 143
144 bool FocusedOrPresenting(); 144 bool FocusedOrPresenting();
145 145
146 ScriptedAnimationController& EnsureScriptedAnimationController(Document*); 146 ScriptedAnimationController& EnsureScriptedAnimationController(Document*);
147 void ProcessScheduledAnimations(double timestamp); 147 void ProcessScheduledAnimations(double timestamp);
148 void ProcessScheduledWindowAnimations(double timestamp); 148 void ProcessScheduledWindowAnimations(double timestamp);
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 kRequestDenied = 12, 221 kRequestDenied = 12,
222 kFullscreenNotEnabled = 13, 222 kFullscreenNotEnabled = 13,
223 kPresentationResultMax, // Must be last member of enum. 223 kPresentationResultMax, // Must be last member of enum.
224 }; 224 };
225 225
226 void ReportPresentationResult(PresentationResult); 226 void ReportPresentationResult(PresentationResult);
227 227
228 } // namespace blink 228 } // namespace blink
229 229
230 #endif // VRDisplay_h 230 #endif // VRDisplay_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/vr/VRDisplay.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698