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

Issue 173642: Set the focus ring color to match the Gtk theme focus color. (Closed)

Created:
11 years, 3 months ago by Evan Stade
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com, brettw, jam
Visibility:
Public.

Description

Set the focus ring color to match the Gtk theme focus color. BUG=8540 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=25278

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 4

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : connect to notification #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -2 lines) Patch
M chrome/browser/tab_contents/tab_contents.cc View 4 5 3 chunks +9 lines, -0 lines 0 comments Download
M chrome/common/gtk_util.cc View 1 2 3 4 5 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/common/render_messages.h View 1 2 3 4 5 2 chunks +18 lines, -0 lines 2 comments Download
M chrome/common/renderer_preferences.h View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/renderer/render_view.cc View 1 2 3 4 5 2 chunks +6 lines, -2 lines 0 comments Download
M webkit/glue/webview.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M webkit/glue/webview_impl.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/glue/webview_impl.cc View 1 2 3 4 5 2 chunks +9 lines, -0 lines 1 comment Download

Messages

Total messages: 24 (0 generated)
Evan Stade
this will always set the focus ring color to match your gtk theme. On the ...
11 years, 3 months ago (2009-09-01 18:32:22 UTC) #1
Evan Martin
+joel, who's working in this area
11 years, 3 months ago (2009-09-01 18:33:22 UTC) #2
Evan Stade
oh, and there's a webkit side: http://codereview.chromium.org/180069/show which I will try to upstream after the ...
11 years, 3 months ago (2009-09-01 18:35:55 UTC) #3
Elliot Glaysher
> but doesn't seem to jive with our intent to put gtk-drawn widgets in the ...
11 years, 3 months ago (2009-09-01 18:40:42 UTC) #4
Evan Stade
>I thought that we explicitly didn't want to do that. IIRC, EvanM said that he ...
11 years, 3 months ago (2009-09-01 18:44:44 UTC) #5
tony
http://codereview.chromium.org/173642/diff/16/22 File chrome/renderer/render_view.cc (right): http://codereview.chromium.org/173642/diff/16/22#newcode316 Line 316: renderer_prefs.focus_ring_color_g, Can you move this to OnSetRendererPrefs?
11 years, 3 months ago (2009-09-01 18:49:25 UTC) #6
Evan Stade
http://codereview.chromium.org/173642/diff/16/22 File chrome/renderer/render_view.cc (right): http://codereview.chromium.org/173642/diff/16/22#newcode316 Line 316: renderer_prefs.focus_ring_color_g, On 2009/09/01 18:49:25, tony wrote: > Can ...
11 years, 3 months ago (2009-09-01 18:51:57 UTC) #7
Evan Stade
ah but I see your point. It will be necessary for when we change themes. ...
11 years, 3 months ago (2009-09-01 18:52:48 UTC) #8
tony
On 2009/09/01 18:40:42, Elliot Glaysher wrote: > > but doesn't seem to jive with our ...
11 years, 3 months ago (2009-09-01 18:53:24 UTC) #9
tony
On 2009/09/01 18:52:48, Evan Stade wrote: > ah but I see your point. It will ...
11 years, 3 months ago (2009-09-01 18:56:09 UTC) #10
Evan Stade
OK, I updated it to sync the renderer prefs whenever the theme changes (although I ...
11 years, 3 months ago (2009-09-01 19:42:23 UTC) #11
Elliot Glaysher
On 2009/09/01 19:42:23, Evan Stade wrote: > OK, I updated it to sync the renderer ...
11 years, 3 months ago (2009-09-01 19:45:18 UTC) #12
darin (slow to review)
http://codereview.chromium.org/173642/diff/32/35 File webkit/glue/webview_impl.cc (right): http://codereview.chromium.org/173642/diff/32/35#newcode1784 Line 1784: void WebViewImpl::SetThemeFocusRingColor(int r, int g, int b) { ...
11 years, 3 months ago (2009-09-10 06:14:47 UTC) #13
Evan Stade
> this should really be using the WebKit::setNamedColors interface. was there a > reason why ...
11 years, 3 months ago (2009-09-10 18:29:02 UTC) #14
Elliot Glaysher
I stopped working on this since there were already two people (estade and joe) touching ...
11 years, 3 months ago (2009-09-10 18:37:12 UTC) #15
darin (slow to review)
It would be great if someone could help with this. I think we should only ...
11 years, 3 months ago (2009-09-10 18:57:30 UTC) #16
Evan Stade
filed http://code.google.com/p/chromium/issues/detail?id=21521
11 years, 3 months ago (2009-09-10 20:37:32 UTC) #17
Evan Stade
It appears that WebKit::setNamedColors is stubbed out.
11 years, 3 months ago (2009-09-10 20:52:58 UTC) #18
darin (slow to review)
Right. It would need to be completed. It is okay to just add support for ...
11 years, 3 months ago (2009-09-10 20:58:15 UTC) #19
Evan Stade
updated
11 years, 3 months ago (2009-09-10 22:32:12 UTC) #20
darin (slow to review)
http://codereview.chromium.org/173642/diff/32/39 File chrome/common/render_messages.h (right): http://codereview.chromium.org/173642/diff/32/39#newcode1577 Line 1577: WriteParam(m, p.focus_ring_color_r); why not just send the WebKit::WebColor ...
11 years, 3 months ago (2009-09-10 22:50:15 UTC) #21
Evan Stade
(note that the previous "updated" msg was sent in error) http://codereview.chromium.org/173642/diff/32/39 File chrome/common/render_messages.h (right): http://codereview.chromium.org/173642/diff/32/39#newcode1577 ...
11 years, 3 months ago (2009-09-10 22:53:28 UTC) #22
darin (slow to review)
On Thu, Sep 10, 2009 at 3:53 PM, <estade@chromium.org> wrote: > (note that the previous ...
11 years, 3 months ago (2009-09-10 23:00:11 UTC) #23
Joel Stanley (old)
11 years, 3 months ago (2009-09-10 23:55:33 UTC) #24
On 2009/09/10 18:29:02, Evan Stade wrote:
> > this should really be using the WebKit::setNamedColors interface.  was there
a
> > reason why that was not done?
> 
> ignorance on my part. Joel, Elliot, are you working in this area? If so, are
you
> going to change how this stuff works soon, or would it be worth it for me to
go
> back and fix it?

My patch was backed out as it turned valgrind red, and I haven't had a chance to
look at it yet: http://codereview.chromium.org/186009/show

I'm happy to fix it if someone (Elliot?) can point out the correct way to do it.

Powered by Google App Engine
This is Rietveld 408576698