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

Unified Diff: third_party/WebKit/Source/web/ChromeClientImpl.cpp

Issue 2848043002: Refactor WebView resize and update-after-layout methods (Closed)
Patch Set: Tweak names Created 3 years, 8 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/ChromeClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/ChromeClientImpl.cpp b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
index 08c8366d41776722df8098ebab7c22579f3e3855..fe305d710d0976991055240956d2968d912944f3 100644
--- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp
+++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
@@ -624,6 +624,10 @@ float ChromeClientImpl::ClampPageScaleFactorToLimits(float scale) const {
return web_view_->ClampPageScaleFactorToLimits(scale);
}
+void ChromeClientImpl::ResizeAfterLayout(LocalFrame* frame) const {
+ web_view_->ResizeAfterLayout(WebLocalFrameImpl::FromFrame(frame));
+}
+
void ChromeClientImpl::LayoutUpdated(LocalFrame* frame) const {
web_view_->LayoutUpdated(WebLocalFrameImpl::FromFrame(frame));
}

Powered by Google App Engine
This is Rietveld 408576698