OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ | 5 #ifndef CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ |
6 #define CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ | 6 #define CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "components/test_runner/test_preferences.h" | 15 #include "components/test_runner/test_preferences.h" |
16 #include "components/test_runner/web_test_delegate.h" | 16 #include "components/test_runner/web_test_delegate.h" |
17 #include "content/public/common/page_state.h" | 17 #include "content/public/common/page_state.h" |
18 #include "content/public/renderer/render_view_observer.h" | 18 #include "content/public/renderer/render_view_observer.h" |
19 #include "content/public/renderer/render_view_observer_tracker.h" | 19 #include "content/public/renderer/render_view_observer_tracker.h" |
20 #include "content/shell/common/shell_test_configuration.h" | 20 #include "content/shell/common/shell_test_configuration.h" |
21 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScree
nOrientationType.h" | 21 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScree
nOrientationType.h" |
22 #include "v8/include/v8.h" | 22 #include "v8/include/v8.h" |
23 | 23 |
24 class SkBitmap; | 24 class SkBitmap; |
25 class SkCanvas; | 25 class SkCanvas; |
26 | 26 |
| 27 namespace base { |
| 28 class SharedMemory; |
| 29 } |
| 30 |
27 namespace blink { | 31 namespace blink { |
28 class WebDeviceMotionData; | 32 class WebDeviceMotionData; |
29 class WebDeviceOrientationData; | 33 class WebDeviceOrientationData; |
30 struct WebRect; | 34 struct WebRect; |
31 } | 35 } |
32 | 36 |
33 namespace test_runner { | 37 namespace test_runner { |
34 class WebTestProxyBase; | 38 class WebTestProxyBase; |
35 } | 39 } |
36 | 40 |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 | 211 |
208 std::deque<base::Callback<void(const std::vector<std::string>&)>> | 212 std::deque<base::Callback<void(const std::vector<std::string>&)>> |
209 get_bluetooth_events_callbacks_; | 213 get_bluetooth_events_callbacks_; |
210 | 214 |
211 bool is_main_window_; | 215 bool is_main_window_; |
212 | 216 |
213 bool focus_on_next_commit_; | 217 bool focus_on_next_commit_; |
214 | 218 |
215 scoped_ptr<LeakDetector> leak_detector_; | 219 scoped_ptr<LeakDetector> leak_detector_; |
216 | 220 |
| 221 // Memory backing LayoutDumpFlags (shared across all renderers). |
| 222 scoped_ptr<base::SharedMemory> layout_dump_flags_memory_; |
| 223 |
217 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); | 224 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); |
218 }; | 225 }; |
219 | 226 |
220 } // namespace content | 227 } // namespace content |
221 | 228 |
222 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ | 229 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ |
OLD | NEW |