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

Unified Diff: chrome/browser/chrome_page_zoom.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 | « chrome/browser/browser_commands_unittest.cc ('k') | chrome/browser/chrome_page_zoom.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_page_zoom.h
diff --git a/chrome/browser/chrome_page_zoom.h b/chrome/browser/chrome_page_zoom.h
deleted file mode 100644
index f579cb167f0721e7b0483d8a19ad09a4a996dd47..0000000000000000000000000000000000000000
--- a/chrome/browser/chrome_page_zoom.h
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright (c) 2012 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_
-
-#include <vector>
-#include "content/public/common/page_zoom.h"
-
-namespace content {
-class WebContents;
-}
-
-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);
-
-// Adjusts the zoom level of |web_contents|.
-void Zoom(content::WebContents* web_contents, content::PageZoom zoom);
-
-} // namespace chrome_page_zoom
-
-#endif // CHROME_BROWSER_CHROME_PAGE_ZOOM_H_
« no previous file with comments | « chrome/browser/browser_commands_unittest.cc ('k') | chrome/browser/chrome_page_zoom.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698