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

Unified Diff: chrome/browser/chrome_page_zoom.h

Issue 8528011: Page zoom improvements (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: One last(?) tweak. Created 9 years, 1 month 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 | « no previous file | chrome/browser/chrome_page_zoom.cc » ('j') | chrome/browser/chrome_page_zoom_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_page_zoom.h
===================================================================
--- chrome/browser/chrome_page_zoom.h (revision 0)
+++ chrome/browser/chrome_page_zoom.h (revision 0)
@@ -0,0 +1,25 @@
+// Copyright (c) 2009 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 CHROME_BROWSER_CHROME_PAGE_ZOOM_H_
+#define CHROME_BROWSER_CHROME_PAGE_ZOOM_H_
+#pragma once
+
+#include <vector>
+
+namespace chrome_page_zoom {
+
+// Return a sorted vector of zoom factors. The vector will consist of preset
+// values along with a custom value (if the custom value is not already
+// represented.)
+std::vector<double> PresetZoomFactors(double custom_factor);
+
+// Return a sorted vector of zoom levels. The vector will consist of preset
+// values along with a custom value (if the custom value is not already
+// represented.)
+std::vector<double> PresetZoomLevels(double custom_level);
+
+} // namespace chrome_page_zoom
+
+#endif // CHROME_BROWSER_CHROME_PAGE_ZOOM_H_
Property changes on: chrome/browser/chrome_page_zoom.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « no previous file | chrome/browser/chrome_page_zoom.cc » ('j') | chrome/browser/chrome_page_zoom_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698