Commit 392e3adb authored by jochen@chromium.org's avatar jochen@chromium.org

[content shell] temporarily disable web test plugin

BUG=111316
R=marja@chromium.org

Review URL: https://codereview.chromium.org/12096109

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180113 0039d316-1c4b-4281-b951-d872f2087c98
parent 503120e8
......@@ -17,12 +17,10 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginParams.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
#include "third_party/WebKit/Tools/DumpRenderTree/chromium/TestRunner/public/WebTestPlugin.h"
#include "third_party/WebKit/Tools/DumpRenderTree/chromium/TestRunner/public/WebTestProxy.h"
#include "v8/include/v8.h"
using WebKit::WebFrame;
using WebTestRunner::WebTestPlugin;
using WebTestRunner::WebTestProxyBase;
namespace content {
......@@ -78,13 +76,6 @@ bool ShellContentRendererClient::OverrideCreatePlugin(
return !CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableBrowserPluginForAllViewTypes);
}
if (params.mimeType == WebTestPlugin::mimeType()) {
*plugin = WebTestPlugin::create(
frame,
params,
ShellRenderProcessObserver::GetInstance()->test_delegate());
return true;
}
return false;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment