OLD | NEW |
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_PIXEL_DUMP_H_ | 5 #ifndef CONTENT_SHELL_TEST_RUNNER_PIXEL_DUMP_H_ |
6 #define COMPONENTS_TEST_RUNNER_PIXEL_DUMP_H_ | 6 #define CONTENT_SHELL_TEST_RUNNER_PIXEL_DUMP_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 class SkBitmap; | 11 class SkBitmap; |
12 | 12 |
13 namespace blink { | 13 namespace blink { |
14 class WebView; | 14 class WebView; |
15 } // namespace blink | 15 } // namespace blink |
16 | 16 |
17 namespace test_runner { | 17 namespace test_runner { |
18 | 18 |
19 class LayoutTestRuntimeFlags; | 19 class LayoutTestRuntimeFlags; |
(...skipping 10 matching lines...) Expand all Loading... |
30 // Copy to clipboard the image present at |x|, |y| coordinates in |web_view| | 30 // Copy to clipboard the image present at |x|, |y| coordinates in |web_view| |
31 // and pass the captured image to |callback|. | 31 // and pass the captured image to |callback|. |
32 void CopyImageAtAndCapturePixels( | 32 void CopyImageAtAndCapturePixels( |
33 blink::WebView* web_view, | 33 blink::WebView* web_view, |
34 int x, | 34 int x, |
35 int y, | 35 int y, |
36 const base::Callback<void(const SkBitmap&)>& callback); | 36 const base::Callback<void(const SkBitmap&)>& callback); |
37 | 37 |
38 } // namespace test_runner | 38 } // namespace test_runner |
39 | 39 |
40 #endif // COMPONENTS_TEST_RUNNER_PIXEL_DUMP_H_ | 40 #endif // CONTENT_SHELL_TEST_RUNNER_PIXEL_DUMP_H_ |
OLD | NEW |