summaryrefslogtreecommitdiffstats
path: root/ash/magnifier
diff options
context:
space:
mode:
authoracolwell@chromium.org <acolwell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-10 16:46:31 +0000
committeracolwell@chromium.org <acolwell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-10 16:46:31 +0000
commitd830c09a119ef8fdb996c54cf7dc27696a12c637 (patch)
treed4abc30652914395b10a77ab494b6a00957b7dbc /ash/magnifier
parent5c4ac80fa18fddb045a69c6e02641b9f623e138a (diff)
downloadchromium_src-d830c09a119ef8fdb996c54cf7dc27696a12c637.zip
chromium_src-d830c09a119ef8fdb996c54cf7dc27696a12c637.tar.gz
chromium_src-d830c09a119ef8fdb996c54cf7dc27696a12c637.tar.bz2
Revert 176087
Appears to break ChromeOS browser_tests. > Re-introduce the partial magnifier > > Major Changes: > - Adding a selectbox at the right of screen magnifier setting on the setting page. > - Adding 'screen_magnifier_type2' pref. > - Separating the enable/disable state of magnifier from MagnifierType. MagnifierType does no longer indicate the current enable/disable status. > - Add IsMagnifierEnabled() to shell delegate. > > BUG=166832 > TEST=confirm that magnifier can be enabled/disabled via the tray and the settings page. browser_test passes. > > R=zork@chromium.org, derat@chromium.org, nkostylev@chromium.org > TBR=jhawkins@chromium.org > # TBRing for small changed in C/B/ui/webui/options/ and C/B/resources/options/ > > Review URL: https://chromiumcodereview.appspot.com/11642014 TBR=yoshiki@chromium.org Review URL: https://codereview.chromium.org/11821053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176102 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/magnifier')
-rw-r--r--ash/magnifier/magnifier_constants.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/ash/magnifier/magnifier_constants.h b/ash/magnifier/magnifier_constants.h
index aa7cac7..4ca4c89 100644
--- a/ash/magnifier/magnifier_constants.h
+++ b/ash/magnifier/magnifier_constants.h
@@ -7,16 +7,12 @@
namespace ash {
-// Note: Do not change these values; UMA and prefs depend on them.
enum MagnifierType {
- MAGNIFIER_FULL = 1,
- MAGNIFIER_PARTIAL = 2,
+ MAGNIFIER_OFF,
+ MAGNIFIER_FULL,
+ MAGNIFIER_PARTIAL,
};
-const int kMaxMagnifierType = 2;
-
-const MagnifierType kDefaultMagnifierType = MAGNIFIER_FULL;
-
} // namespace ash
#endif // ASH_MAGNIFIER_MAGNIFIER_CONSTANTS_H_