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

Side by Side Diff: components/test_runner/layout_and_paint_async_then.h

Issue 2707183003: Move //components/test_runner back into //content/shell (Closed)
Patch Set: Trim DEPS Created 3 years, 10 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_TEST_RUNNER_LAYOUT_AND_PAINT_ASYNC_THEN_H_
6 #define COMPONENTS_TEST_RUNNER_LAYOUT_AND_PAINT_ASYNC_THEN_H_
7
8 #include "base/callback_forward.h"
9 #include "components/test_runner/test_runner_export.h"
10
11 namespace blink {
12 class WebWidget;
13 } // namespace blink
14
15 namespace test_runner {
16
17 // Triggers a layout and paint of |web_widget| and its popup (if any).
18 // Calls |callback| after the layout and paint happens (for both the
19 // |web_widget| and its popup (if any)).
20 TEST_RUNNER_EXPORT void LayoutAndPaintAsyncThen(blink::WebWidget* web_widget,
21 const base::Closure& callback);
22
23 } // namespace test_runner
24
25 #endif // COMPONENTS_TEST_RUNNER_LAYOUT_AND_PAINT_ASYNC_THEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698