diff options
author | yurys@chromium.org <yurys@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-31 08:31:08 +0000 |
---|---|---|
committer | yurys@chromium.org <yurys@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-31 08:31:08 +0000 |
commit | 14bd3b14f60343740a21e2ce5ae1f35644f7f4ac (patch) | |
tree | 95ae9e2142ad8ca5a8137569880dccde052d96af /chrome/renderer/devtools_agent.cc | |
parent | b281b6c0ffcafa4d54737315793db39105bddb6a (diff) | |
download | chromium_src-14bd3b14f60343740a21e2ce5ae1f35644f7f4ac.zip chromium_src-14bd3b14f60343740a21e2ce5ae1f35644f7f4ac.tar.gz chromium_src-14bd3b14f60343740a21e2ce5ae1f35644f7f4ac.tar.bz2 |
Revert "DevTools: load injected script using WebKit API"
TBR=pfeldman
Review URL: http://codereview.chromium.org/558064
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37660 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/devtools_agent.cc')
-rw-r--r-- | chrome/renderer/devtools_agent.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/chrome/renderer/devtools_agent.cc b/chrome/renderer/devtools_agent.cc index 57c2f20..5d5373a 100644 --- a/chrome/renderer/devtools_agent.cc +++ b/chrome/renderer/devtools_agent.cc @@ -8,18 +8,15 @@ #include "chrome/common/render_messages.h" #include "chrome/renderer/devtools_agent_filter.h" #include "chrome/renderer/render_view.h" -#include "grit/webkit_resources.h" #include "third_party/WebKit/WebKit/chromium/public/WebDevToolsAgent.h" #include "third_party/WebKit/WebKit/chromium/public/WebDevToolsMessageData.h" #include "third_party/WebKit/WebKit/chromium/public/WebPoint.h" #include "third_party/WebKit/WebKit/chromium/public/WebString.h" #include "webkit/glue/devtools/devtools_message_data.h" -#include "webkit/glue/webkit_glue.h" using WebKit::WebDevToolsAgent; using WebKit::WebPoint; using WebKit::WebString; -using WebKit::WebCString; using WebKit::WebVector; using WebKit::WebView; @@ -82,18 +79,6 @@ void DevToolsAgent::runtimeFeatureStateChanged(const WebKit::WebString& feature, enabled)); } -WebCString DevToolsAgent::injectedScriptSource() { - base::StringPiece injectjsWebkit = - webkit_glue::GetDataResource(IDR_DEVTOOLS_INJECT_WEBKIT_JS); - return WebCString(injectjsWebkit.as_string().c_str()); -} - -WebCString DevToolsAgent::injectedScriptDispatcherSource() { - base::StringPiece injectDispatchjs = - webkit_glue::GetDataResource(IDR_DEVTOOLS_INJECT_DISPATCH_JS); - return WebCString(injectDispatchjs.as_string().c_str()); -} - // static DevToolsAgent* DevToolsAgent::FromHostId(int host_id) { std::map<int, DevToolsAgent*>::iterator it = |