diff options
author | falken@chromium.org <falken@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-13 14:30:55 +0000 |
---|---|---|
committer | falken@chromium.org <falken@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-13 14:30:55 +0000 |
commit | 3c1a5ac083cb10691d14300b42e9e2efd511a784 (patch) | |
tree | b1fcce99c8834532081e3c63a4347240f5b3250f /content/renderer/render_view_impl.cc | |
parent | 7206b16765e786892fe6ad49cefca683e496d7e7 (diff) | |
download | chromium_src-3c1a5ac083cb10691d14300b42e9e2efd511a784.zip chromium_src-3c1a5ac083cb10691d14300b42e9e2efd511a784.tar.gz chromium_src-3c1a5ac083cb10691d14300b42e9e2efd511a784.tar.bz2 |
Revert exposing <dialog> in WebUI
The plan to use <dialog> in WebUI didn't work out. It was risky to use
an experimental feature in Settings, especially as Chrome for iOS won't
be able to use it.
BUG=276825
Review URL: https://codereview.chromium.org/156853006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250986 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/render_view_impl.cc')
-rw-r--r-- | content/renderer/render_view_impl.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc index 4fa07bb..3096179 100644 --- a/content/renderer/render_view_impl.cc +++ b/content/renderer/render_view_impl.cc @@ -180,7 +180,6 @@ #include "third_party/WebKit/public/web/WebPluginContainer.h" #include "third_party/WebKit/public/web/WebPluginDocument.h" #include "third_party/WebKit/public/web/WebRange.h" -#include "third_party/WebKit/public/web/WebRuntimeFeatures.h" #include "third_party/WebKit/public/web/WebScriptSource.h" #include "third_party/WebKit/public/web/WebSearchableFormData.h" #include "third_party/WebKit/public/web/WebSecurityOrigin.h" @@ -293,7 +292,6 @@ using blink::WebPopupMenuInfo; using blink::WebRange; using blink::WebRect; using blink::WebReferrerPolicy; -using blink::WebRuntimeFeatures; using blink::WebScriptSource; using blink::WebSearchableFormData; using blink::WebSecurityOrigin; @@ -4329,9 +4327,6 @@ void RenderViewImpl::OnCSSInsertRequest(const base::string16& frame_xpath, void RenderViewImpl::OnAllowBindings(int enabled_bindings_flags) { if ((enabled_bindings_flags & BINDINGS_POLICY_WEB_UI) && !(enabled_bindings_ & BINDINGS_POLICY_WEB_UI)) { - // WebUI uses <dialog> which is not yet enabled by default in Chrome. - WebRuntimeFeatures::enableDialogElement(true); - RenderThread::Get()->RegisterExtension(WebUIExtension::Get()); new WebUIExtensionData(this); } |