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

Unified Diff: third_party/WebKit/public/web/WebViewClient.h

Issue 2143643002: Remove didAutoResize from WebWidgetClient and move it to WebViewClient.. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 5 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
« no previous file with comments | « content/renderer/render_widget.cc ('k') | third_party/WebKit/public/web/WebWidgetClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebViewClient.h
diff --git a/third_party/WebKit/public/web/WebViewClient.h b/third_party/WebKit/public/web/WebViewClient.h
index d0b4227779bd2646e4405d5e65f25b4eca31c239..54eff2e93104bc797a7e7384cad9bea5c4e4753c 100644
--- a/third_party/WebKit/public/web/WebViewClient.h
+++ b/third_party/WebKit/public/web/WebViewClient.h
@@ -187,6 +187,9 @@ public:
// Returns comma separated list of accept languages.
virtual WebString acceptLanguages() { return WebString(); }
+ // Called when the View has changed size as a result of an auto-resize.
+ virtual void didAutoResize(const WebSize& newSize) {}
+
// Session history -----------------------------------------------------
@@ -254,7 +257,6 @@ public:
void closeWidgetSoon() override {}
void convertViewportToWindow(WebRect* rect) override {}
void convertWindowToViewport(WebFloatRect* rect) override {}
- void didAutoResize(const WebSize& newSize) override {}
void didFocus() override {}
void didHandleGestureEvent(const WebGestureEvent& event, bool eventCancelled) override {}
void didInvalidateRect(const WebRect&) override {}
« no previous file with comments | « content/renderer/render_widget.cc ('k') | third_party/WebKit/public/web/WebWidgetClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698