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

Issue 299443009: Add keyboard shortcuts in Files.app to open inspector. (Closed)

Created:
6 years, 7 months ago by fukino
Modified:
6 years, 7 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, nkostylev+watch_chromium.org, yoshiki+watch_chromium.org, rginda+watch_chromium.org, mtomasz+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Add keyboard shortcuts in Files.app to open inspector. This CL adds following keyboard shortcuts for debugging Files.app. * Ctrl+Shift+I: Open inspector * Ctrl+Shift+J: Open inspector and focus to console. * Ctrl+Shift+C: Open inspector and start element inspection. * Ctrl+Shift+B: Open inspector for the background page. BUG=280551 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272931

Patch Set 1 #

Patch Set 2 : Rebase and edit comments. #

Total comments: 6

Patch Set 3 : Use enum to specify inspection type. #

Patch Set 4 : Use commands for shortcuts and run update_extension_functions.py. #

Total comments: 2

Patch Set 5 : Call SetError() for unexpected inspection type. #

Patch Set 6 : Remove check for the flag besed on an agreement on the issue and rebase. #

Patch Set 7 : Add comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -0 lines) Patch
M chrome/browser/chromeos/extensions/file_manager/private_api_misc.h View 1 2 3 4 5 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc View 1 2 3 4 5 6 3 chunks +38 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/file_browser_private.idl View 1 2 3 4 5 6 2 chunks +16 lines, -0 lines 0 comments Download
M extensions/browser/extension_function_histogram_value.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -0 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/file_manager_commands.js View 1 2 3 4 5 6 1 chunk +45 lines, -0 lines 0 comments Download
M ui/file_manager/file_manager/main.html View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
fukino
@kinaba: PTAL at chrome/browser/chromeos/extensions/file_manager/* @hirono: PTAL at ui/file_manager/file_manager/foreground/js/file_manager.js
6 years, 7 months ago (2014-05-23 04:41:27 UTC) #1
hirono
https://codereview.chromium.org/299443009/diff/20001/chrome/common/extensions/api/file_browser_private.idl File chrome/common/extensions/api/file_browser_private.idl (right): https://codereview.chromium.org/299443009/diff/20001/chrome/common/extensions/api/file_browser_private.idl#newcode766 chrome/common/extensions/api/file_browser_private.idl:766: static void openInspector(DOMString option); Why don't you use enum ...
6 years, 7 months ago (2014-05-23 04:50:08 UTC) #2
fukino
hirono san, thank you for comments! Now I use enum for inspection types, use commands ...
6 years, 7 months ago (2014-05-23 06:16:28 UTC) #3
hirono
On 2014/05/23 06:16:28, fukino wrote: > hirono san, thank you for comments! > Now I ...
6 years, 7 months ago (2014-05-23 06:21:04 UTC) #4
yoshiki
https://codereview.chromium.org/299443009/diff/80001/chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc File chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc (right): https://codereview.chromium.org/299443009/diff/80001/chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc#newcode475 chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc:475: NOTREACHED(); nit: please set an error with SetError() method.
6 years, 7 months ago (2014-05-23 06:22:15 UTC) #5
fukino
Thanks! I placed SetError() on unexpected path. https://codereview.chromium.org/299443009/diff/80001/chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc File chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc (right): https://codereview.chromium.org/299443009/diff/80001/chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc#newcode475 chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc:475: NOTREACHED(); On ...
6 years, 7 months ago (2014-05-23 06:54:31 UTC) #6
yoshiki
lgtm
6 years, 7 months ago (2014-05-23 06:56:54 UTC) #7
kinaba
lgtm
6 years, 7 months ago (2014-05-25 15:38:54 UTC) #8
fukino
@benwells - PTAL at IDL file. (file_browser_private.idl) @asvintkine - PTAL at histograms. (histogram.xml, extension_function_histogram_value.h) @kinaba ...
6 years, 7 months ago (2014-05-26 04:49:47 UTC) #9
Alexei Svitkine (slow)
lgtm
6 years, 7 months ago (2014-05-26 16:40:23 UTC) #10
benwells
lgtm
6 years, 7 months ago (2014-05-27 03:26:37 UTC) #11
kinaba
lgtm
6 years, 7 months ago (2014-05-27 04:25:33 UTC) #12
fukino
Thank you all!
6 years, 7 months ago (2014-05-27 04:55:28 UTC) #13
fukino
The CQ bit was checked by fukino@chromium.org
6 years, 7 months ago (2014-05-27 04:57:12 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fukino@chromium.org/299443009/140001
6 years, 7 months ago (2014-05-27 04:57:20 UTC) #15
commit-bot: I haz the power
6 years, 7 months ago (2014-05-27 08:25:58 UTC) #16
Message was sent while issue was closed.
Change committed as 272931

Powered by Google App Engine
This is Rietveld 408576698