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

Unified Diff: ui/gfx/display.h

Issue 1108343002: Revert of Merge Prevent DisplayPreferences from saving incorrect rotations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2357
Patch Set: Created 5 years, 8 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 | « chrome/browser/ui/webui/options/chromeos/display_options_handler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/display.h
diff --git a/ui/gfx/display.h b/ui/gfx/display.h
index f6c23c1fbbac81ec55e16559f30481b0ec93cce1..fe2a40cf632b6fa81c5fa7119b2f87b1574cef0e 100644
--- a/ui/gfx/display.h
+++ b/ui/gfx/display.h
@@ -28,18 +28,6 @@
ROTATE_90,
ROTATE_180,
ROTATE_270,
- };
-
- // The display rotation can have multiple causes for change. A user can set a
- // preference. On devices with accelerometers, they can change the rotation.
- // RotationSource allows for the tracking of a Rotation per source of the
- // change. ROTATION_SOURCE_ACTIVE is the current rotation of the display.
- // Rotation changes not due to an accelerometer, nor the user, are to use this
- // source directly.
- enum RotationSource {
- ROTATION_SOURCE_ACCELEROMETER = 0,
- ROTATION_SOURCE_ACTIVE,
- ROTATION_SOURCE_USER,
};
// Touch support for the display.
« no previous file with comments | « chrome/browser/ui/webui/options/chromeos/display_options_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698