| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-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 #include "base/basictypes.h" |
| 9 |
| 8 // This enum is the parameter to various text/page zoom commands so we know | 10 // This enum is the parameter to various text/page zoom commands so we know |
| 9 // what the specific zoom command is. | 11 // what the specific zoom command is. |
| 10 class PageZoom { | 12 class PageZoom { |
| 11 public: | 13 public: |
| 12 enum Function { | 14 enum Function { |
| 13 SMALLER = -1, | 15 TEXT_ONLY_SMALLER = -2, |
| 14 STANDARD = 0, | 16 SMALLER = -1, |
| 15 LARGER = 1, | 17 STANDARD = 0, |
| 18 LARGER = 1, |
| 19 TEXT_ONLY_LARGER = 2, |
| 16 }; | 20 }; |
| 17 | 21 |
| 18 private: | 22 private: |
| 19 PageZoom() {} // For scoping only. | 23 DISALLOW_IMPLICIT_CONSTRUCTORS(PageZoom); |
| 20 }; | 24 }; |
| 21 | 25 |
| 22 #endif // CHROME_COMMON_PAGE_ZOOM_H_ | 26 #endif // CHROME_COMMON_PAGE_ZOOM_H_ |
| OLD | NEW |