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

Unified Diff: public/web/WebViewClient.h

Issue 309593007: Expand GPU rasterization trigger for Finch experiment (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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/tests/data/viewport/viewport-gpu-rasterization-expanded-heuristics.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebViewClient.h
diff --git a/public/web/WebViewClient.h b/public/web/WebViewClient.h
index 6f041e7a1ec2e65955ea641c1aadcaf772d4f459..fb00540903fc5f538a3457072e9eefd181369ba6 100644
--- a/public/web/WebViewClient.h
+++ b/public/web/WebViewClient.h
@@ -129,6 +129,9 @@ public:
// will never be called.
virtual bool enumerateChosenDirectory(const WebString& path, WebFileChooserCompletion*) { return false; }
+ // Whether to use less-restrictive criteria for identifying pages that are
+ // candidates for GPU rasterization.
+ virtual bool useExpandedHeuristicsForGpuRasterization() { return false; }
abarth-chromium 2014/06/04 02:23:43 This should be a WebSetting.
ajuma 2014/06/04 14:48:00 Done.
abarth-chromium 2014/06/04 02:23:43 Two spaces between sections.
// Editing -------------------------------------------------------------
« no previous file with comments | « Source/web/tests/data/viewport/viewport-gpu-rasterization-expanded-heuristics.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698