| 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/shell_render_process_observer.h" | 5 #include "content/shell/shell_render_process_observer.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "content/public/renderer/render_view.h" | 8 #include "content/public/renderer/render_view.h" |
| 9 #include "content/public/renderer/render_thread.h" | 9 #include "content/public/renderer/render_thread.h" |
| 10 #include "content/public/test/layouttest_support.h" | 10 #include "content/public/test/layouttest_support.h" |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 void ShellRenderProcessObserver::OnResetAll() { | 98 void ShellRenderProcessObserver::OnResetAll() { |
| 99 if (main_render_view_) { | 99 if (main_render_view_) { |
| 100 main_test_runner_->Reset(); | 100 main_test_runner_->Reset(); |
| 101 WebTestingSupport::resetInternalsObject( | 101 WebTestingSupport::resetInternalsObject( |
| 102 main_render_view_->GetWebView()->mainFrame()); | 102 main_render_view_->GetWebView()->mainFrame()); |
| 103 } | 103 } |
| 104 WebKitTestRunnerBindings::Reset(); | 104 WebKitTestRunnerBindings::Reset(); |
| 105 } | 105 } |
| 106 | 106 |
| 107 void ShellRenderProcessObserver::OnSetWebKitSourceDir( | 107 void ShellRenderProcessObserver::OnSetWebKitSourceDir( |
| 108 const FilePath& webkit_source_dir) { | 108 const base::FilePath& webkit_source_dir) { |
| 109 webkit_source_dir_ = webkit_source_dir; | 109 webkit_source_dir_ = webkit_source_dir; |
| 110 } | 110 } |
| 111 | 111 |
| 112 } // namespace content | 112 } // namespace content |
| OLD | NEW |