summaryrefslogtreecommitdiffstats
path: root/views/controls/menu/native_menu_gtk.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_gtk.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_gtk.cc')
-rw-r--r--views/controls/menu/native_menu_gtk.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/views/controls/menu/native_menu_gtk.cc b/views/controls/menu/native_menu_gtk.cc
index 57033d4..78a4f68 100644
--- a/views/controls/menu/native_menu_gtk.cc
+++ b/views/controls/menu/native_menu_gtk.cc
@@ -555,13 +555,9 @@ void NativeMenuGtk::MenuDestroyed(GtkWidget* widget, Menu2* menu2) {
////////////////////////////////////////////////////////////////////////////////
// MenuWrapper, public:
-#if !defined(OS_CHROMEOS)
-
// static
MenuWrapper* MenuWrapper::CreateWrapper(Menu2* menu) {
return new NativeMenuGtk(menu);
}
-#endif // OS_CHROMEOS
-
} // namespace views