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

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

Issue 6672074: New accelerometer data from Raul Cuza. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 88b7443ce690c85e1573c12faf355b74f8dbb272..ef06b102ab47e969d292bd2413e544cd6e26b6cc 100644
--- a/content/browser/device_orientation/accelerometer_mac.cc
+++ b/content/browser/device_orientation/accelerometer_mac.cc
@@ -146,6 +146,9 @@ const AccelerometerMac::SensorDescriptor
// Tested by crc on a 15" MacBook Pro.
{ "MacBookPro1,1", NULL, { { 0, true }, { 2, true }, { 4, false } } },
+ // Tested by Raul Cuza (via avi) on a 17" MacBook Pro.
+ { "MacBookPro1,2", NULL, { { 0, true }, { 2, true }, { 4, false } } },
+
// Tested by L.V. (via avi) on a 17" MacBook Pro.
{ "MacBookPro2,1", NULL, { { 0, true }, { 2, false }, { 4, true } } },
@@ -199,9 +202,8 @@ const AccelerometerMac::SensorDescriptor
// Generic MacBook accelerometer sensor data, used for both future models
// and past models for which there has been no testing. Note that this generic
// configuration may well have problems with inverted axes.
- // TODO(avi): Find these past models and test on them; test on future models.
+ // TODO(avi): Find this past model and test on it; test on future models.
// MacBook5,1
- // MacBookPro1,2
{ "", NULL, { { 0, true }, { 2, true }, { 4, false } } }
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698