diff options
author | yurys@chromium.org <yurys@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-11 08:08:51 +0000 |
---|---|---|
committer | yurys@chromium.org <yurys@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-11 08:08:51 +0000 |
commit | b5ba4480dc52bbb92b04753aa6dce073a74438bf (patch) | |
tree | 3af1e63c3a7445b4b37318439baeb9130a6f7f43 /webkit | |
parent | 14d468c8df9345d23634560fcdde62be1c44ce3e (diff) | |
download | chromium_src-b5ba4480dc52bbb92b04753aa6dce073a74438bf.zip chromium_src-b5ba4480dc52bbb92b04753aa6dce073a74438bf.tar.gz chromium_src-b5ba4480dc52bbb92b04753aa6dce073a74438bf.tar.bz2 |
DevTools: remove usages of InjectDispatch.js
Review URL: http://codereview.chromium.org/3125004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55687 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/support/webkit_support.cc | 4 | ||||
-rw-r--r-- | webkit/tools/test_shell/test_shell_devtools_agent.cc | 6 | ||||
-rw-r--r-- | webkit/tools/test_shell/test_shell_devtools_agent.h | 1 |
3 files changed, 1 insertions, 10 deletions
diff --git a/webkit/support/webkit_support.cc b/webkit/support/webkit_support.cc index 87f140e..6d0e5b8 100644 --- a/webkit/support/webkit_support.cc +++ b/webkit/support/webkit_support.cc @@ -478,9 +478,7 @@ WebCString GetDevToolsInjectedScriptSource() { } WebCString GetDevToolsInjectedScriptDispatcherSource() { - base::StringPiece injectDispatchJS = webkit_glue::GetDataResource( - IDR_DEVTOOLS_INJECT_DISPATCH_JS); - return WebCString(injectDispatchJS.as_string().c_str()); + return WebCString(); } WebCString GetDevToolsDebuggerScriptSource() { diff --git a/webkit/tools/test_shell/test_shell_devtools_agent.cc b/webkit/tools/test_shell/test_shell_devtools_agent.cc index e42c3e6..6b385ad 100644 --- a/webkit/tools/test_shell/test_shell_devtools_agent.cc +++ b/webkit/tools/test_shell/test_shell_devtools_agent.cc @@ -91,12 +91,6 @@ WebCString TestShellDevToolsAgent::injectedScriptSource() { return WebCString(injectjsWebkit.data(), injectjsWebkit.length()); } -WebCString TestShellDevToolsAgent::injectedScriptDispatcherSource() { - base::StringPiece injectDispatchjs = - webkit_glue::GetDataResource(IDR_DEVTOOLS_INJECT_DISPATCH_JS); - return WebCString(injectDispatchjs.data(), injectDispatchjs.length()); -} - WebCString TestShellDevToolsAgent::debuggerScriptSource() { base::StringPiece debuggerScriptjs = webkit_glue::GetDataResource(IDR_DEVTOOLS_DEBUGGER_SCRIPT_JS); diff --git a/webkit/tools/test_shell/test_shell_devtools_agent.h b/webkit/tools/test_shell/test_shell_devtools_agent.h index 0b2acf9..c29741e 100644 --- a/webkit/tools/test_shell/test_shell_devtools_agent.h +++ b/webkit/tools/test_shell/test_shell_devtools_agent.h @@ -36,7 +36,6 @@ class TestShellDevToolsAgent : public WebKit::WebDevToolsAgentClient { virtual void runtimeFeatureStateChanged(const WebKit::WebString& feature, bool enabled); virtual WebKit::WebCString injectedScriptSource(); - virtual WebKit::WebCString injectedScriptDispatcherSource(); virtual WebKit::WebCString debuggerScriptSource(); virtual WebKit::WebDevToolsAgentClient::WebKitClientMessageLoop* |