summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webmenurunner_mac.h
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-13 22:13:04 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-13 22:13:04 +0000
commitb88ab037fc20ab5dfe0f35d71e78acc8499979a5 (patch)
tree7d0a9863885e4c70fe1a24f021a28da8a95a736b /webkit/glue/webmenurunner_mac.h
parent5e26d9d482761e38a15f8cb987294d979bc58576 (diff)
downloadchromium_src-b88ab037fc20ab5dfe0f35d71e78acc8499979a5.zip
chromium_src-b88ab037fc20ab5dfe0f35d71e78acc8499979a5.tar.gz
chromium_src-b88ab037fc20ab5dfe0f35d71e78acc8499979a5.tar.bz2
Do right-alignment of popups when WebKit indicates to do so.
BUG=http://crbug.com/23106 TEST=as in bug Review URL: http://codereview.chromium.org/1992006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47204 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webmenurunner_mac.h')
-rw-r--r--webkit/glue/webmenurunner_mac.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/glue/webmenurunner_mac.h b/webkit/glue/webmenurunner_mac.h
index 6f01daf..c56eeeb 100644
--- a/webkit/glue/webmenurunner_mac.h
+++ b/webkit/glue/webmenurunner_mac.h
@@ -37,7 +37,8 @@
// Initializes the MenuDelegate with a list of items sent from WebKit.
- (id)initWithItems:(const std::vector<WebMenuItem>&)items
- fontSize:(CGFloat)fontSize;
+ fontSize:(CGFloat)fontSize
+ rightAligned:(BOOL)rightAligned;
// Returns YES if an item was selected from the menu, NO if the menu was
// dismissed.