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

Unified Diff: chrome/common/render_messages.h

Issue 554004: GTK: Use GTK+ theme selection colors and plumb them into webkit. (Closed)
Patch Set: Move layout tests to correct paths Created 10 years, 11 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
« no previous file with comments | « chrome/browser/renderer_preferences_util.cc ('k') | chrome/common/renderer_preferences.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/render_messages.h
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index 5efe75ead2c23eebedb8890fd3bd38b688ceb3b0..24e1e7274fc2a792af237e969b0af2f5043e9cca 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -1601,6 +1601,10 @@ struct ParamTraits<RendererPreferences> {
WriteParam(m, p.thumb_active_color);
WriteParam(m, p.thumb_inactive_color);
WriteParam(m, p.track_color);
+ WriteParam(m, p.active_selection_bg_color);
+ WriteParam(m, p.active_selection_fg_color);
+ WriteParam(m, p.inactive_selection_bg_color);
+ WriteParam(m, p.inactive_selection_fg_color);
WriteParam(m, p.browser_handles_top_level_requests);
}
static bool Read(const Message* m, void** iter, param_type* p) {
@@ -1627,13 +1631,23 @@ struct ParamTraits<RendererPreferences> {
p->focus_ring_color = focus_ring_color;
int thumb_active_color, thumb_inactive_color, track_color;
+ int active_selection_bg_color, active_selection_fg_color;
+ int inactive_selection_bg_color, inactive_selection_fg_color;
if (!ReadParam(m, iter, &thumb_active_color) ||
!ReadParam(m, iter, &thumb_inactive_color) ||
- !ReadParam(m, iter, &track_color))
+ !ReadParam(m, iter, &track_color) ||
+ !ReadParam(m, iter, &active_selection_bg_color) ||
+ !ReadParam(m, iter, &active_selection_fg_color) ||
+ !ReadParam(m, iter, &inactive_selection_bg_color) ||
+ !ReadParam(m, iter, &inactive_selection_fg_color))
return false;
p->thumb_active_color = thumb_active_color;
p->thumb_inactive_color = thumb_inactive_color;
p->track_color = track_color;
+ p->active_selection_bg_color = active_selection_bg_color;
+ p->active_selection_fg_color = active_selection_fg_color;
+ p->inactive_selection_bg_color = inactive_selection_bg_color;
+ p->inactive_selection_fg_color = inactive_selection_fg_color;
if (!ReadParam(m, iter, &p->browser_handles_top_level_requests))
return false;
« no previous file with comments | « chrome/browser/renderer_preferences_util.cc ('k') | chrome/common/renderer_preferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698