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

Unified Diff: chrome/common/render_messages.h

Issue 173642: Set the focus ring color to match the Gtk theme focus color. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: connect to notification Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/render_messages.h
===================================================================
--- chrome/common/render_messages.h (revision 25076)
+++ chrome/common/render_messages.h (working copy)
@@ -1574,6 +1574,9 @@
WriteParam(m, p.should_antialias_text);
WriteParam(m, static_cast<int>(p.hinting));
WriteParam(m, static_cast<int>(p.subpixel_rendering));
+ WriteParam(m, p.focus_ring_color_r);
darin (slow to review) 2009/09/10 22:50:15 why not just send the WebKit::WebColor over IPC?
Evan Stade 2009/09/10 22:53:28 well, I can change the format of how the color is
+ WriteParam(m, p.focus_ring_color_g);
+ WriteParam(m, p.focus_ring_color_b);
WriteParam(m, p.browser_handles_top_level_requests);
}
static bool Read(const Message* m, void** iter, param_type* p) {
@@ -1594,6 +1597,21 @@
static_cast<RendererPreferencesSubpixelRenderingEnum>(
subpixel_rendering);
+ int focus_ring_color_r;
+ if (!ReadParam(m, iter, &focus_ring_color_r))
+ return false;
+ p->focus_ring_color_r = focus_ring_color_r;
+
+ int focus_ring_color_g;
+ if (!ReadParam(m, iter, &focus_ring_color_g))
+ return false;
+ p->focus_ring_color_g = focus_ring_color_g;
+
+ int focus_ring_color_b;
+ if (!ReadParam(m, iter, &focus_ring_color_b))
+ return false;
+ p->focus_ring_color_b = focus_ring_color_b;
+
if (!ReadParam(m, iter, &p->browser_handles_top_level_requests))
return false;

Powered by Google App Engine
This is Rietveld 408576698