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

Unified Diff: components/test_runner/composite_async_then.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/BUILD.gn ('k') | components/test_runner/composite_async_then.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/composite_async_then.h
diff --git a/components/test_runner/composite_async_then.h b/components/test_runner/composite_async_then.h
new file mode 100644
index 0000000000000000000000000000000000000000..624b17371f591ac20a94bfab505fac267fefdb06
--- /dev/null
+++ b/components/test_runner/composite_async_then.h
@@ -0,0 +1,25 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef COMPONENTS_TEST_RUNNER_COMPOSITE_ASYNC_THEN_H_
+#define COMPONENTS_TEST_RUNNER_COMPOSITE_ASYNC_THEN_H_
+
+#include "base/callback_forward.h"
+#include "components/test_runner/test_runner_export.h"
+
+namespace blink {
+class WebWidget;
+} // namespace blink
+
+namespace test_runner {
+
+// Triggers an asynchronous compositing of |web_widget| and its popup (if any).
+// Calls |callback| after compositing finishes (for both the |web_widget| and
+// its popup (if any)).
+TEST_RUNNER_EXPORT void CompositeAsyncThen(blink::WebWidget* web_widget,
+ const base::Closure& callback);
+
+} // namespace test_runner
+
+#endif // COMPONENTS_TEST_RUNNER_COMPOSITE_ASYNC_THEN_H_
« no previous file with comments | « components/test_runner/BUILD.gn ('k') | components/test_runner/composite_async_then.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698