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

Unified Diff: ash/magnifier/magnifier_constants.h

Issue 11642014: Re-introduce the partial magnifier (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review fix (comment #8) Created 7 years, 11 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: ash/magnifier/magnifier_constants.h
diff --git a/ash/magnifier/magnifier_constants.h b/ash/magnifier/magnifier_constants.h
index 4ca4c892e97b3b01cd6f9e7039fa1e1906547a23..1626c5b73939694c66cc04c9c00619c9eeeedf1f 100644
--- a/ash/magnifier/magnifier_constants.h
+++ b/ash/magnifier/magnifier_constants.h
@@ -7,12 +7,17 @@
namespace ash {
+// Note: Do not change these values; UMA and prefs depend on them.
enum MagnifierType {
- MAGNIFIER_OFF,
- MAGNIFIER_FULL,
- MAGNIFIER_PARTIAL,
+ MAGNIFIER_FULL = 1,
+ MAGNIFIER_PARTIAL = 2,
};
+// This value must be the maximum number of MagnifierType) + 1
Daniel Erat 2013/01/09 15:43:56 s/)// this is a bit misleading, though (it's 3, b
yoshiki 2013/01/10 06:25:39 Done.
+const int kNumMagnifierTypes = 3;
+
+const MagnifierType kDefaultMagnifierType = MAGNIFIER_FULL;
+
} // namespace ash
#endif // ASH_MAGNIFIER_MAGNIFIER_CONSTANTS_H_
« no previous file with comments | « no previous file | ash/shell/shell_delegate_impl.h » ('j') | chrome/browser/chromeos/accessibility/magnification_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698