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

Unified Diff: content/public/browser/web_contents.h

Issue 1408393003: Propagate pageScaleFactor to GuestViews (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: content/public/browser/web_contents.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index 795bec5a678da5d77c5485d6e4a16b73063ecbd9..814f4f5540b20ad108d30f11d6675c9bee64e2f3 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -579,6 +579,8 @@ class WebContents : public PageNavigator,
virtual int GetMinimumZoomPercent() const = 0;
virtual int GetMaximumZoomPercent() const = 0;
+ // Set the renderer's page scale to the given factor.
+ virtual void SetPageScale(float page_scale_factor) = 0;
// Set the renderer's page scale back to one.
virtual void ResetPageScale() = 0;
wjmaclean 2015/10/19 15:43:28 Perhaps find calls to this and replace with SetPag
Kevin McNee - google account 2015/10/20 15:13:43 Done.

Powered by Google App Engine
This is Rietveld 408576698