| OLD | NEW |
| 1 // Copyright (c) 2009 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" |
| 10 |
| 9 class PageZoom { | 11 class PageZoom { |
| 10 public: | 12 public: |
| 11 // This enum is the parameter to various text/page zoom commands so we know | 13 // This enum is the parameter to various text/page zoom commands so we know |
| 12 // what the specific zoom command is. | 14 // what the specific zoom command is. |
| 13 enum Function { | 15 enum Function { |
| 14 ZOOM_OUT = -1, | 16 ZOOM_OUT = -1, |
| 15 RESET = 0, | 17 RESET = 0, |
| 16 ZOOM_IN = 1, | 18 ZOOM_IN = 1, |
| 17 }; | 19 }; |
| 18 | 20 |
| 19 private: | 21 private: |
| 20 DISALLOW_IMPLICIT_CONSTRUCTORS(PageZoom); | 22 DISALLOW_IMPLICIT_CONSTRUCTORS(PageZoom); |
| 21 }; | 23 }; |
| 22 | 24 |
| 23 #endif // CHROME_COMMON_PAGE_ZOOM_H_ | 25 #endif // CHROME_COMMON_PAGE_ZOOM_H_ |
| OLD | NEW |