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 #include "content/shell/renderer/shell_render_process_observer.h" | 5 #include "content/shell/renderer/shell_render_process_observer.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "content/public/common/content_client.h" | 8 #include "content/public/common/content_client.h" |
9 #include "content/public/renderer/render_thread.h" | 9 #include "content/public/renderer/render_thread.h" |
10 #include "content/public/renderer/render_view.h" | 10 #include "content/public/renderer/render_view.h" |
11 #include "content/public/test/layouttest_support.h" | 11 #include "content/public/test/layouttest_support.h" |
12 #include "content/shell/common/shell_messages.h" | 12 #include "content/shell/common/shell_messages.h" |
13 #include "content/shell/common/shell_switches.h" | 13 #include "content/shell/common/shell_switches.h" |
14 #include "content/shell/renderer/shell_content_renderer_client.h" | 14 #include "content/shell/renderer/shell_content_renderer_client.h" |
15 #include "content/shell/renderer/webkit_test_runner.h" | 15 #include "content/shell/renderer/webkit_test_runner.h" |
| 16 #include "third_party/WebKit/public/testing/WebTestInterfaces.h" |
16 #include "third_party/WebKit/public/web/WebView.h" | 17 #include "third_party/WebKit/public/web/WebView.h" |
17 #include "third_party/WebKit/Tools/DumpRenderTree/chromium/TestRunner/public/Web
TestInterfaces.h" | |
18 #include "webkit/glue/webkit_glue.h" | 18 #include "webkit/glue/webkit_glue.h" |
19 #include "webkit/support/gc_extension.h" | 19 #include "webkit/support/gc_extension.h" |
20 | 20 |
21 using WebKit::WebFrame; | 21 using WebKit::WebFrame; |
22 using WebTestRunner::WebTestDelegate; | 22 using WebTestRunner::WebTestDelegate; |
23 using WebTestRunner::WebTestInterfaces; | 23 using WebTestRunner::WebTestInterfaces; |
24 | 24 |
25 namespace content { | 25 namespace content { |
26 | 26 |
27 namespace { | 27 namespace { |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 webkit_source_dir_ = webkit_source_dir; | 90 webkit_source_dir_ = webkit_source_dir; |
91 } | 91 } |
92 | 92 |
93 void ShellRenderProcessObserver::OnLoadHyphenDictionary( | 93 void ShellRenderProcessObserver::OnLoadHyphenDictionary( |
94 const IPC::PlatformFileForTransit& dict_file) { | 94 const IPC::PlatformFileForTransit& dict_file) { |
95 ShellContentRendererClient::Get()->LoadHyphenDictionary( | 95 ShellContentRendererClient::Get()->LoadHyphenDictionary( |
96 IPC::PlatformFileForTransitToPlatformFile(dict_file)); | 96 IPC::PlatformFileForTransitToPlatformFile(dict_file)); |
97 } | 97 } |
98 | 98 |
99 } // namespace content | 99 } // namespace content |
OLD | NEW |