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

Side by Side Diff: third_party/WebKit/Source/modules/vr/NavigatorVR.cpp

Issue 2801083003: Rewrite references to "wtf/" to "platform/wtf/" in modules. (Closed)
Patch Set: Rebase again^3. Will try landing directly. Created 3 years, 8 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include "modules/vr/NavigatorVR.h" 5 #include "modules/vr/NavigatorVR.h"
6 6
7 #include "bindings/core/v8/ScriptPromiseResolver.h" 7 #include "bindings/core/v8/ScriptPromiseResolver.h"
8 #include "core/dom/DOMException.h" 8 #include "core/dom/DOMException.h"
9 #include "core/dom/Document.h" 9 #include "core/dom/Document.h"
10 #include "core/dom/ExceptionCode.h" 10 #include "core/dom/ExceptionCode.h"
11 #include "core/dom/Fullscreen.h" 11 #include "core/dom/Fullscreen.h"
12 #include "core/frame/LocalDOMWindow.h" 12 #include "core/frame/LocalDOMWindow.h"
13 #include "core/frame/LocalFrame.h" 13 #include "core/frame/LocalFrame.h"
14 #include "core/frame/Navigator.h" 14 #include "core/frame/Navigator.h"
15 #include "core/frame/UseCounter.h" 15 #include "core/frame/UseCounter.h"
16 #include "core/page/Page.h" 16 #include "core/page/Page.h"
17 #include "modules/vr/VRController.h" 17 #include "modules/vr/VRController.h"
18 #include "modules/vr/VRDisplay.h" 18 #include "modules/vr/VRDisplay.h"
19 #include "modules/vr/VRGetDevicesCallback.h" 19 #include "modules/vr/VRGetDevicesCallback.h"
20 #include "modules/vr/VRPose.h" 20 #include "modules/vr/VRPose.h"
21 #include "platform/wtf/PtrUtil.h"
21 #include "public/platform/Platform.h" 22 #include "public/platform/Platform.h"
22 #include "wtf/PtrUtil.h"
23 23
24 namespace blink { 24 namespace blink {
25 25
26 namespace { 26 namespace {
27 27
28 void RejectNavigatorDetached(ScriptPromiseResolver* resolver) { 28 void RejectNavigatorDetached(ScriptPromiseResolver* resolver) {
29 DOMException* exception = DOMException::Create( 29 DOMException* exception = DOMException::Create(
30 kInvalidStateError, 30 kInvalidStateError,
31 "The object is no longer associated with a document."); 31 "The object is no longer associated with a document.");
32 resolver->Reject(exception); 32 resolver->Reject(exception);
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 180
181 void NavigatorVR::DidRemoveAllEventListeners(LocalDOMWindow* window) { 181 void NavigatorVR::DidRemoveAllEventListeners(LocalDOMWindow* window) {
182 if (!controller_) 182 if (!controller_)
183 return; 183 return;
184 184
185 controller_->SetListeningForActivate(false); 185 controller_->SetListeningForActivate(false);
186 listening_for_activate_ = false; 186 listening_for_activate_ = false;
187 } 187 }
188 188
189 } // namespace blink 189 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/vr/NavigatorVR.h ('k') | third_party/WebKit/Source/modules/vr/VRController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698