Index: chrome/browser/chrome_page_zoom.h |
diff --git a/chrome/browser/chrome_page_zoom.h b/chrome/browser/chrome_page_zoom.h |
index b02b57aedd59023035c1871a5e3b458d1944d261..f579cb167f0721e7b0483d8a19ad09a4a996dd47 100644 |
--- a/chrome/browser/chrome_page_zoom.h |
+++ b/chrome/browser/chrome_page_zoom.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// 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. |
@@ -6,6 +6,11 @@ |
#define CHROME_BROWSER_CHROME_PAGE_ZOOM_H_ |
#include <vector> |
+#include "content/public/common/page_zoom.h" |
+ |
+namespace content { |
+class WebContents; |
+} |
namespace chrome_page_zoom { |
@@ -19,6 +24,9 @@ std::vector<double> PresetZoomFactors(double custom_factor); |
// 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_ |