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

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

Issue 1804023002: Fix page zoom to be frame-centric for out-of-process frames. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't use WeakPtr for PostTask on UI thread. Created 4 years, 9 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/browser/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index 4192099b9e92cee31cf6a6c783efed26e090eed4..89b5d5fb9fad65169da8d6d8c8f7fa38d7eefe69 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -224,6 +224,12 @@ class CONTENT_EXPORT WebContentsImpl
const ui::AXTreeUpdate&)>;
void RequestAXTreeSnapshot(AXTreeSnapshotCallback callback);
+ void SetTemporaryZoomLevel(double level, bool is_temporary);
alexmos 2016/04/05 18:00:54 nit: comments explaining what the new functions ar
wjmaclean 2016/04/05 20:22:00 Done.
+ void UpdateZoom(double level);
+ void UpdateZoomIfNecessary(const std::string& scheme,
+ const std::string& host,
+ double level);
+
// WebContents ------------------------------------------------------
WebContentsDelegate* GetDelegate() override;
void SetDelegate(WebContentsDelegate* delegate) override;

Powered by Google App Engine
This is Rietveld 408576698