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

Unified Diff: webkit/glue/webmenuitem.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 | « webkit/glue/webmenuitem.h ('k') | webkit/glue/webmenurunner_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webmenuitem.cc
===================================================================
--- webkit/glue/webmenuitem.cc (revision 73989)
+++ webkit/glue/webmenuitem.cc (working copy)
@@ -7,6 +7,8 @@
WebMenuItem::WebMenuItem()
: type(OPTION),
action(0),
+ rtl(false),
+ directional_override(false),
enabled(false),
checked(false) {
}
@@ -15,6 +17,8 @@
: label(item.label),
type(static_cast<Type>(item.type)),
action(item.action),
+ rtl(item.textDirection == WebKit::WebTextDirectionRightToLeft),
+ directional_override(item.directionalOverride),
enabled(item.enabled),
checked(item.checked) {
}
@@ -23,6 +27,8 @@
: label(item.label),
type(item.type),
action(item.action),
+ rtl(item.rtl),
+ directional_override(item.directional_override),
enabled(item.enabled),
checked(item.checked),
submenu(item.submenu) {
« no previous file with comments | « webkit/glue/webmenuitem.h ('k') | webkit/glue/webmenurunner_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698