summaryrefslogtreecommitdiffstats
path: root/views/controls/menu/native_menu_x.cc
diff options
context:
space:
mode:
authorvarunjain@chromium.org <varunjain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-14 18:53:58 +0000
committervarunjain@chromium.org <varunjain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-14 18:53:58 +0000
commit9b9444f4cf28ac5ddb5ec78a240da2603b5b78f2 (patch)
tree6bd26a1a36e30ef933cf9caebaea85a08265b0a8 /views/controls/menu/native_menu_x.cc
parent45b716bad166240f969e9fca2aeb10c6ca5afbce (diff)
downloadchromium_src-9b9444f4cf28ac5ddb5ec78a240da2603b5b78f2.zip
chromium_src-9b9444f4cf28ac5ddb5ec78a240da2603b5b78f2.tar.gz
chromium_src-9b9444f4cf28ac5ddb5ec78a240da2603b5b78f2.tar.bz2
Implementing context menu for the new views textfield.
BUG=none TEST=right click on the new textfield should show the context menu and all commands on the menu should work. Review URL: http://codereview.chromium.org/6155011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71467 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/menu/native_menu_x.cc')
-rw-r--r--views/controls/menu/native_menu_x.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/views/controls/menu/native_menu_x.cc b/views/controls/menu/native_menu_x.cc
index a952ea2..aca6776 100644
--- a/views/controls/menu/native_menu_x.cc
+++ b/views/controls/menu/native_menu_x.cc
@@ -156,11 +156,9 @@ void NativeMenuX::UpdateMenuFromModel(SubmenuView* menu,
// MenuWrapper, public:
-#if !defined(OS_CHROMEOS)
// static
MenuWrapper* MenuWrapper::CreateWrapper(Menu2* menu) {
return new NativeMenuX(menu);
}
-#endif
} // namespace views