diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-14 16:32:59 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-14 16:32:59 +0000 |
commit | 88efb7ec99239eeecaa17d21f8635be1bce29cca (patch) | |
tree | b1a988fbca10748e584f78abb755036e63ff335f /webkit/glue/webmenurunner_mac.mm | |
parent | c9d6a1df8ef5fd2c3f134dcb544663ce8bd21c7b (diff) | |
download | chromium_src-88efb7ec99239eeecaa17d21f8635be1bce29cca.zip chromium_src-88efb7ec99239eeecaa17d21f8635be1bce29cca.tar.gz chromium_src-88efb7ec99239eeecaa17d21f8635be1bce29cca.tar.bz2 |
Replace ShowAsPopupWithItems to CreatePopupWidgetWithInfo. Also,
make use of WebPopupMenuInfo from the WebKit API. WebMenuItem
remains in webkit/glue for convenience with IPC marshalling and
related usage in Chrome.
This work is precursor to switching over to using WebWidget from
the WebKit API.
BUG=16234
TEST=html select drop downs should still work on the mac. try
switching languages on news.google.com.
R=paul
Review URL: http://codereview.chromium.org/155378
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20624 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webmenurunner_mac.mm')
-rw-r--r-- | webkit/glue/webmenurunner_mac.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/glue/webmenurunner_mac.mm b/webkit/glue/webmenurunner_mac.mm index 8997f05..99c52bd 100644 --- a/webkit/glue/webmenurunner_mac.mm +++ b/webkit/glue/webmenurunner_mac.mm @@ -25,7 +25,7 @@ menu_.reset([[NSMenu alloc] initWithTitle:@""]); [menu_ setAutoenablesItems:NO]; index_ = -1; - for (int i = 0; i < static_cast<int>(items.size()); ++i) + for (size_t i = 0; i < items.size(); ++i) [self addItem:items[i]]; } return self; |