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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.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: third_party/WebKit/Source/web/WebViewImpl.h
diff --git a/third_party/WebKit/Source/web/WebViewImpl.h b/third_party/WebKit/Source/web/WebViewImpl.h
index bb234c4f41a4e5151ea24e288cd03b1a661efe8c..86e22da860875b118dbc74b9902658ebda7f39bc 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.h
+++ b/third_party/WebKit/Source/web/WebViewImpl.h
@@ -546,6 +546,7 @@ private:
void performResize();
void resizeViewWhileAnchored(FrameView*);
+ double setZoomLevelForFrame(WebLocalFrame*, double zoomLevel) override;
friend class WebView; // So WebView::Create can call our constructor
friend class WTF::RefCounted<WebViewImpl>;
@@ -621,6 +622,7 @@ private:
void cancelPagePopup();
void updatePageOverlays();
+ double setZoomLevelForFrame(LocalFrame*, double zoomLevel);
float deviceScaleFactor() const;
WebViewClient* m_client; // Can be 0 (e.g. unittests, shared workers, etc.)

Powered by Google App Engine
This is Rietveld 408576698