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

Unified Diff: chrome/browser/ui/zoom/zoom_controller.h

Issue 678343002: Default zoom was never read from chrome://settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
Index: chrome/browser/ui/zoom/zoom_controller.h
diff --git a/chrome/browser/ui/zoom/zoom_controller.h b/chrome/browser/ui/zoom/zoom_controller.h
index db771ee3084c55d718fca57d49765f572a7d05a8..bd32adf50c9d70c4d2ae34301d952eb92132dd20 100644
--- a/chrome/browser/ui/zoom/zoom_controller.h
+++ b/chrome/browser/ui/zoom/zoom_controller.h
@@ -79,6 +79,9 @@ class ZoomController : public content::WebContentsObserver,
GetDefaultZoomLevel();
}
+ // Returns default zoom percentage of a tab.
+ int GetDefaultZoomPercent() const;
+
// Convenience method to quickly check if the tab's at default zoom.
bool IsAtDefaultZoom() const;

Powered by Google App Engine
This is Rietveld 408576698