| OLD | NEW |
| 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 CONTENT_RENDERER_VR_DISPATCHER_H_ | 5 #ifndef CONTENT_RENDERER_VR_DISPATCHER_H_ |
| 6 #define CONTENT_RENDERER_VR_DISPATCHER_H_ | 6 #define CONTENT_RENDERER_VR_DISPATCHER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/id_map.h" | 10 #include "base/id_map.h" |
| 11 #include "base/macros.h" |
| 11 #include "content/common/vr_service.mojom.h" | 12 #include "content/common/vr_service.mojom.h" |
| 12 #include "third_party/WebKit/public/platform/WebVector.h" | 13 #include "third_party/WebKit/public/platform/WebVector.h" |
| 13 #include "third_party/WebKit/public/platform/modules/vr/WebVR.h" | 14 #include "third_party/WebKit/public/platform/modules/vr/WebVR.h" |
| 14 #include "third_party/WebKit/public/platform/modules/vr/WebVRClient.h" | 15 #include "third_party/WebKit/public/platform/modules/vr/WebVRClient.h" |
| 15 | 16 |
| 16 namespace content { | 17 namespace content { |
| 17 | 18 |
| 18 class ServiceRegistry; | 19 class ServiceRegistry; |
| 19 | 20 |
| 20 class VRDispatcher : NON_EXPORTED_BASE(public blink::WebVRClient) { | 21 class VRDispatcher : NON_EXPORTED_BASE(public blink::WebVRClient) { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 46 | 47 |
| 47 ServiceRegistry* service_registry_; | 48 ServiceRegistry* service_registry_; |
| 48 VRServicePtr vr_service_; | 49 VRServicePtr vr_service_; |
| 49 | 50 |
| 50 DISALLOW_COPY_AND_ASSIGN(VRDispatcher); | 51 DISALLOW_COPY_AND_ASSIGN(VRDispatcher); |
| 51 }; | 52 }; |
| 52 | 53 |
| 53 } // namespace content | 54 } // namespace content |
| 54 | 55 |
| 55 #endif // CONTENT_RENDERER_VR_DISPATCHER_H_ | 56 #endif // CONTENT_RENDERER_VR_DISPATCHER_H_ |
| OLD | NEW |