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

Unified Diff: public/web/WebViewClient.h

Issue 1313013005: Add a test that we resume commits after inserting the body. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove extra incs. Created 5 years, 4 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
« Source/web/tests/mocks/MockWebViewClient.h ('K') | « Source/web/web.gypi ('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 f1ffa139f0b19a0dc9e1112fa9748786e324eea7..e5f1eae17f02eefcd0969cf402e50421bf161307 100644
--- a/public/web/WebViewClient.h
+++ b/public/web/WebViewClient.h
@@ -115,6 +115,10 @@ public:
// A data url from <canvas> or <img> is passed to the method's argument.
virtual void saveImageFromDataURL(const WebString&) { }
+ // Used by unit tests so that all parsing will be main thread for controling
dcheng 2015/08/27 23:10:22 Nit: controlling
esprehn 2015/08/28 08:31:43 Done.
+ // parsing and chunking precisely.
+ virtual bool disableThreadedParsingForUnitTests() const { return false; }
dcheng 2015/08/27 23:10:22 This feels a bit out of place on WebViewClient. On
esprehn 2015/08/28 08:31:44 Internals is for layout tests, you cannot access i
+
// Editing -------------------------------------------------------------
« Source/web/tests/mocks/MockWebViewClient.h ('K') | « Source/web/web.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698