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

Side by Side Diff: device/vr/vr_device_manager.cc

Issue 2840563004: Move vr features.gni into its own directory. (Closed)
Patch Set: Update references to vr/features.h 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 | « device/vr/features/features.gni ('k') | ui/gfx/BUILD.gn » ('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 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 "device/vr/vr_device_manager.h" 5 #include "device/vr/vr_device_manager.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/memory/ptr_util.h" 10 #include "base/memory/ptr_util.h"
11 #include "base/memory/singleton.h" 11 #include "base/memory/singleton.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 #include "device/vr/features.h" 13 #include "device/vr/features/features.h"
14 14
15 #if defined(OS_ANDROID) 15 #if defined(OS_ANDROID)
16 #include "device/vr/android/gvr/gvr_device_provider.h" 16 #include "device/vr/android/gvr/gvr_device_provider.h"
17 #endif 17 #endif
18 18
19 #if BUILDFLAG(ENABLE_OPENVR) 19 #if BUILDFLAG(ENABLE_OPENVR)
20 #include "device/vr/openvr/openvr_device_provider.h" 20 #include "device/vr/openvr/openvr_device_provider.h"
21 #endif 21 #endif
22 22
23 namespace device { 23 namespace device {
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 for (const auto& provider : providers_) 199 for (const auto& provider : providers_)
200 provider->PollEvents(); 200 provider->PollEvents();
201 } 201 }
202 202
203 void VRDeviceManager::StopSchedulingPollEvents() { 203 void VRDeviceManager::StopSchedulingPollEvents() {
204 if (has_scheduled_poll_) 204 if (has_scheduled_poll_)
205 timer_.Stop(); 205 timer_.Stop();
206 } 206 }
207 207
208 } // namespace device 208 } // namespace device
OLDNEW
« no previous file with comments | « device/vr/features/features.gni ('k') | ui/gfx/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698