OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 CHROME_COMMON_PAGE_ZOOM_H_ | 5 #ifndef CHROME_COMMON_PAGE_ZOOM_H_ |
6 #define CHROME_COMMON_PAGE_ZOOM_H_ | 6 #define CHROME_COMMON_PAGE_ZOOM_H_ |
7 | 7 |
8 // This enum is the parameter to various text/page zoom commands so we know | |
9 // what the specific zoom command is. | |
10 class PageZoom { | 8 class PageZoom { |
11 public: | 9 public: |
| 10 // This enum is the parameter to various text/page zoom commands so we know |
| 11 // what the specific zoom command is. |
12 enum Function { | 12 enum Function { |
13 SMALLER = -1, | 13 ZOOM_OUT = -1, |
14 STANDARD = 0, | 14 RESET = 0, |
15 LARGER = 1, | 15 ZOOM_IN = 1, |
16 }; | 16 }; |
17 | 17 |
18 private: | 18 private: |
19 PageZoom() {} // For scoping only. | 19 DISALLOW_IMPLICIT_CONSTRUCTORS(PageZoom); |
20 }; | 20 }; |
21 | 21 |
22 #endif // CHROME_COMMON_PAGE_ZOOM_H_ | 22 #endif // CHROME_COMMON_PAGE_ZOOM_H_ |
OLD | NEW |