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

Issue 1020623002: [AiS] adding positive and negative theme values (Closed)

Created:
5 years, 9 months ago by dschuyler
Modified:
5 years, 9 months ago
CC:
chromium-reviews, groby-ooo-7-16, Justin Donnelly, msw
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[AiS] adding positive and negative theme values. This is a step toward having color text for things like an increase in stock price (positive) and a decrease in stock value (negative). An example would be the text shown in Answers in Suggest. This CL is groundwork for (and separated out from) CL 795933009. BUG=455418 Committed: https://crrev.com/362e17dd968c9a8ee263ab5b7171b336f0119e0e Cr-Commit-Position: refs/heads/master@{#321586}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Removed unneeded change #

Patch Set 3 : Changed arg to GetReadableColor #

Patch Set 4 : Re-added GetReadableColor on hovered table text #

Patch Set 5 : Merge from master #

Total comments: 4

Patch Set 6 : Added comments for positive and negative text #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -2 lines) Patch
M chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc View 1 2 3 chunks +30 lines, -0 lines 0 comments Download
M ui/native_theme/fallback_theme.cc View 2 chunks +28 lines, -0 lines 0 comments Download
M ui/native_theme/native_theme.h View 1 2 3 4 5 2 chunks +11 lines, -1 line 0 comments Download
M ui/native_theme/native_theme_win.cc View 2 3 3 chunks +24 lines, -1 line 0 comments Download

Messages

Total messages: 27 (8 generated)
dschuyler
5 years, 9 months ago (2015-03-18 21:55:44 UTC) #2
Peter Kasting
Please fill in the BUG= line. LGTM https://codereview.chromium.org/1020623002/diff/1/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc File chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc (right): https://codereview.chromium.org/1020623002/diff/1/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc#newcode97 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc:97: GdkColor GetReadableColor(uint32_t ...
5 years, 9 months ago (2015-03-18 22:00:04 UTC) #4
dschuyler
I removed an unnecessary change to native_theme_win.cc.
5 years, 9 months ago (2015-03-18 22:00:13 UTC) #6
dschuyler
5 years, 9 months ago (2015-03-18 22:03:12 UTC) #7
dschuyler
https://codereview.chromium.org/1020623002/diff/1/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc File chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc (right): https://codereview.chromium.org/1020623002/diff/1/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc#newcode97 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc:97: GdkColor GetReadableColor(uint32_t color, const GdkColor& background) { On 2015/03/18 ...
5 years, 9 months ago (2015-03-18 22:03:35 UTC) #8
Peter Kasting
On 2015/03/18 22:00:13, dschuyler wrote: > I removed an unnecessary change to native_theme_win.cc. Unrevert that, ...
5 years, 9 months ago (2015-03-18 22:25:10 UTC) #9
dschuyler
Unreverted the GetReadableColor call.
5 years, 9 months ago (2015-03-18 22:37:03 UTC) #10
Evan Stade
gtk lgtm
5 years, 9 months ago (2015-03-19 16:18:26 UTC) #11
dschuyler
On 2015/03/19 16:18:26, Evan Stade wrote: > gtk lgtm Hi Sadrul, may I get your ...
5 years, 9 months ago (2015-03-19 17:50:14 UTC) #12
msw
This doesn't address my concerns regarding the ad-hoc application of readable color modifications and blending ...
5 years, 9 months ago (2015-03-19 19:38:39 UTC) #14
Peter Kasting
On 2015/03/19 19:38:39, msw wrote: > This doesn't address my concerns regarding the ad-hoc application ...
5 years, 9 months ago (2015-03-19 20:12:13 UTC) #15
sadrul
+sky@ Sounds like there's some disagreements over the best approach, and I don't know enough ...
5 years, 9 months ago (2015-03-19 20:19:17 UTC) #17
msw
Peter's explanation in the other CL makes sense; lgtm. https://codereview.chromium.org/1020623002/diff/80001/ui/native_theme/fallback_theme.cc File ui/native_theme/fallback_theme.cc (right): https://codereview.chromium.org/1020623002/diff/80001/ui/native_theme/fallback_theme.cc#newcode99 ui/native_theme/fallback_theme.cc:99: ...
5 years, 9 months ago (2015-03-19 21:39:24 UTC) #18
Peter Kasting
https://codereview.chromium.org/1020623002/diff/80001/ui/native_theme/fallback_theme.cc File ui/native_theme/fallback_theme.cc (right): https://codereview.chromium.org/1020623002/diff/80001/ui/native_theme/fallback_theme.cc#newcode99 ui/native_theme/fallback_theme.cc:99: kTextfieldSelectionBackgroundFocused, 0xDD); On 2015/03/19 21:39:23, msw wrote: > nit: ...
5 years, 9 months ago (2015-03-19 22:17:53 UTC) #20
sky
It looks like everyone is happy now. I have one request, LGTM after adding better ...
5 years, 9 months ago (2015-03-19 23:54:31 UTC) #21
dschuyler
https://codereview.chromium.org/1020623002/diff/80001/ui/native_theme/native_theme.h File ui/native_theme/native_theme.h (right): https://codereview.chromium.org/1020623002/diff/80001/ui/native_theme/native_theme.h#newcode317 ui/native_theme/native_theme.h:317: kColorId_ResultsTablePositiveText, On 2015/03/19 23:54:31, sky wrote: > These constants ...
5 years, 9 months ago (2015-03-20 02:03:53 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1020623002/100001
5 years, 9 months ago (2015-03-20 17:18:41 UTC) #25
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 9 months ago (2015-03-20 17:22:52 UTC) #26
commit-bot: I haz the power
5 years, 9 months ago (2015-03-20 17:23:57 UTC) #27
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/362e17dd968c9a8ee263ab5b7171b336f0119e0e
Cr-Commit-Position: refs/heads/master@{#321586}

Powered by Google App Engine
This is Rietveld 408576698