summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.cc
diff options
context:
space:
mode:
authorpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-22 09:41:33 +0000
committerpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-22 09:41:33 +0000
commitc630f16c1db3184ba7fe485f4d96730c425394e2 (patch)
tree1ba928e755a0de6c3fbced28e2b2b87fdd4538b8 /chrome/browser/browser.cc
parent1163ae0ebb052a816429295a092996a4980cdb33 (diff)
downloadchromium_src-c630f16c1db3184ba7fe485f4d96730c425394e2.zip
chromium_src-c630f16c1db3184ba7fe485f4d96730c425394e2.tar.gz
chromium_src-c630f16c1db3184ba7fe485f4d96730c425394e2.tar.bz2
DevTools: Rename JavaScript console action into Developer Tools.
Review URL: http://codereview.chromium.org/155914 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21269 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.cc')
-rw-r--r--chrome/browser/browser.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc
index 1e9a830..6df7a48 100644
--- a/chrome/browser/browser.cc
+++ b/chrome/browser/browser.cc
@@ -1075,7 +1075,7 @@ void Browser::OpenCreateShortcutsDialog() {
#endif
}
-void Browser::ToggleJavaScriptConsole() {
+void Browser::ToggleDevToolsWindow() {
UserMetrics::RecordAction(L"ShowJSConsole", profile_);
DevToolsManager::GetInstance()->ToggleDevToolsWindow(
GetSelectedTabContents()->render_view_host());
@@ -1358,7 +1358,7 @@ void Browser::ExecuteCommandWithDisposition(
// Show various bits of UI
case IDC_OPEN_FILE: OpenFile(); break;
case IDC_CREATE_SHORTCUTS: OpenCreateShortcutsDialog(); break;
- case IDC_JS_CONSOLE: ToggleJavaScriptConsole(); break;
+ case IDC_DEV_TOOLS: ToggleDevToolsWindow(); break;
case IDC_TASK_MANAGER: OpenTaskManager(); break;
case IDC_SELECT_PROFILE: OpenSelectProfileDialog(); break;
case IDC_NEW_PROFILE: OpenNewProfileDialog(); break;
@@ -2150,7 +2150,7 @@ void Browser::InitCommandState() {
// Show various bits of UI
command_updater_.UpdateCommandEnabled(IDC_OPEN_FILE, true);
command_updater_.UpdateCommandEnabled(IDC_CREATE_SHORTCUTS, false);
- command_updater_.UpdateCommandEnabled(IDC_JS_CONSOLE, true);
+ command_updater_.UpdateCommandEnabled(IDC_DEV_TOOLS, true);
command_updater_.UpdateCommandEnabled(IDC_TASK_MANAGER, true);
command_updater_.UpdateCommandEnabled(IDC_SELECT_PROFILE, true);
command_updater_.UpdateCommandEnabled(IDC_SHOW_HISTORY, true);