Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(318)

Side by Side Diff: chrome/browser/ui/browser_command_controller.cc

Issue 2566573002: DevTools: Open Elements panel sooner on Inspect Element (Closed)
Patch Set: Missed one showConsolePanel Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/devtools/devtools_window.cc ('k') | chrome/browser/ui/browser_commands.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/browser_command_controller.h" 5 #include "chrome/browser/ui/browser_command_controller.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 case IDC_CREATE_SHORTCUTS: 528 case IDC_CREATE_SHORTCUTS:
529 CreateApplicationShortcuts(browser_); 529 CreateApplicationShortcuts(browser_);
530 break; 530 break;
531 case IDC_CREATE_HOSTED_APP: 531 case IDC_CREATE_HOSTED_APP:
532 CreateBookmarkAppFromCurrentWebContents(browser_); 532 CreateBookmarkAppFromCurrentWebContents(browser_);
533 break; 533 break;
534 case IDC_DEV_TOOLS: 534 case IDC_DEV_TOOLS:
535 ToggleDevToolsWindow(browser_, DevToolsToggleAction::Show()); 535 ToggleDevToolsWindow(browser_, DevToolsToggleAction::Show());
536 break; 536 break;
537 case IDC_DEV_TOOLS_CONSOLE: 537 case IDC_DEV_TOOLS_CONSOLE:
538 ToggleDevToolsWindow(browser_, DevToolsToggleAction::ShowConsole()); 538 ToggleDevToolsWindow(browser_, DevToolsToggleAction::ShowConsolePanel());
539 break; 539 break;
540 case IDC_DEV_TOOLS_DEVICES: 540 case IDC_DEV_TOOLS_DEVICES:
541 InspectUI::InspectDevices(browser_); 541 InspectUI::InspectDevices(browser_);
542 break; 542 break;
543 case IDC_DEV_TOOLS_INSPECT: 543 case IDC_DEV_TOOLS_INSPECT:
544 ToggleDevToolsWindow(browser_, DevToolsToggleAction::Inspect()); 544 ToggleDevToolsWindow(browser_, DevToolsToggleAction::Inspect());
545 break; 545 break;
546 case IDC_DEV_TOOLS_TOGGLE: 546 case IDC_DEV_TOOLS_TOGGLE:
547 ToggleDevToolsWindow(browser_, DevToolsToggleAction::Toggle()); 547 ToggleDevToolsWindow(browser_, DevToolsToggleAction::Toggle());
548 break; 548 break;
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after
1174 1174
1175 BrowserWindow* BrowserCommandController::window() { 1175 BrowserWindow* BrowserCommandController::window() {
1176 return browser_->window(); 1176 return browser_->window();
1177 } 1177 }
1178 1178
1179 Profile* BrowserCommandController::profile() { 1179 Profile* BrowserCommandController::profile() {
1180 return browser_->profile(); 1180 return browser_->profile();
1181 } 1181 }
1182 1182
1183 } // namespace chrome 1183 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/devtools/devtools_window.cc ('k') | chrome/browser/ui/browser_commands.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698