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

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

Issue 2121373002: Move allowsBrokenNullLayerTreeView calls from WebViewClient to WebWidgetClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: adds override in RenderViewImpl to make sure we use the correct client 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
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 f94f9e9a0f209185c336e233dfdce5937cdf1219..1fee5c15f7b5857b4bbf05ea578c18f27acfac98 100644
--- a/third_party/WebKit/public/web/WebViewClient.h
+++ b/third_party/WebKit/public/web/WebViewClient.h
@@ -250,7 +250,6 @@ public:
// TODO(lfg): These methods are only exposed through WebViewClient while we
// refactor WebView to not inherit from WebWidget.
// WebWidgetClient overrides.
- bool allowsBrokenNullLayerTreeView() const override { return false; }
void closeWidgetSoon() override {}
void convertViewportToWindow(WebRect* rect) override {}
void convertWindowToViewport(WebFloatRect* rect) override {}
@@ -278,6 +277,7 @@ public:
void show(WebNavigationPolicy) override {}
WebRect windowRect() override { return WebRect(); }
WebRect windowResizerRect() override { return WebRect(); }
+ virtual WebWidgetClient* widgetClient() { return this; }
protected:
~WebViewClient() { }
« content/renderer/render_view_impl.h ('K') | « 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