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

Issue 668983004: Add <a is="action-link">, a web component extension of <a> for in-page actions. (Closed)

Created:
6 years, 2 months ago by Dan Beam
Modified:
6 years, 2 months ago
Reviewers:
dmazzoni, fukino, aboxhall
CC:
chromium-reviews, asanka, extensions-reviews_chromium.org, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, benjhayden+dwatch_chromium.org, yoshiki+watch_chromium.org, dbeam+watch-ntp_chromium.org, dbeam+watch-options_chromium.org, Patrick Dubroy, nona+watch_chromium.org, rginda+watch_chromium.org, mtomasz+watch_chromium.org, pam+watch_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, estade+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, pedrosimonetti+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add <a is="action-link">, a web component extension of <a> for in-page actions. Has the benefit of looking a lot like an <a> tag naturally without a whole bunch of CSS resetting. Also lacks the extra context menu options (e.g. "Copy link location...") like <a href> has. Replaces <button class="link-button">, which has always been odd to me. BUG=399376 R=dmazzoni@chromium.org,aboxhall@chromium.org TBR=fukino@chromium.org Committed: https://crrev.com/60e00c0382e70dc2191dd7d20cfbff146de64afc Cr-Commit-Position: refs/heads/master@{#301040}

Patch Set 1 #

Patch Set 2 : more #

Patch Set 3 : whoops #

Patch Set 4 : fixes #

Patch Set 5 : fixes #

Total comments: 6

Patch Set 6 : nits #

Total comments: 23

Patch Set 7 : nits #

Patch Set 8 : merge #

Patch Set 9 : test fixes #

Patch Set 10 : whoops #

Patch Set 11 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+248 lines, -228 lines) Patch
M chrome/app/chromium_strings.grd View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/app/generated_resources.grd View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/app/google_chrome_strings.grd View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/crashes.html View 1 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/resources/downloads/downloads.html View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/downloads/downloads.js View 1 2 3 4 5 6 9 chunks +15 lines, -22 lines 0 comments Download
M chrome/browser/resources/extensions/extension_error.html View 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/browser/resources/extensions/extensions.css View 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/resources/extensions/extensions.html View 1 2 3 4 5 6 5 chunks +18 lines, -20 lines 0 comments Download
M chrome/browser/resources/extensions/extensions.js View 1 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/resources/help/help.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/help/help_content.html View 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/resources/history/history.css View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/history/history.html View 1 2 3 4 5 6 7 2 chunks +4 lines, -7 lines 0 comments Download
M chrome/browser/resources/history/history.js View 1 2 3 4 5 6 7 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/resources/history/other_devices.js View 1 2 3 4 5 6 7 1 chunk +5 lines, -7 lines 0 comments Download
M chrome/browser/resources/hotword_audio_verification/main.html View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/hotword_audio_verification/steps/audio_history_step.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/hotword_audio_verification/steps/hotword_audio_history_step.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/hotword_audio_verification/style.css View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/local_discovery/local_discovery.html View 1 2 3 4 5 6 7 8 5 chunks +11 lines, -10 lines 0 comments Download
M chrome/browser/resources/ntp4/new_tab.css View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/ntp4/new_tab.html View 1 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/resources/ntp4/new_tab.js View 1 2 chunks +1 line, -5 lines 0 comments Download
M chrome/browser/resources/ntp4/new_tab_theme.css View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/options/browser_options.css View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/options/browser_options.html View 6 chunks +12 lines, -14 lines 0 comments Download
M chrome/browser/resources/options/chromeos/keyboard_overlay.html View 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/resources/options/clear_browser_data_overlay.js View 1 chunk +8 lines, -9 lines 0 comments Download
M chrome/browser/resources/options/controlled_setting.js View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/resources/options/font_settings.html View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/options/language_options.css View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/resources/options/language_options.html View 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/resources/options/manage_profile_overlay.html View 2 chunks +8 lines, -10 lines 0 comments Download
M chrome/browser/resources/options/options.html View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/resources/options/options_page.css View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/search_box.html View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/resources/options/startup_section.html View 1 chunk +3 lines, -5 lines 0 comments Download
M chrome/browser/resources/options/sync_section.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/policy.html View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/resources/print_preview/print_preview.css View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/print_preview/print_preview.html View 2 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/resources/print_preview/search/destination_list.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/print_preview/search/destination_search.css View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/print_preview/search/destination_search.js View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/print_preview/settings/more_settings.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/sync_setup_overlay.html View 2 chunks +4 lines, -8 lines 0 comments Download
M chrome/browser/resources/user_manager/user_manager.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/user_manager/user_manager_tutorial.css View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/user_manager/user_manager_tutorial.html View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/downloads_ui_browsertest.js View 1 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/test/data/webui/history_browsertest.js View 1 2 3 4 5 6 7 8 9 4 chunks +6 lines, -4 lines 0 comments Download
M ui/file_manager/file_manager/foreground/css/list.css View 1 chunk +1 line, -1 line 0 comments Download
M ui/webui/resources/css/list.css View 1 chunk +1 line, -1 line 0 comments Download
M ui/webui/resources/css/widgets.css View 8 chunks +16 lines, -21 lines 0 comments Download
A ui/webui/resources/js/action_link.js View 1 2 3 4 5 6 1 chunk +57 lines, -0 lines 0 comments Download
M ui/webui/resources/js/util.js View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M ui/webui/resources/webui_resources.grd View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (12 generated)
Dan Beam
6 years, 2 months ago (2014-10-22 06:30:27 UTC) #2
dmazzoni
+aboxhall - she knows components better than I do. Yay for components! Are these focusable ...
6 years, 2 months ago (2014-10-22 06:37:16 UTC) #4
Dan Beam
On 2014/10/22 06:37:16, dmazzoni wrote: > +aboxhall - she knows components better than I do. ...
6 years, 2 months ago (2014-10-22 19:17:29 UTC) #5
Dan Beam
On 2014/10/22 19:17:29, Dan Beam wrote: > On 2014/10/22 06:37:16, dmazzoni wrote: > > +aboxhall ...
6 years, 2 months ago (2014-10-22 19:24:46 UTC) #6
aboxhall
On 2014/10/22 19:24:46, Dan Beam wrote: > On 2014/10/22 19:17:29, Dan Beam wrote: > > ...
6 years, 2 months ago (2014-10-22 19:34:29 UTC) #7
Dan Beam
On 2014/10/22 19:34:29, aboxhall wrote: > On 2014/10/22 19:24:46, Dan Beam wrote: > > On ...
6 years, 2 months ago (2014-10-22 19:48:08 UTC) #8
aboxhall
On 2014/10/22 19:48:08, Dan Beam wrote: > On 2014/10/22 19:34:29, aboxhall wrote: > > On ...
6 years, 2 months ago (2014-10-22 19:59:41 UTC) #9
Dan Beam
On 2014/10/22 19:59:41, aboxhall wrote: > On 2014/10/22 19:48:08, Dan Beam wrote: > > On ...
6 years, 2 months ago (2014-10-22 20:11:18 UTC) #10
aboxhall
Ok, I didn't find too many instances where it should really be a button rather ...
6 years, 2 months ago (2014-10-22 21:33:32 UTC) #11
Dan Beam
I agree with your UI concerns. In general this CL is meant to swap the ...
6 years, 2 months ago (2014-10-23 03:05:44 UTC) #13
aboxhall
lgtm https://codereview.chromium.org/668983004/diff/100001/chrome/app/chromium_strings.grd File chrome/app/chromium_strings.grd (right): https://codereview.chromium.org/668983004/diff/100001/chrome/app/chromium_strings.grd#newcode432 chrome/app/chromium_strings.grd:432: (requires Chromium <ph name="BEGIN_BUTTON">&lt;a is="action-link" id="gpu-mode-reset-restart-button" class="standalone-action-link"&gt;</ph>restart<ph name="END_BUTTON">&lt;/a&gt;</ph>) ...
6 years, 2 months ago (2014-10-23 21:41:05 UTC) #15
Dan Beam
ping dmazzoni@
6 years, 2 months ago (2014-10-24 00:54:01 UTC) #16
Dan Beam
from dmazzoni@ on chat: """ I've been following it, if she's happy then lgtm too ...
6 years, 2 months ago (2014-10-24 01:08:06 UTC) #17
Dan Beam
TBR=fukino@ for trivial ui/file_manager CSS change (I don't think the file_manager ever used .link-button).
6 years, 2 months ago (2014-10-24 01:14:56 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/668983004/220001
6 years, 2 months ago (2014-10-24 01:16:41 UTC) #23
fukino
On 2014/10/24 01:14:56, Dan Beam wrote: > TBR=fukino@ for trivial ui/file_manager CSS change (I don't ...
6 years, 2 months ago (2014-10-24 01:38:51 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg/builds/27844)
6 years, 2 months ago (2014-10-24 01:40:16 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/668983004/150059
6 years, 2 months ago (2014-10-24 01:44:09 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/83289) linux_chromium_asan_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel/builds/5861) linux_chromium_gn_dbg ...
6 years, 2 months ago (2014-10-24 01:59:44 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/668983004/150059
6 years, 2 months ago (2014-10-24 02:15:18 UTC) #32
commit-bot: I haz the power
Committed patchset #11 (id:150059)
6 years, 2 months ago (2014-10-24 03:52:16 UTC) #33
commit-bot: I haz the power
6 years, 2 months ago (2014-10-24 03:52:57 UTC) #34
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/60e00c0382e70dc2191dd7d20cfbff146de64afc
Cr-Commit-Position: refs/heads/master@{#301040}

Powered by Google App Engine
This is Rietveld 408576698