Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(347)

Unified Diff: components/ui/zoom/page_zoom_constants.h

Issue 847703003: Refactor to move chrome_page_zoom functions to components/ui/zoom. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Mac compile. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/ui/zoom/page_zoom.cc ('k') | components/ui/zoom/page_zoom_constants.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ui/zoom/page_zoom_constants.h
diff --git a/components/ui/zoom/page_zoom_constants.h b/components/ui/zoom/page_zoom_constants.h
new file mode 100644
index 0000000000000000000000000000000000000000..50d9b4ce4556c4e81b4e422c3c3c86055f6bb128
--- /dev/null
+++ b/components/ui/zoom/page_zoom_constants.h
@@ -0,0 +1,20 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef COMPONENTS_UI_ZOOM_PAGE_ZOOM_CONSTANTS_H_
+#define COMPONENTS_UI_ZOOM_PAGE_ZOOM_CONSTANTS_H_
+
+#include <vector>
+
+namespace ui_zoom {
+
+// Default zoom factors supported by ui_zoom.
+extern const double kPresetZoomFactors[];
+
+// Size of |kPresetZoomFactors|.
+extern const std::size_t kPresetZoomFactorsSize;
+
+} // namespace ui_zoom
+
+#endif // COMPONENTS_UI_ZOOM_PAGE_ZOOM_CONSTANTS_H_
« no previous file with comments | « components/ui/zoom/page_zoom.cc ('k') | components/ui/zoom/page_zoom_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698