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

Unified Diff: chrome/common/render_messages.cc

Issue 6410125: Extend Mac popup to handle more directionality.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 10 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 | « no previous file | webkit/glue/webmenuitem.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/render_messages.cc
===================================================================
--- chrome/common/render_messages.cc (revision 73989)
+++ chrome/common/render_messages.cc (working copy)
@@ -772,9 +772,11 @@
void ParamTraits<WebMenuItem>::Write(Message* m, const param_type& p) {
WriteParam(m, p.label);
WriteParam(m, p.type);
+ WriteParam(m, p.action);
+ WriteParam(m, p.rtl);
+ WriteParam(m, p.directional_override);
WriteParam(m, p.enabled);
WriteParam(m, p.checked);
- WriteParam(m, p.action);
WriteParam(m, p.submenu);
}
@@ -784,9 +786,11 @@
return
ReadParam(m, iter, &p->label) &&
ReadParam(m, iter, &p->type) &&
+ ReadParam(m, iter, &p->action) &&
+ ReadParam(m, iter, &p->rtl) &&
+ ReadParam(m, iter, &p->directional_override) &&
ReadParam(m, iter, &p->enabled) &&
ReadParam(m, iter, &p->checked) &&
- ReadParam(m, iter, &p->action) &&
ReadParam(m, iter, &p->submenu);
}
@@ -796,12 +800,16 @@
l->append(", ");
LogParam(p.type, l);
l->append(", ");
+ LogParam(p.action, l);
+ l->append(", ");
+ LogParam(p.rtl, l);
+ l->append(", ");
+ LogParam(p.directional_override, l);
+ l->append(", ");
LogParam(p.enabled, l);
l->append(", ");
LogParam(p.checked, l);
l->append(", ");
- LogParam(p.action, l);
- l->append(", ");
LogParam(p.submenu, l);
l->append(")");
}
« no previous file with comments | « no previous file | webkit/glue/webmenuitem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698