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

Unified Diff: components/test_runner/test_runner_for_specific_view.h

Issue 2034393003: testRunner.layoutAndPaintAsyncThen ==> testRunner.compositeAsyncThen (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « components/test_runner/test_runner.gyp ('k') | components/test_runner/test_runner_for_specific_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/test_runner_for_specific_view.h
diff --git a/components/test_runner/test_runner_for_specific_view.h b/components/test_runner/test_runner_for_specific_view.h
index 06c245ccae0febfb7e2018e40a756a22b45ea95a..131df9779161c4d324345fb0ac83ac3fa72993e8 100644
--- a/components/test_runner/test_runner_for_specific_view.h
+++ b/components/test_runner/test_runner_for_specific_view.h
@@ -72,10 +72,11 @@ class TestRunnerForSpecificView {
base::Closure CreateClosureThatPostsV8Callback(
const v8::Local<v8::Function>& callback);
- void LayoutAndPaintAsync();
- void LayoutAndPaintAsyncThen(v8::Local<v8::Function> callback);
+ // Updates all lifecycles of the WebView and schedules an asynchronous
+ // composite. Will invoke the callback when compositing finishes.
+ void CompositeAsyncThen(v8::Local<v8::Function> callback);
- // Similar to LayoutAndPaintAsyncThen(), but pass parameters of the captured
+ // Similar to CompositeAsyncThen(), but pass parameters of the captured
// snapshot (width, height, snapshot) to the callback. The snapshot is in
// uint8_t RGBA format.
void CapturePixelsAsyncThen(v8::Local<v8::Function> callback);
« no previous file with comments | « components/test_runner/test_runner.gyp ('k') | components/test_runner/test_runner_for_specific_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698