Description was changed from ========== Use NoUnderlineClickableSpan Since a new class NoUnderlineClickableSpan was added, this ...
4 years, 9 months ago
(2016-03-10 00:59:14 UTC)
#1
Description was changed from
==========
Use NoUnderlineClickableSpan
Since a new class NoUnderlineClickableSpan was added, this patch modified
code which can use it.
BUG=
==========
to
==========
Use NoUnderlineClickableSpan
Since a new class NoUnderlineClickableSpan was added, this patch modified
code which can use it.
BUG=593547
==========
juncai
Description was changed from ========== Use NoUnderlineClickableSpan Since a new class NoUnderlineClickableSpan was added, this ...
4 years, 9 months ago
(2016-03-10 01:00:27 UTC)
#2
Description was changed from
==========
Use NoUnderlineClickableSpan
Since a new class NoUnderlineClickableSpan was added, this patch modified
code which can use it.
BUG=593547
==========
to
==========
Re-use NoUnderlineClickableSpan which shows a clickable link with underlines
turned off
A new class NoUnderlineClickableSpan which shows a clickable link with
underlines turned off was added in patch:
https://codereview.chromium.org/1739523002/
This this patch modified code which can re-use this class.
BUG=593547
==========
juncai
Description was changed from ========== Re-use NoUnderlineClickableSpan which shows a clickable link with underlines turned ...
4 years, 9 months ago
(2016-03-10 01:01:00 UTC)
#3
Description was changed from
==========
Re-use NoUnderlineClickableSpan which shows a clickable link with underlines
turned off
A new class NoUnderlineClickableSpan which shows a clickable link with
underlines turned off was added in patch:
https://codereview.chromium.org/1739523002/
This this patch modified code which can re-use this class.
BUG=593547
==========
to
==========
Re-use NoUnderlineClickableSpan which shows a clickable link with underlines
turned off
A new class NoUnderlineClickableSpan which shows a
clickable link with underlines turned off was added in
patch:
https://codereview.chromium.org/1739523002/
This this patch modified code which can re-use this class.
BUG=593547
==========
4 years, 9 months ago
(2016-03-10 01:36:46 UTC)
#5
Please take a look.
juncai
Description was changed from ========== Re-use NoUnderlineClickableSpan which shows a clickable link with underlines turned ...
4 years, 9 months ago
(2016-03-10 01:37:24 UTC)
#6
Description was changed from
==========
Re-use NoUnderlineClickableSpan which shows a clickable link with underlines
turned off
A new class NoUnderlineClickableSpan which shows a
clickable link with underlines turned off was added in
patch:
https://codereview.chromium.org/1739523002/
This this patch modified code which can re-use this class.
BUG=593547
==========
to
==========
Re-use NoUnderlineClickableSpan which shows a clickable link with underlines
turned off
A new class NoUnderlineClickableSpan which shows a
clickable link with underlines turned off was added in
patch:
https://codereview.chromium.org/1739523002/
This patch modified code which can re-use this class.
BUG=593547
==========
newt (away)
Thanks for this follow-up. A few comments about ways we can clean things up even ...
4 years, 9 months ago
(2016-03-10 02:45:14 UTC)
#7
Thanks for this follow-up. A few comments about ways we can clean things up even
more.
As much as possible, we should be using the same link color throughout Chrome
UI. Typically, the link color is controlled at the Activity level by setting the
value of "android:textColorLink" in the theme (see
chrome/android/java/res/values-v17/styles.xml for an example). You can also
change the link color of an individual TextView by setting that attribute on the
text view.
So, we shouldn't generally need to override the text color in updateDrawState().
https://codereview.chromium.org/1774243003/diff/40001/chrome/android/java/src...
File
chrome/android/java/src/org/chromium/chrome/browser/autofill/PasswordGenerationAdapter.java
(right):
https://codereview.chromium.org/1774243003/diff/40001/chrome/android/java/src...
chrome/android/java/src/org/chromium/chrome/browser/autofill/PasswordGenerationAdapter.java:154:
public void updateDrawState(TextPaint textPaint) {
Let's remove this method and delete password_generation_link_text_color from
colors.xml. We should use our color palette consistently, rather than changing
the link color in this one place.
https://codereview.chromium.org/1774243003/diff/40001/chrome/android/java/src...
File
chrome/android/java/src/org/chromium/chrome/browser/firstrun/ToSAndUMAFirstRunFragment.java
(right):
https://codereview.chromium.org/1774243003/diff/40001/chrome/android/java/src...
chrome/android/java/src/org/chromium/chrome/browser/firstrun/ToSAndUMAFirstRunFragment.java:68:
int linkColor = getResources().getColor(R.color.ui_link_text_color);
Get rid of linkColor and delete the FreClickableSpan class altogether. This is
redundant work: we're overriding the color to the default link color.
https://codereview.chromium.org/1774243003/diff/40001/chrome/android/java/src...
File
chrome/android/java/src/org/chromium/chrome/browser/signin/AccountSigninView.java
(right):
https://codereview.chromium.org/1774243003/diff/40001/chrome/android/java/src...
chrome/android/java/src/org/chromium/chrome/browser/signin/AccountSigninView.java:497:
public void updateDrawState(TextPaint textPaint) {
Remove this method. Again, we shouldn't need to override the link color here.
juncai
https://codereview.chromium.org/1774243003/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/autofill/PasswordGenerationAdapter.java File chrome/android/java/src/org/chromium/chrome/browser/autofill/PasswordGenerationAdapter.java (right): https://codereview.chromium.org/1774243003/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/autofill/PasswordGenerationAdapter.java#newcode154 chrome/android/java/src/org/chromium/chrome/browser/autofill/PasswordGenerationAdapter.java:154: public void updateDrawState(TextPaint textPaint) { On 2016/03/10 02:45:13, newt ...
4 years, 9 months ago
(2016-03-11 23:53:05 UTC)
#8
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1774243003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1774243003/140001
4 years, 8 months ago
(2016-03-25 20:58:47 UTC)
#12
Description was changed from ========== Re-use NoUnderlineClickableSpan which shows a clickable link with underlines turned ...
4 years, 8 months ago
(2016-03-25 21:07:28 UTC)
#13
Message was sent while issue was closed.
Description was changed from
==========
Re-use NoUnderlineClickableSpan which shows a clickable link with underlines
turned off
A new class NoUnderlineClickableSpan which shows a
clickable link with underlines turned off was added in
patch:
https://codereview.chromium.org/1739523002/
This patch modified code which can re-use this class.
BUG=593547
==========
to
==========
Re-use NoUnderlineClickableSpan which shows a clickable link with underlines
turned off
A new class NoUnderlineClickableSpan which shows a
clickable link with underlines turned off was added in
patch:
https://codereview.chromium.org/1739523002/
This patch modified code which can re-use this class.
BUG=593547
==========
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 8 months ago
(2016-03-25 21:07:29 UTC)
#14
Message was sent while issue was closed.
Committed patchset #8 (id:140001)
commit-bot: I haz the power
Description was changed from ========== Re-use NoUnderlineClickableSpan which shows a clickable link with underlines turned ...
4 years, 8 months ago
(2016-03-25 21:08:53 UTC)
#15
Message was sent while issue was closed.
Description was changed from
==========
Re-use NoUnderlineClickableSpan which shows a clickable link with underlines
turned off
A new class NoUnderlineClickableSpan which shows a
clickable link with underlines turned off was added in
patch:
https://codereview.chromium.org/1739523002/
This patch modified code which can re-use this class.
BUG=593547
==========
to
==========
Re-use NoUnderlineClickableSpan which shows a clickable link with underlines
turned off
A new class NoUnderlineClickableSpan which shows a
clickable link with underlines turned off was added in
patch:
https://codereview.chromium.org/1739523002/
This patch modified code which can re-use this class.
BUG=593547
Committed: https://crrev.com/674521d2e65100457ab1281403091c1b7bf97a29
Cr-Commit-Position: refs/heads/master@{#383359}
==========
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/674521d2e65100457ab1281403091c1b7bf97a29 Cr-Commit-Position: refs/heads/master@{#383359}
4 years, 8 months ago
(2016-03-25 21:08:54 UTC)
#16
Issue 1774243003: Re-use NoUnderlineClickableSpan which shows a clickable link with underlines turned off
(Closed)
Created 4 years, 9 months ago by juncai
Modified 4 years, 8 months ago
Reviewers: newt (away)
Base URL: https://chromium.googlesource.com/chromium/src.git@webusb_android_chooser
Comments: 6