summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webmenurunner_mac.h
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-11 17:23:24 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-11 17:23:24 +0000
commitd98dfa02191fbe47c1104b1129293b29f6600e87 (patch)
tree9279f99de3ae34115b1023407123eeacc10a75ac /webkit/glue/webmenurunner_mac.h
parent1f70794df858d93b8a2054451119f8d23a3038c3 (diff)
downloadchromium_src-d98dfa02191fbe47c1104b1129293b29f6600e87.zip
chromium_src-d98dfa02191fbe47c1104b1129293b29f6600e87.tar.gz
chromium_src-d98dfa02191fbe47c1104b1129293b29f6600e87.tar.bz2
Extend Mac popup to handle more directionality.
BUG=71326 TEST=verify popup is correct with test page noted in bug writeup. Review URL: http://codereview.chromium.org/6410125 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74622 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webmenurunner_mac.h')
-rw-r--r--webkit/glue/webmenurunner_mac.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/webkit/glue/webmenurunner_mac.h b/webkit/glue/webmenurunner_mac.h
index c56eeeb..eccb1ef 100644
--- a/webkit/glue/webmenurunner_mac.h
+++ b/webkit/glue/webmenurunner_mac.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -33,6 +33,9 @@
// The font size being used for the menu.
CGFloat fontSize_;
+
+ // Whether the menu should be displayed right-aligned.
+ BOOL rightAligned_;
}
// Initializes the MenuDelegate with a list of items sent from WebKit.