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

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

Issue 2128563002: Move scheduleAnimation calls from WebViewClient to WebWidgetClient. (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 | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | no next file » | 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 a2bb2f922075199c9950ce9d324e29aa6ad7564c..45d670ed6d24d6decdc67bbe0d50c378ca4d5913 100644
--- a/third_party/WebKit/public/web/WebViewClient.h
+++ b/third_party/WebKit/public/web/WebViewClient.h
@@ -267,7 +267,6 @@ public:
void onMouseDown(const WebNode& mouseDownNode) override {}
void resetInputMethod() override {}
WebRect rootWindowRect() override { return WebRect(); }
- void scheduleAnimation() override {}
WebScreenInfo screenInfo() override { return WebScreenInfo(); }
void setToolTipText(const WebString&, WebTextDirection hint) override {}
void setTouchAction(WebTouchAction touchAction) override {}
@@ -277,6 +276,7 @@ public:
void show(WebNavigationPolicy) override {}
WebRect windowRect() override { return WebRect(); }
WebRect windowResizerRect() override { return WebRect(); }
+ WebWidgetClient* widgetClient() { return this; }
Avi (use Gerrit) 2016/07/18 15:15:58 Do you see this becoming a permanent call on WebVi
lfg 2016/07/18 15:20:25 No. See my comment here: https://codereview.chromi
protected:
~WebViewClient() { }
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698