OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef ASH_MAGNIFIER_MAGNIFIER_CONSTANTS_H_ | 5 #ifndef ASH_MAGNIFIER_MAGNIFIER_CONSTANTS_H_ |
6 #define ASH_MAGNIFIER_MAGNIFIER_CONSTANTS_H_ | 6 #define ASH_MAGNIFIER_MAGNIFIER_CONSTANTS_H_ |
7 | 7 |
8 namespace ash { | 8 namespace ash { |
9 | 9 |
10 // Note: Do not change these values; UMA and prefs depend on them. | |
10 enum MagnifierType { | 11 enum MagnifierType { |
11 MAGNIFIER_OFF, | 12 MAGNIFIER_FULL = 1, |
12 MAGNIFIER_FULL, | 13 MAGNIFIER_PARTIAL = 2, |
13 MAGNIFIER_PARTIAL, | |
14 }; | 14 }; |
15 | 15 |
16 // 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.
| |
17 const int kNumMagnifierTypes = 3; | |
18 | |
19 const MagnifierType kDefaultMagnifierType = MAGNIFIER_FULL; | |
20 | |
16 } // namespace ash | 21 } // namespace ash |
17 | 22 |
18 #endif // ASH_MAGNIFIER_MAGNIFIER_CONSTANTS_H_ | 23 #endif // ASH_MAGNIFIER_MAGNIFIER_CONSTANTS_H_ |
OLD | NEW |