| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 "webkit/tools/test_shell/test_shell_devtools_agent.h" | 5 #include "webkit/tools/test_shell/test_shell_devtools_agent.h" |
| 6 | 6 |
| 7 #include "base/message_loop.h" | 7 #include "base/message_loop.h" |
| 8 #include "grit/webkit_chromium_resources.h" | 8 #include "grit/webkit_chromium_resources.h" |
| 9 #include "third_party/WebKit/WebKit/chromium/public/WebDevToolsAgent.h" | 9 #include "third_party/WebKit/WebKit/chromium/public/WebDevToolsAgent.h" |
| 10 #include "third_party/WebKit/WebKit/chromium/public/WebView.h" | 10 #include "third_party/WebKit/WebKit/chromium/public/WebView.h" |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 | 155 |
| 156 bool TestShellDevToolsAgent::evaluateInWebInspector( | 156 bool TestShellDevToolsAgent::evaluateInWebInspector( |
| 157 long call_id, | 157 long call_id, |
| 158 const std::string& script) { | 158 const std::string& script) { |
| 159 WebDevToolsAgent* agent = GetWebAgent(); | 159 WebDevToolsAgent* agent = GetWebAgent(); |
| 160 if (!agent) | 160 if (!agent) |
| 161 return false; | 161 return false; |
| 162 agent->evaluateInWebInspector(call_id, WebString::fromUTF8(script)); | 162 agent->evaluateInWebInspector(call_id, WebString::fromUTF8(script)); |
| 163 return true; | 163 return true; |
| 164 } | 164 } |
| 165 | |
| 166 // static | |
| 167 void WebKit::WebDevToolsAgentClient::sendMessageToFrontendOnIOThread( | |
| 168 WebKit::WebDevToolsMessageData const &) { | |
| 169 NOTIMPLEMENTED(); | |
| 170 } | |
| OLD | NEW |