OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_UI_ZOOM_PAGE_ZOOM_CONSTANTS_H_ | 5 #ifndef COMPONENTS_UI_ZOOM_PAGE_ZOOM_CONSTANTS_H_ |
6 #define COMPONENTS_UI_ZOOM_PAGE_ZOOM_CONSTANTS_H_ | 6 #define COMPONENTS_UI_ZOOM_PAGE_ZOOM_CONSTANTS_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 namespace ui_zoom { | 12 namespace ui_zoom { |
11 | 13 |
12 // Default zoom factors supported by ui_zoom. | 14 // Default zoom factors supported by ui_zoom. |
13 extern const double kPresetZoomFactors[]; | 15 extern const double kPresetZoomFactors[]; |
14 | 16 |
15 // Size of |kPresetZoomFactors|. | 17 // Size of |kPresetZoomFactors|. |
16 extern const std::size_t kPresetZoomFactorsSize; | 18 extern const std::size_t kPresetZoomFactorsSize; |
17 | 19 |
18 } // namespace ui_zoom | 20 } // namespace ui_zoom |
19 | 21 |
20 #endif // COMPONENTS_UI_ZOOM_PAGE_ZOOM_CONSTANTS_H_ | 22 #endif // COMPONENTS_UI_ZOOM_PAGE_ZOOM_CONSTANTS_H_ |
OLD | NEW |