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

Issue 3011002: Add "Inspect Element" shortcut to browser tabs (Closed)

Created:
10 years, 5 months ago by apavlov
Modified:
9 years, 7 months ago
CC:
chromium-reviews, Erik does not do reviews, pam+watch_chromium.org, John Grabowski, ben+cc_chromium.org, twiz, masterov_chromium.org, chrome-ui-leads_google.com, Aaron Boodman
Visibility:
Public.

Description

Add "Inspect Element" shortcut to browser tabs. If the DevTools window is closed, it gets opened, and the Inspect Element tool is enabled. If the DevTools window is opened, the inspected tab remains focused with the Inspect Element tool enabled. If the Inspect Element tool is enabled, it gets turned off. The shortcut is Ctrl-Shift-C for Win/Linux, Cmd-Shift-C for Mac BUG=29532 TEST=manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=52651

Patch Set 1 #

Patch Set 2 : Style fixed #

Total comments: 2

Patch Set 3 : yurys' comment addressed #

Total comments: 1

Patch Set 4 : Added TODO, fixed field setting, merged code #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -55 lines) Patch
M chrome/app/chrome_dll.rc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/app/chrome_dll_resource.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/browser.h View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/browser.cc View 1 2 3 4 chunks +25 lines, -10 lines 0 comments Download
M chrome/browser/debugger/devtools_manager.h View 3 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/debugger/devtools_manager.cc View 1 3 chunks +15 lines, -9 lines 0 comments Download
A chrome/browser/debugger/devtools_toggle_action.h View 1 chunk +14 lines, -0 lines 0 comments Download
M chrome/browser/debugger/devtools_window.h View 1 2 4 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/debugger/devtools_window.cc View 1 2 3 7 chunks +37 lines, -21 lines 0 comments Download
M chrome/browser/extensions/extensions_ui.cc View 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/external_tab_container_win.cc View 1 2 3 2 chunks +9 lines, -2 lines 0 comments Download
M chrome/browser/global_keyboard_shortcuts_mac.mm View 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/browser/gtk/accelerators_gtk.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/views/accelerator_table_gtk.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/views/extensions/extension_popup.cc View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/chrome.gyp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
apavlov
Please have a look.
10 years, 5 months ago (2010-07-15 12:41:14 UTC) #1
yurys
http://codereview.chromium.org/3011002/diff/2001/3008 File chrome/browser/debugger/devtools_window.cc (right): http://codereview.chromium.org/3011002/diff/2001/3008#newcode131 chrome/browser/debugger/devtools_window.cc:131: else if (action == DEVTOOLS_TOGGLE_ACTION_INSPECT) I'd rather use schedule ...
10 years, 5 months ago (2010-07-15 15:59:42 UTC) #2
sky
Do you really need all of us to review the entire patch? When picking multiple ...
10 years, 5 months ago (2010-07-15 16:00:51 UTC) #3
apavlov
On 2010/07/15 16:00:51, sky wrote: > Do you really need all of us to review ...
10 years, 5 months ago (2010-07-15 16:07:44 UTC) #4
Nico
http://codereview.chromium.org/3011002/diff/2001/3012 File chrome/browser/global_keyboard_shortcuts_mac.mm (right): http://codereview.chromium.org/3011002/diff/2001/3012#newcode68 chrome/browser/global_keyboard_shortcuts_mac.mm:68: {true, true, false, false, 0, 'c', IDC_DEV_TOOLS_INSPECT}, How is ...
10 years, 5 months ago (2010-07-15 17:02:29 UTC) #5
apavlov
On 2010/07/15 17:02:29, Nico wrote: > http://codereview.chromium.org/3011002/diff/2001/3012 > File chrome/browser/global_keyboard_shortcuts_mac.mm (right): > > http://codereview.chromium.org/3011002/diff/2001/3012#newcode68 > ...
10 years, 5 months ago (2010-07-15 17:09:48 UTC) #6
Nico
Sounds reasonable. What's the shortcut for devtools on windows? ctrl-shift-i? it's cmd-opt-i on mac; maybe ...
10 years, 5 months ago (2010-07-15 17:14:43 UTC) #7
Nico
Just read the bug. It's starred by a mere 20 people, and some of them ...
10 years, 5 months ago (2010-07-15 17:15:54 UTC) #8
Erik does not do reviews
I would suggest that any new keyboard shortcuts need to go through UI review. Available ...
10 years, 5 months ago (2010-07-15 17:18:56 UTC) #9
apavlov
On 2010/07/15 17:15:54, Nico wrote: > Just read the bug. It's starred by a mere ...
10 years, 5 months ago (2010-07-15 20:52:21 UTC) #10
pfeldman
More context for UI folks: - Cmd (Control) - Shift - C was first used ...
10 years, 5 months ago (2010-07-15 21:33:46 UTC) #11
Erik does not do reviews
This all sounds reasonable to me, but I'm not on the UI team, and they're ...
10 years, 5 months ago (2010-07-15 22:15:57 UTC) #12
pfeldman
On 2010/07/15 22:15:57, Erik Kay wrote: > This all sounds reasonable to me, but I'm ...
10 years, 5 months ago (2010-07-15 22:17:31 UTC) #13
pfeldman
LGTM. I like this change. It is a good refactoring. Even if we get no ...
10 years, 5 months ago (2010-07-16 10:59:06 UTC) #14
robertmarkbram
10 years, 4 months ago (2010-08-11 05:45:15 UTC) #15
I have build 6.0.472.25 dev on WinXP and Control+shift+c does nothing. Has it
been released yet?

Powered by Google App Engine
This is Rietveld 408576698