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

Unified Diff: device/sensors/public/cpp/orientation_data.h

Issue 2763333002: Convert device sensors structs from Blink to Chromium naming (Closed)
Patch Set: Rebase Created 3 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 | « device/sensors/public/cpp/motion_data.h ('k') | device/sensors/sensor_manager_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/sensors/public/cpp/orientation_data.h
diff --git a/device/sensors/public/cpp/orientation_data.h b/device/sensors/public/cpp/orientation_data.h
index e81bf8a06c55c3fabb1b4faeb87e0844e3761116..22cc9652ece66e57473c464becb44032e759949f 100644
--- a/device/sensors/public/cpp/orientation_data.h
+++ b/device/sensors/public/cpp/orientation_data.h
@@ -18,13 +18,13 @@ class OrientationData {
double beta;
double gamma;
- bool hasAlpha : 1;
- bool hasBeta : 1;
- bool hasGamma : 1;
+ bool has_alpha : 1;
+ bool has_beta : 1;
+ bool has_gamma : 1;
bool absolute : 1;
- bool allAvailableSensorsAreActive : 1;
+ bool all_available_sensors_are_active : 1;
};
static_assert(sizeof(OrientationData) ==
« no previous file with comments | « device/sensors/public/cpp/motion_data.h ('k') | device/sensors/sensor_manager_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698