summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents
diff options
context:
space:
mode:
authorbenwells@chromium.org <benwells@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-30 05:49:50 +0000
committerbenwells@chromium.org <benwells@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-30 05:49:50 +0000
commit63767a30826e54c6767d2b2f8db29024684fc11f (patch)
tree2e50de2df21738a2e0c3293e9001abf91ef0fef7 /chrome/browser/tab_contents
parent597b07abf5630e63ea9db6492c5d007c1651c329 (diff)
downloadchromium_src-63767a30826e54c6767d2b2f8db29024684fc11f.zip
chromium_src-63767a30826e54c6767d2b2f8db29024684fc11f.tar.gz
chromium_src-63767a30826e54c6767d2b2f8db29024684fc11f.tar.bz2
Allow devtools on extension popup windows for mac
This is already enabled for gtk and views, this change enables it for mac. BUG=53518 TEST=Test popups can be inspected on mac and otherwise function as they used to. Review URL: http://codereview.chromium.org/9802018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129793 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents')
-rw-r--r--chrome/browser/tab_contents/render_view_context_menu.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/chrome/browser/tab_contents/render_view_context_menu.cc b/chrome/browser/tab_contents/render_view_context_menu.cc
index 60560d2..88d40660 100644
--- a/chrome/browser/tab_contents/render_view_context_menu.cc
+++ b/chrome/browser/tab_contents/render_view_context_menu.cc
@@ -1909,15 +1909,6 @@ bool RenderViewContextMenu::IsDevCommandEnabled(int id) const {
prefs::kWebKitGlobalJavascriptEnabled) ||
command_line->HasSwitch(switches::kDisableJavaScript))
return false;
-#if defined(OS_MACOSX)
- } else {
- // Disable dev tools for popup extensions for Mac OS X builds, as the
- // extension popups for these builds do not support dynamically inspecting
- // the popups.
- // TODO(benwells): Add support for these builds and remove this #if.
- if (!extension->is_platform_app())
- return false;
-#endif
}
// Don't enable the web inspector if the developer tools are disabled via