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

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

Issue 1808203005: [OnionSoup] Moving VR service from content to Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 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 #ifndef VRController_h 5 #ifndef VRController_h
6 #define VRController_h 6 #define VRController_h
7 7
8 #include "core/frame/LocalFrameLifecycleObserver.h" 8 #include "core/frame/LocalFrameLifecycleObserver.h"
9 #include "modules/ModulesExport.h" 9 #include "modules/ModulesExport.h"
10 #include "platform/Supplementable.h" 10 #include "platform/Supplementable.h"
(...skipping 22 matching lines...) Expand all
33 static const char* supplementName(); 33 static const char* supplementName();
34 34
35 DECLARE_VIRTUAL_TRACE(); 35 DECLARE_VIRTUAL_TRACE();
36 36
37 private: 37 private:
38 VRController(LocalFrame&, WebVRClient*); 38 VRController(LocalFrame&, WebVRClient*);
39 39
40 // Inherited from LocalFrameLifecycleObserver. 40 // Inherited from LocalFrameLifecycleObserver.
41 void willDetachFrameHost() override; 41 void willDetachFrameHost() override;
42 42
43 WebVRClient* m_client; 43 RefPtrWillBeMember<WebVRClient> m_client;
haraken 2016/03/19 00:45:18 This looks wrong. - You cannot use RefPtr in non-
RaviKasibhatla 2016/03/21 15:12:01 I have added Member<VRDispatcher> in VRController.
44 }; 44 };
45 45
46 } // namespace blink 46 } // namespace blink
47 47
48 #endif // VRController_h 48 #endif // VRController_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698