summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryurys@google.com <yurys@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-02 08:27:14 +0000
committeryurys@google.com <yurys@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-02 08:27:14 +0000
commit422ddbb2a22c4ebd54555538b9cb71beb14d6028 (patch)
tree553b2e90bafe20ee74df835c36a3661cd75b1725
parent5d7b373e7feee0fafc4d1cd38b3e38f2a969da90 (diff)
downloadchromium_src-422ddbb2a22c4ebd54555538b9cb71beb14d6028.zip
chromium_src-422ddbb2a22c4ebd54555538b9cb71beb14d6028.tar.gz
chromium_src-422ddbb2a22c4ebd54555538b9cb71beb14d6028.tar.bz2
DevTools: remove 'Show web inspector..' menu item from test_shell since new devtools work out of process and don't work in single process test_shell anyway.
Review URL: http://codereview.chromium.org/178057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25160 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--webkit/tools/test_shell/resource.h1
-rw-r--r--webkit/tools/test_shell/resources/test_shell.rc1
-rw-r--r--webkit/tools/test_shell/test_shell_win.cc3
3 files changed, 0 insertions, 5 deletions
diff --git a/webkit/tools/test_shell/resource.h b/webkit/tools/test_shell/resource.h
index f2deaaf..68dab93d 100644
--- a/webkit/tools/test_shell/resource.h
+++ b/webkit/tools/test_shell/resource.h
@@ -12,7 +12,6 @@
#define IDM_EXIT 105
#define IDM_DUMP_BODY_TEXT 110
#define IDM_DUMP_RENDER_TREE 111
-#define IDM_SHOW_WEB_INSPECTOR 112
#define IDI_TESTSHELL 107
#define IDI_SMALL 108
#define IDC_TESTSHELL 109
diff --git a/webkit/tools/test_shell/resources/test_shell.rc b/webkit/tools/test_shell/resources/test_shell.rc
index 1366891..844c59b 100644
--- a/webkit/tools/test_shell/resources/test_shell.rc
+++ b/webkit/tools/test_shell/resources/test_shell.rc
@@ -46,7 +46,6 @@ BEGIN
BEGIN
MENUITEM "Dump body text...", IDM_DUMP_BODY_TEXT
MENUITEM "Dump render tree...", IDM_DUMP_RENDER_TREE
- MENUITEM "Show web inspector...", IDM_SHOW_WEB_INSPECTOR
END
POPUP "&Help"
BEGIN
diff --git a/webkit/tools/test_shell/test_shell_win.cc b/webkit/tools/test_shell/test_shell_win.cc
index 611405a..9a06a8c 100644
--- a/webkit/tools/test_shell/test_shell_win.cc
+++ b/webkit/tools/test_shell/test_shell_win.cc
@@ -573,9 +573,6 @@ LRESULT CALLBACK TestShell::WndProc(HWND hwnd, UINT message, WPARAM wParam,
case IDM_DUMP_RENDER_TREE:
shell->DumpRenderTree();
break;
- case IDM_SHOW_WEB_INSPECTOR:
- shell->webView()->InspectElement(0, 0);
- break;
}
}
break;