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_SHELL_RENDER_PROCESS_OBSERVER_H_ | 5 #ifndef CONTENT_SHELL_SHELL_RENDER_PROCESS_OBSERVER_H_ |
6 #define CONTENT_SHELL_SHELL_RENDER_PROCESS_OBSERVER_H_ | 6 #define CONTENT_SHELL_SHELL_RENDER_PROCESS_OBSERVER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 WebTestRunner::WebTestInterfaces* test_interfaces() const { | 46 WebTestRunner::WebTestInterfaces* test_interfaces() const { |
47 return test_interfaces_.get(); | 47 return test_interfaces_.get(); |
48 } | 48 } |
49 WebKitTestRunner* main_test_runner() const { return main_test_runner_; } | 49 WebKitTestRunner* main_test_runner() const { return main_test_runner_; } |
50 const base::FilePath& webkit_source_dir() const { return webkit_source_dir_; } | 50 const base::FilePath& webkit_source_dir() const { return webkit_source_dir_; } |
51 | 51 |
52 private: | 52 private: |
53 // Message handlers. | 53 // Message handlers. |
54 void OnResetAll(); | 54 void OnResetAll(); |
55 void OnSetWebKitSourceDir(const base::FilePath& webkit_source_dir); | 55 void OnSetWebKitSourceDir(const base::FilePath& webkit_source_dir); |
56 void OnLoadHyphenDictionary(const IPC::PlatformFileForTransit& dict_file); | |
57 | 56 |
58 WebKitTestRunner* main_test_runner_; | 57 WebKitTestRunner* main_test_runner_; |
59 WebTestRunner::WebTestDelegate* test_delegate_; | 58 WebTestRunner::WebTestDelegate* test_delegate_; |
60 scoped_ptr<WebTestRunner::WebTestInterfaces> test_interfaces_; | 59 scoped_ptr<WebTestRunner::WebTestInterfaces> test_interfaces_; |
61 | 60 |
62 base::FilePath webkit_source_dir_; | 61 base::FilePath webkit_source_dir_; |
63 | 62 |
64 DISALLOW_COPY_AND_ASSIGN(ShellRenderProcessObserver); | 63 DISALLOW_COPY_AND_ASSIGN(ShellRenderProcessObserver); |
65 }; | 64 }; |
66 | 65 |
67 } // namespace content | 66 } // namespace content |
68 | 67 |
69 #endif // CONTENT_SHELL_SHELL_RENDER_PROCESS_OBSERVER_H_ | 68 #endif // CONTENT_SHELL_SHELL_RENDER_PROCESS_OBSERVER_H_ |
OLD | NEW |