page_zoom_constants.h 604 B

12345678910111213141516171819202122
  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
  3. // found in the LICENSE file.
  4. #ifndef COMPONENTS_ZOOM_PAGE_ZOOM_CONSTANTS_H_
  5. #define COMPONENTS_ZOOM_PAGE_ZOOM_CONSTANTS_H_
  6. #include <stddef.h>
  7. #include <string>
  8. namespace zoom {
  9. // Default zoom factors supported by ui_zoom.
  10. extern const double kPresetZoomFactors[];
  11. // Size of |kPresetZoomFactors|.
  12. extern const std::size_t kPresetZoomFactorsSize;
  13. std::string GetPresetZoomFactorsAsJSON();
  14. } // namespace zoom
  15. #endif // COMPONENTS_ZOOM_PAGE_ZOOM_CONSTANTS_H_