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

Unified Diff: content/browser/device_orientation/accelerometer_mac.cc

Issue 10698046: Implements part of Device Motion in the Renderer (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/device_orientation/accelerometer_mac.cc
diff --git a/content/browser/device_orientation/accelerometer_mac.cc b/content/browser/device_orientation/accelerometer_mac.cc
index d47f2dc9b96e46a786840499774f646b9647df0a..6133a54fdc2dfa794373f3714bc4d48e15f021f8 100644
--- a/content/browser/device_orientation/accelerometer_mac.cc
+++ b/content/browser/device_orientation/accelerometer_mac.cc
@@ -24,6 +24,11 @@ AccelerometerMac::~AccelerometerMac() {
AccelerometerMac::AccelerometerMac() {
}
+bool AccelerometerMac::GetMotion(Motion* motion) {
+ // TODO(aousterh): implement this
+ return false;
+}
+
// Retrieve per-axis orientation values.
//
// Axes and angles are defined according to the W3C DeviceOrientation Draft.

Powered by Google App Engine
This is Rietveld 408576698