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

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

Powered by Google App Engine
This is Rietveld 408576698