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

Issue 13779006: Fixed gear menu navigation using keyboard. (Closed)

Created:
7 years, 8 months ago by hirono
Modified:
7 years, 8 months ago
Reviewers:
mtomasz, yoshiki
CC:
chromium-reviews, rginda+watch_chromium.org, arv+watch_chromium.org, yoshiki, satorux1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Fixed gear menu navigation using keyboard. Removed CSS codes that hides gear menu items but is not handled cr.ui.Menu class. New codes hides gear menu items by using the 'hidden' attribute. BUG=175662 TEST=Followed the steps written in bug report that reproduce the problem Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=193363

Patch Set 1 #

Total comments: 2

Patch Set 2 : Menu items are hidden by the command framework. #

Total comments: 7

Patch Set 3 : Replaced getElementById with querySelector #

Total comments: 5

Patch Set 4 : Rebase #

Patch Set 5 : Fixed code style #

Patch Set 6 : Applied the changes to the new interface html. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -26 lines) Patch
M chrome/browser/resources/file_manager/css/file_manager.css View 1 2 3 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/resources/file_manager/js/file_manager.js View 1 2 3 4 7 chunks +26 lines, -2 lines 0 comments Download
M chrome/browser/resources/file_manager/js/file_manager_commands.js View 1 3 chunks +13 lines, -2 lines 0 comments Download
M chrome/browser/resources/file_manager/main.html View 1 2 3 1 chunk +5 lines, -7 lines 0 comments Download
M chrome/browser/resources/file_manager/main_new_ui.html View 1 2 3 4 5 1 chunk +5 lines, -7 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
hirono
I fixed a bug of gear menu navigation with keyboard. Could you check this CL? ...
7 years, 8 months ago (2013-04-08 09:48:43 UTC) #1
mtomasz
https://codereview.chromium.org/13779006/diff/1/chrome/browser/resources/file_manager/js/file_manager.js File chrome/browser/resources/file_manager/js/file_manager.js (right): https://codereview.chromium.org/13779006/diff/1/chrome/browser/resources/file_manager/js/file_manager.js#newcode2039 chrome/browser/resources/file_manager/js/file_manager.js:2039: FileManager.prototype.updateGearMenu_ = function() { This seems to be correct, ...
7 years, 8 months ago (2013-04-08 09:59:39 UTC) #2
hirono
I fixed the code so that the menu items are hidden by the Command class. ...
7 years, 8 months ago (2013-04-09 04:05:48 UTC) #3
mtomasz
I like it! Just two small comments :). https://codereview.chromium.org/13779006/diff/5001/chrome/browser/resources/file_manager/js/file_manager.js File chrome/browser/resources/file_manager/js/file_manager.js (right): https://codereview.chromium.org/13779006/diff/5001/chrome/browser/resources/file_manager/js/file_manager.js#newcode2043 chrome/browser/resources/file_manager/js/file_manager.js:2043: /** ...
7 years, 8 months ago (2013-04-09 05:44:58 UTC) #4
hirono
I replied the comments. Thank you. https://codereview.chromium.org/13779006/diff/5001/chrome/browser/resources/file_manager/js/file_manager.js File chrome/browser/resources/file_manager/js/file_manager.js (right): https://codereview.chromium.org/13779006/diff/5001/chrome/browser/resources/file_manager/js/file_manager.js#newcode2043 chrome/browser/resources/file_manager/js/file_manager.js:2043: /** 'updateGearMenu_' is ...
7 years, 8 months ago (2013-04-09 06:01:04 UTC) #5
mtomasz
lgtm with one comment https://codereview.chromium.org/13779006/diff/5001/chrome/browser/resources/file_manager/js/file_manager.js File chrome/browser/resources/file_manager/js/file_manager.js (right): https://codereview.chromium.org/13779006/diff/5001/chrome/browser/resources/file_manager/js/file_manager.js#newcode2043 chrome/browser/resources/file_manager/js/file_manager.js:2043: /** On 2013/04/09 06:01:04, hirono ...
7 years, 8 months ago (2013-04-09 06:11:39 UTC) #6
hirono
I fixed it. Thank you very much! https://codereview.chromium.org/13779006/diff/5001/chrome/browser/resources/file_manager/js/file_manager.js File chrome/browser/resources/file_manager/js/file_manager.js (right): https://codereview.chromium.org/13779006/diff/5001/chrome/browser/resources/file_manager/js/file_manager.js#newcode3432 chrome/browser/resources/file_manager/js/file_manager.js:3432: this.ctrlKeyPressed_ = ...
7 years, 8 months ago (2013-04-09 06:43:13 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hirono@chromium.org/13779006/17001
7 years, 8 months ago (2013-04-09 08:32:10 UTC) #8
yoshiki
Sorry for interruption and late comments. https://codereview.chromium.org/13779006/diff/17001/chrome/browser/resources/file_manager/js/file_manager.js File chrome/browser/resources/file_manager/js/file_manager.js (right): https://codereview.chromium.org/13779006/diff/17001/chrome/browser/resources/file_manager/js/file_manager.js#newcode552 chrome/browser/resources/file_manager/js/file_manager.js:552: 'menuitem, hr'; Is ...
7 years, 8 months ago (2013-04-09 08:41:36 UTC) #9
yoshiki
And could you modify chrome/browser/resources/file_manager/main_new_ui.html as well? (this file is added recently)
7 years, 8 months ago (2013-04-09 08:42:47 UTC) #10
hirono
Yoshiki-san, I replied your comments. Thank you very much! https://codereview.chromium.org/13779006/diff/17001/chrome/browser/resources/file_manager/js/file_manager.js File chrome/browser/resources/file_manager/js/file_manager.js (right): https://codereview.chromium.org/13779006/diff/17001/chrome/browser/resources/file_manager/js/file_manager.js#newcode552 chrome/browser/resources/file_manager/js/file_manager.js:552: ...
7 years, 8 months ago (2013-04-09 22:55:47 UTC) #11
hirono
I applied the changes to the new interface HTML. Could you also check it? Thank ...
7 years, 8 months ago (2013-04-10 03:38:20 UTC) #12
yoshiki
LGTM https://codereview.chromium.org/13779006/diff/17001/chrome/browser/resources/file_manager/js/file_manager.js File chrome/browser/resources/file_manager/js/file_manager.js (right): https://codereview.chromium.org/13779006/diff/17001/chrome/browser/resources/file_manager/js/file_manager.js#newcode552 chrome/browser/resources/file_manager/js/file_manager.js:552: 'menuitem, hr'; Got it! thanks! On 2013/04/09 22:55:48, ...
7 years, 8 months ago (2013-04-10 03:51:29 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hirono@chromium.org/13779006/45001
7 years, 8 months ago (2013-04-10 08:35:30 UTC) #14
commit-bot: I haz the power
7 years, 8 months ago (2013-04-10 10:49:24 UTC) #15
Message was sent while issue was closed.
Change committed as 193363

Powered by Google App Engine
This is Rietveld 408576698