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

Unified Diff: Source/web/ChromeClientImpl.cpp

Issue 328883002: Accelerate small canvases if Ganesh is on. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 | « Source/web/ChromeClientImpl.h ('k') | public/platform/WebLayerTreeView.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/ChromeClientImpl.cpp
diff --git a/Source/web/ChromeClientImpl.cpp b/Source/web/ChromeClientImpl.cpp
index f0c39246aa2fe3e74868289b1cebaf0db432eaa2..79041e94c004160aea726ac0243ce11d6dfcae63 100644
--- a/Source/web/ChromeClientImpl.cpp
+++ b/Source/web/ChromeClientImpl.cpp
@@ -882,6 +882,11 @@ void ChromeClientImpl::openTextDataListChooser(HTMLInputElement& input)
m_webView->autofillClient()->openTextDataListChooser(WebInputElement(&input));
}
+bool ChromeClientImpl::usesGpuRasterization()
+{
+ return m_webView->layerTreeView()->usesGpuRasterization();
+}
+
PassOwnPtr<NavigatorContentUtilsClientImpl> NavigatorContentUtilsClientImpl::create(WebViewImpl* webView)
{
return adoptPtr(new NavigatorContentUtilsClientImpl(webView));
@@ -907,4 +912,5 @@ void NavigatorContentUtilsClientImpl::unregisterProtocolHandler(const String& sc
m_webView->client()->unregisterProtocolHandler(scheme, baseURL, url);
}
+
} // namespace blink
« no previous file with comments | « Source/web/ChromeClientImpl.h ('k') | public/platform/WebLayerTreeView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698