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

Issue 2981503002: [MD Bookmarks] Refactor focus ring hiding. (Closed)

Created:
3 years, 5 months ago by calamity
Modified:
3 years, 5 months ago
Reviewers:
tsergeant
CC:
chromium-reviews, michaelpg+watch-md-ui_chromium.org, arv+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[MD Bookmarks] Refactor focus ring hiding. This CL refactors how mouse focus hides the focus ring by moving the listener into the app and using keyboard events to restore the focus ring instead of blur event. This reduces the number of event listeners and deals well with window focus/blur. BUG=740834 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2981503002 Cr-Commit-Position: refs/heads/master@{#486675} Committed: https://chromium.googlesource.com/chromium/src/+/d79887d431cc6fb7e494f92ac763c2b50d7fb0e7

Patch Set 1 : #

Total comments: 8

Patch Set 2 : rebase, address_comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -62 lines) Patch
M chrome/browser/resources/md_bookmarks/app.html View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/app.js View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/compiled_resources2.gyp View 4 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/dialog_focus_manager.html View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/resources/md_bookmarks/dialog_focus_manager.js View 3 chunks +2 lines, -11 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/folder_node.html View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/resources/md_bookmarks/folder_node.js View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/resources/md_bookmarks/item.html View 1 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/item.js View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/resources/md_bookmarks/mouse_focus_behavior.js View 1 1 chunk +14 lines, -40 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/shared_style.html View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 17 (11 generated)
calamity
Settled for the keydown handler since it makes life so much easier.
3 years, 5 months ago (2017-07-12 05:48:57 UTC) #9
tsergeant
Great! I like this a lot better than the old version. https://codereview.chromium.org/2981503002/diff/40001/chrome/browser/resources/md_bookmarks/item.html File chrome/browser/resources/md_bookmarks/item.html (right): ...
3 years, 5 months ago (2017-07-12 07:32:01 UTC) #10
calamity
https://codereview.chromium.org/2981503002/diff/40001/chrome/browser/resources/md_bookmarks/item.html File chrome/browser/resources/md_bookmarks/item.html (right): https://codereview.chromium.org/2981503002/diff/40001/chrome/browser/resources/md_bookmarks/item.html#newcode76 chrome/browser/resources/md_bookmarks/item.html:76: on-focus="clearMouseFocus"> On 2017/07/12 07:32:00, tsergeant wrote: > This listener ...
3 years, 5 months ago (2017-07-13 08:03:06 UTC) #11
tsergeant
lgtm!
3 years, 5 months ago (2017-07-14 00:58:37 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2981503002/60001
3 years, 5 months ago (2017-07-14 02:34:04 UTC) #14
commit-bot: I haz the power
3 years, 5 months ago (2017-07-14 04:44:14 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/d79887d431cc6fb7e494f92ac763...

Powered by Google App Engine
This is Rietveld 408576698