OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_PAGE_ZOOM_H_ |
| 6 #define CHROME_BROWSER_PAGE_ZOOM_H_ |
| 7 #pragma once |
| 8 |
| 9 #include <vector> |
| 10 |
| 11 namespace page_zoom { |
| 12 |
| 13 // Return a sorted vector of zoom factors. The vector will consist of preset |
| 14 // values along with a custom value (if the custom value is not already |
| 15 // represented.) |
| 16 std::vector<double> PresetZoomFactors(double custom_factor); |
| 17 |
| 18 // Return a sorted vector of zoom levels. The vector will consist of preset |
| 19 // values along with a custom value (if the custom value is not already |
| 20 // represented.) |
| 21 std::vector<double> PresetZoomLevels(double custom_level); |
| 22 |
| 23 } // namespace page_zoom |
| 24 |
| 25 #endif // CHROME_BROWSER_PAGE_ZOOM_H_ |
OLD | NEW |