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

Unified Diff: chrome/browser/chrome_page_zoom.h

Issue 10736037: Enable keyboard shortcuts and some menu commands for browserless Panels. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Zoom moved to chrome_page_zoom Created 8 years, 5 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 | « no previous file | 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
index f45dc8c56531c652ded9e9a6e2e6d0369ea5a551..ee7af11e5c74ac42fb6c49e52633e7e542d817f9 100644
--- a/chrome/browser/chrome_page_zoom.h
+++ b/chrome/browser/chrome_page_zoom.h
@@ -7,6 +7,11 @@
#pragma once
#include <vector>
+#include "content/public/common/page_zoom.h"
+
+namespace content {
+ class WebContents;
Ben Goodger (Google) 2012/07/12 21:50:19 outdent
+}
namespace chrome_page_zoom {
@@ -20,6 +25,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_
« no previous file with comments | « no previous file | chrome/browser/chrome_page_zoom.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698