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

Issue 2953493002: Add LayoutTheme::PlatformActiveSpellingMarkerHighlightColor() (Closed)

Created:
3 years, 6 months ago by rlanday
Modified:
3 years, 6 months ago
Reviewers:
tkent, yosin_UTC9
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add LayoutTheme::PlatformActiveSpellingMarkerHighlightColor() I'm working on adding support for the Android spellcheck menu in https://codereview.chromium.org/2931443003 and we need to add another color to LayoutTheme to represent what color we should highlight a misspelled word while the menu is active. Android uses the same red color as the spellcheck underline but with some transparency added. We decided that it's better to add a separate method to LayoutTheme for getting the color than to assume that we'll want to do an alpha blend on every platform that might ever support this menu. BUG=715365 Review-Url: https://codereview.chromium.org/2953493002 Cr-Commit-Position: refs/heads/master@{#481085} Committed: https://chromium.googlesource.com/chromium/src/+/c0e31689b5b37b8f128db8b8475fa7744e675d47

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove virtual #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M third_party/WebKit/Source/core/layout/LayoutTheme.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutTheme.cpp View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (12 generated)
rlanday
3 years, 6 months ago (2017-06-20 21:37:02 UTC) #9
tkent
lgtm https://codereview.chromium.org/2953493002/diff/1/third_party/WebKit/Source/core/layout/LayoutTheme.h File third_party/WebKit/Source/core/layout/LayoutTheme.h (right): https://codereview.chromium.org/2953493002/diff/1/third_party/WebKit/Source/core/layout/LayoutTheme.h#newcode136 third_party/WebKit/Source/core/layout/LayoutTheme.h:136: virtual Color PlatformActiveSpellingMarkerHighlightColor() const; We don't need to ...
3 years, 6 months ago (2017-06-20 23:31:08 UTC) #10
rlanday
https://codereview.chromium.org/2953493002/diff/1/third_party/WebKit/Source/core/layout/LayoutTheme.h File third_party/WebKit/Source/core/layout/LayoutTheme.h (right): https://codereview.chromium.org/2953493002/diff/1/third_party/WebKit/Source/core/layout/LayoutTheme.h#newcode136 third_party/WebKit/Source/core/layout/LayoutTheme.h:136: virtual Color PlatformActiveSpellingMarkerHighlightColor() const; On 2017/06/20 at 23:31:08, tkent ...
3 years, 6 months ago (2017-06-20 23:47:19 UTC) #11
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/2953493002/20001
3 years, 6 months ago (2017-06-20 23:47:48 UTC) #14
yosin_UTC9
lgtm Thanks!
3 years, 6 months ago (2017-06-21 01:21:04 UTC) #15
commit-bot: I haz the power
3 years, 6 months ago (2017-06-21 02:17:32 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/c0e31689b5b37b8f128db8b8475f...

Powered by Google App Engine
This is Rietveld 408576698