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

Issue 2025583002: MD WebUI: Improve tab focus behavior for toolbar search field (Closed)

Created:
4 years, 6 months ago by tsergeant
Modified:
4 years, 6 months ago
Reviewers:
dpapad
CC:
calamity, chrome-apps-syd-reviews_chromium.org, chromium-reviews, dbeam+watch-elements_chromium.org, michaelpg+watch-elements_chromium.org, oshima+watch_chromium.org, stevenjb+watch-md-settings_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD WebUI: Improve tab focus behavior for toolbar search field In wide mode, ensure the input field gets focus rather than the search icon when tabbing. The toolbar will only expand when the user starts typing. BUG=615318 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/e9c8d5807f65c1040a4f2121b4904bb7014be12b Cr-Commit-Position: refs/heads/master@{#397049}

Patch Set 1 #

Patch Set 2 : Fix closure typo #

Total comments: 8

Patch Set 3 : Review comments #

Total comments: 2

Patch Set 4 : Tweak comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -12 lines) Patch
M chrome/test/data/webui/cr_elements_browsertest.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/webui/resources/cr_elements/cr_search_field/cr_search_field.html View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M ui/webui/resources/cr_elements/cr_search_field/cr_search_field_behavior.js View 1 2 2 chunks +3 lines, -5 lines 0 comments Download
M ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html View 1 2 1 chunk +5 lines, -4 lines 0 comments Download
M ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.js View 1 2 3 2 chunks +19 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
tsergeant
dpapad@, PTAL. (+calamity@ as FYI)
4 years, 6 months ago (2016-05-30 04:55:25 UTC) #3
dpapad
https://codereview.chromium.org/2025583002/diff/20001/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html File ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html (right): https://codereview.chromium.org/2025583002/diff/20001/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html#newcode89 ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html:89: on-keydown="onSearchTermKeydown_" on-keypress="onSearchTermKeypress_" It is confusing that onSearchTermKeydown_ is a ...
4 years, 6 months ago (2016-05-31 18:57:58 UTC) #4
tsergeant
https://codereview.chromium.org/2025583002/diff/20001/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html File ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html (right): https://codereview.chromium.org/2025583002/diff/20001/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html#newcode89 ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html:89: on-keydown="onSearchTermKeydown_" on-keypress="onSearchTermKeypress_" On 2016/05/31 18:57:58, dpapad wrote: > It ...
4 years, 6 months ago (2016-06-01 01:20:49 UTC) #5
dpapad
lgtm https://codereview.chromium.org/2025583002/diff/40001/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.js File ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.js (right): https://codereview.chromium.org/2025583002/diff/40001/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.js#newcode45 ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.js:45: * it can be used correctly by tab-focusing. ...
4 years, 6 months ago (2016-06-01 01:27:10 UTC) #6
tsergeant
https://codereview.chromium.org/2025583002/diff/40001/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.js File ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.js (right): https://codereview.chromium.org/2025583002/diff/40001/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.js#newcode45 ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.js:45: * it can be used correctly by tab-focusing. We ...
4 years, 6 months ago (2016-06-01 01:46:35 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2025583002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2025583002/60001
4 years, 6 months ago (2016-06-01 01:47:11 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-01 04:04:44 UTC) #11
commit-bot: I haz the power
4 years, 6 months ago (2016-06-01 04:06:30 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/e9c8d5807f65c1040a4f2121b4904bb7014be12b
Cr-Commit-Position: refs/heads/master@{#397049}

Powered by Google App Engine
This is Rietveld 408576698