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

Side by Side Diff: content/browser/device_sensors/data_fetcher_shared_memory.h

Issue 1986263003: [Win] Implement deviceorientationabsolute data fetcher. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | content/browser/device_sensors/data_fetcher_shared_memory_win.cc » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_BROWSER_DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_H_ 5 #ifndef CONTENT_BROWSER_DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_H_
6 #define CONTENT_BROWSER_DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_H_ 6 #define CONTENT_BROWSER_DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "content/browser/device_sensors/data_fetcher_shared_memory_base.h" 10 #include "content/browser/device_sensors/data_fetcher_shared_memory_base.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 class SensorEventSinkLight; 67 class SensorEventSinkLight;
68 68
69 FetcherType GetType() const override; 69 FetcherType GetType() const override;
70 70
71 bool RegisterForSensor(REFSENSOR_TYPE_ID sensor_type, ISensor** sensor, 71 bool RegisterForSensor(REFSENSOR_TYPE_ID sensor_type, ISensor** sensor,
72 scoped_refptr<SensorEventSink> event_sink); 72 scoped_refptr<SensorEventSink> event_sink);
73 void DisableSensors(ConsumerType consumer_type); 73 void DisableSensors(ConsumerType consumer_type);
74 void SetBufferAvailableState(ConsumerType consumer_type, bool enabled); 74 void SetBufferAvailableState(ConsumerType consumer_type, bool enabled);
75 75
76 base::win::ScopedComPtr<ISensor> sensor_inclinometer_; 76 base::win::ScopedComPtr<ISensor> sensor_inclinometer_;
77 base::win::ScopedComPtr<ISensor> sensor_inclinometer_absolute_;
77 base::win::ScopedComPtr<ISensor> sensor_accelerometer_; 78 base::win::ScopedComPtr<ISensor> sensor_accelerometer_;
78 base::win::ScopedComPtr<ISensor> sensor_gyrometer_; 79 base::win::ScopedComPtr<ISensor> sensor_gyrometer_;
79 base::win::ScopedComPtr<ISensor> sensor_light_; 80 base::win::ScopedComPtr<ISensor> sensor_light_;
80 #endif 81 #endif
81 82
82 DISALLOW_COPY_AND_ASSIGN(DataFetcherSharedMemory); 83 DISALLOW_COPY_AND_ASSIGN(DataFetcherSharedMemory);
83 }; 84 };
84 85
85 } // namespace content 86 } // namespace content
86 87
87 #endif // CONTENT_BROWSER_DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_H_ 88 #endif // CONTENT_BROWSER_DEVICE_SENSORS_DATA_FETCHER_SHARED_MEMORY_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/device_sensors/data_fetcher_shared_memory_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698