OLD | NEW |
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 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_LAYOUT_TEST_RENDER_THREAD_OBSERVER_H_ | 5 #ifndef CONTENT_SHELL_RENDERER_LAYOUT_TEST_LAYOUT_TEST_RENDER_THREAD_OBSERVER_H_ |
6 #define CONTENT_SHELL_RENDERER_LAYOUT_TEST_LAYOUT_TEST_RENDER_THREAD_OBSERVER_H_ | 6 #define CONTENT_SHELL_RENDERER_LAYOUT_TEST_LAYOUT_TEST_RENDER_THREAD_OBSERVER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "content/public/renderer/render_thread_observer.h" | 13 #include "content/public/renderer/render_thread_observer.h" |
14 #include "ipc/ipc_platform_file.h" | 14 #include "ipc/ipc_platform_file.h" |
15 | 15 |
| 16 namespace base { |
| 17 class DictionaryValue; |
| 18 } |
| 19 |
16 namespace blink { | 20 namespace blink { |
17 class WebFrame; | 21 class WebFrame; |
18 } | 22 } |
19 | 23 |
20 namespace test_runner { | 24 namespace test_runner { |
21 class WebTestDelegate; | 25 class WebTestDelegate; |
22 class WebTestInterfaces; | 26 class WebTestInterfaces; |
23 } | 27 } |
24 | 28 |
25 namespace content { | 29 namespace content { |
(...skipping 15 matching lines...) Expand all Loading... |
41 return test_delegate_; | 45 return test_delegate_; |
42 } | 46 } |
43 test_runner::WebTestInterfaces* test_interfaces() const { | 47 test_runner::WebTestInterfaces* test_interfaces() const { |
44 return test_interfaces_.get(); | 48 return test_interfaces_.get(); |
45 } | 49 } |
46 const base::FilePath& webkit_source_dir() const { return webkit_source_dir_; } | 50 const base::FilePath& webkit_source_dir() const { return webkit_source_dir_; } |
47 | 51 |
48 private: | 52 private: |
49 // Message handlers. | 53 // Message handlers. |
50 void OnSetWebKitSourceDir(const base::FilePath& webkit_source_dir); | 54 void OnSetWebKitSourceDir(const base::FilePath& webkit_source_dir); |
| 55 void OnReplicateLayoutTestRuntimeFlagsChanges( |
| 56 const base::DictionaryValue& changed_layout_test_runtime_flags); |
51 | 57 |
52 test_runner::WebTestDelegate* test_delegate_; | 58 test_runner::WebTestDelegate* test_delegate_; |
53 std::unique_ptr<test_runner::WebTestInterfaces> test_interfaces_; | 59 std::unique_ptr<test_runner::WebTestInterfaces> test_interfaces_; |
54 | 60 |
55 base::FilePath webkit_source_dir_; | 61 base::FilePath webkit_source_dir_; |
56 | 62 |
57 DISALLOW_COPY_AND_ASSIGN(LayoutTestRenderThreadObserver); | 63 DISALLOW_COPY_AND_ASSIGN(LayoutTestRenderThreadObserver); |
58 }; | 64 }; |
59 | 65 |
60 } // namespace content | 66 } // namespace content |
61 | 67 |
62 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_LAYOUT_TEST_RENDER_THREAD_OBSERVER
_H_ | 68 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_LAYOUT_TEST_RENDER_THREAD_OBSERVER
_H_ |
OLD | NEW |