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

Issue 2842303004: MD Settings: update dialogs to focus without ink when using mouse (Closed)

Created:
3 years, 7 months ago by Dan Beam
Modified:
3 years, 7 months ago
Reviewers:
dpapad
CC:
arv+watch_chromium.org, chromium-reviews, dbeam+watch-elements_chromium.org, dbeam+watch-settings_chromium.org, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, michaelpg+watch-elements_chromium.org, oshima+watch_chromium.org, stevenjb+watch-md-settings_chromium.org, tsergeant
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Settings: update dialogs to focus without ink when using mouse R=dpapad@chromium.org BUG=716184 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2842303004 Cr-Commit-Position: refs/heads/master@{#468867} Committed: https://chromium.googlesource.com/chromium/src/+/fff67725b349e1b90c1545720e91de6ad9479192

Patch Set 1 : closure #

Patch Set 2 : merge #

Total comments: 8

Patch Set 3 : dpapad #

Patch Set 4 : different approach #

Total comments: 6

Patch Set 5 : you wanted this... #

Total comments: 2

Patch Set 6 : test fixes #

Patch Set 7 : relax noink check #

Patch Set 8 : document #

Patch Set 9 : comment clarification #

Patch Set 10 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+197 lines, -61 lines) Patch
M chrome/browser/resources/options/compiled_resources.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/settings/about_page/compiled_resources2.gyp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/about_page/detailed_build_info.html View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/about_page/detailed_build_info.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/android_apps_page/android_apps_subpage.html View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/android_apps_page/android_apps_subpage.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/android_apps_page/compiled_resources2.gyp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/certificate_manager_page/certificate_manager_page.html View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/certificate_manager_page/certificate_manager_page.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/certificate_manager_page/compiled_resources2.gyp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/device_page/compiled_resources2.gyp View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/device_page/display.html View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/device_page/display.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/device_page/storage.html View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/device_page/storage.js View 1 2 3 4 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/internet_page/compiled_resources2.gyp View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/internet_page/network_proxy.html View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/internet_page/network_proxy.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/internet_page/network_siminfo.html View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/internet_page/network_siminfo.js View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/languages_page/compiled_resources2.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/settings/languages_page/languages_page.html View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/settings/languages_page/languages_page.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/on_startup_page/compiled_resources2.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/settings/on_startup_page/startup_urls_page.html View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/on_startup_page/startup_urls_page.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.html View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/passwords_and_forms_page/autofill_section.js View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/passwords_and_forms_page/compiled_resources2.gyp View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/people_page/compiled_resources2.gyp View 1 2 3 4 5 6 7 8 9 4 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/people_page/fingerprint_list.html View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/people_page/fingerprint_list.js View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/people_page/lock_screen.html View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/people_page/lock_screen.js View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/people_page/people_page.html View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/people_page/people_page.js View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/people_page/users_page.html View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/people_page/users_page.js View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/printing_page/compiled_resources2.gyp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/printing_page/cups_printers.html View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/printing_page/cups_printers.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/privacy_page/compiled_resources2.gyp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/privacy_page/privacy_page.html View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/privacy_page/privacy_page.js View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/reset_page/compiled_resources2.gyp View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/reset_page/reset_page.html View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/reset_page/reset_page.js View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/search_engines_page/compiled_resources2.gyp View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/search_engines_page/search_engine_entry.html View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/search_engines_page/search_engine_entry.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/search_engines_page/search_engines_page.html View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/search_engines_page/search_engines_page.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/settings_page/compiled_resources2.gyp View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/resources/settings/settings_page/settings_animated_pages.html View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/settings_page/settings_animated_pages.js View 1 2 3 4 2 chunks +5 lines, -23 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/compiled_resources2.gyp View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/site_data.html View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/site_data.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/site_settings/site_list.html View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/site_list.js View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M ui/webui/resources/cr_elements/cr_action_menu/compiled_resources2.gyp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M ui/webui/resources/cr_elements/cr_action_menu/cr_action_menu.html View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M ui/webui/resources/cr_elements/cr_action_menu/cr_action_menu.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A ui/webui/resources/html/cr/ui/focus_without_ink.html View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M ui/webui/resources/js/cr/ui/compiled_resources2.gyp View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
A ui/webui/resources/js/cr/ui/focus_without_ink.js View 1 2 3 4 5 6 7 8 1 chunk +53 lines, -0 lines 0 comments Download
M ui/webui/resources/webui_resources.grd View 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 48 (38 generated)
Dan Beam
3 years, 7 months ago (2017-04-28 06:05:21 UTC) #3
dpapad
https://codereview.chromium.org/2842303004/diff/40001/chrome/browser/resources/options/compiled_resources.gyp File chrome/browser/resources/options/compiled_resources.gyp (right): https://codereview.chromium.org/2842303004/diff/40001/chrome/browser/resources/options/compiled_resources.gyp#newcode24 chrome/browser/resources/options/compiled_resources.gyp:24: '../../../../ui/webui/resources/js/cr/ui/focus_without_ink.js', The rest of this CL does not touch ...
3 years, 7 months ago (2017-04-28 17:36:46 UTC) #12
Dan Beam
https://codereview.chromium.org/2842303004/diff/40001/chrome/browser/resources/options/compiled_resources.gyp File chrome/browser/resources/options/compiled_resources.gyp (right): https://codereview.chromium.org/2842303004/diff/40001/chrome/browser/resources/options/compiled_resources.gyp#newcode24 chrome/browser/resources/options/compiled_resources.gyp:24: '../../../../ui/webui/resources/js/cr/ui/focus_without_ink.js', On 2017/04/28 17:36:46, dpapad wrote: > The rest ...
3 years, 7 months ago (2017-04-29 02:56:31 UTC) #13
Dan Beam
so i diverged a little bit from what FocusOutlineManager does because it's not able to ...
3 years, 7 months ago (2017-05-01 23:51:40 UTC) #18
dpapad
https://codereview.chromium.org/2842303004/diff/80001/ui/webui/resources/js/cr/ui/focus_without_ink.js File ui/webui/resources/js/cr/ui/focus_without_ink.js (right): https://codereview.chromium.org/2842303004/diff/80001/ui/webui/resources/js/cr/ui/focus_without_ink.js#newcode8 ui/webui/resources/js/cr/ui/focus_without_ink.js:8: document.addEventListener('mousedown', function() { As discussed in person, can we ...
3 years, 7 months ago (2017-05-02 00:13:22 UTC) #21
Dan Beam
https://codereview.chromium.org/2842303004/diff/80001/ui/webui/resources/js/cr/ui/focus_without_ink.js File ui/webui/resources/js/cr/ui/focus_without_ink.js (right): https://codereview.chromium.org/2842303004/diff/80001/ui/webui/resources/js/cr/ui/focus_without_ink.js#newcode8 ui/webui/resources/js/cr/ui/focus_without_ink.js:8: document.addEventListener('mousedown', function() { On 2017/05/02 00:13:22, dpapad wrote: > ...
3 years, 7 months ago (2017-05-02 02:55:11 UTC) #24
dpapad
LGTM https://codereview.chromium.org/2842303004/diff/100001/chrome/browser/resources/settings/android_apps_page/android_apps_subpage.js File chrome/browser/resources/settings/android_apps_page/android_apps_subpage.js (right): https://codereview.chromium.org/2842303004/diff/100001/chrome/browser/resources/settings/android_apps_page/android_apps_subpage.js#newcode96 chrome/browser/resources/settings/android_apps_page/android_apps_subpage.js:96: cr.ui.focusWithoutInk(assert(this.$$('#remove button'))); Nit (not for this CL): We ...
3 years, 7 months ago (2017-05-02 03:03:43 UTC) #27
Dan Beam
https://codereview.chromium.org/2842303004/diff/100001/chrome/browser/resources/settings/android_apps_page/android_apps_subpage.js File chrome/browser/resources/settings/android_apps_page/android_apps_subpage.js (right): https://codereview.chromium.org/2842303004/diff/100001/chrome/browser/resources/settings/android_apps_page/android_apps_subpage.js#newcode96 chrome/browser/resources/settings/android_apps_page/android_apps_subpage.js:96: cr.ui.focusWithoutInk(assert(this.$$('#remove button'))); On 2017/05/02 03:03:43, dpapad wrote: > Nit ...
3 years, 7 months ago (2017-05-02 21:34:25 UTC) #32
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/2842303004/200001
3 years, 7 months ago (2017-05-03 01:23:51 UTC) #45
commit-bot: I haz the power
3 years, 7 months ago (2017-05-03 01:57:31 UTC) #48
Message was sent while issue was closed.
Committed patchset #10 (id:200001) as
https://chromium.googlesource.com/chromium/src/+/fff67725b349e1b90c1545720e91...

Powered by Google App Engine
This is Rietveld 408576698