diff options
author | rhashimoto@chromium.org <rhashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-17 19:49:53 +0000 |
---|---|---|
committer | rhashimoto@chromium.org <rhashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-17 19:49:53 +0000 |
commit | 7ae3de9741146e4f429123e4980733be4c52e66d (patch) | |
tree | e8b71dd222ff473164f016125fcb4a2c765df317 /net/proxy/proxy_script_fetcher_impl.h | |
parent | cbf88887820316b01f48d5321f45267d48076f13 (diff) | |
download | chromium_src-7ae3de9741146e4f429123e4980733be4c52e66d.zip chromium_src-7ae3de9741146e4f429123e4980733be4c52e66d.tar.gz chromium_src-7ae3de9741146e4f429123e4980733be4c52e66d.tar.bz2 |
Convert chromeos::BrowserView context menu to MenuItemView
This is the context menu from right-click in the tab bar for Restore
Tab, New Tab, and Task Manager. The existing implementation used
views::Menu2 and this CL converts it to views::MenuItemView.
There is a little mismatch because the ::BrowserView superclass to chromeos::BrowserView
implements ui::SimpleMenuModel::Delegate, which sort of assumes that
subclasses are using a menu implementation that calls this delegate.
MenuItemView uses MenuDelegate instead, so I implemented most of the
MenuDelegate calls as an adapter to the ui::SimpleMenuModel::Delegate
implementation in the ::BrowserView class.
BUG=chromium-os:13887
TEST=none
Review URL: http://codereview.chromium.org/6873078
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85660 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/proxy/proxy_script_fetcher_impl.h')
0 files changed, 0 insertions, 0 deletions