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