summaryrefslogtreecommitdiffstats
path: root/views/examples
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/examples
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/examples')
-rw-r--r--views/examples/example_base.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/views/examples/example_base.cc b/views/examples/example_base.cc
index d27651a..c73caf9 100644
--- a/views/examples/example_base.cc
+++ b/views/examples/example_base.cc
@@ -54,19 +54,6 @@ class ContainerView : public View {
} // namespace
-namespace views {
-
-// OS_CHROMEOS requires a MenuWrapper::CreateWrapper implementation.
-// TODO(oshima): Fix chromium-os:7409 so that this isn't required.
-#if defined(OS_CHROMEOS)
-// static
-MenuWrapper* MenuWrapper::CreateWrapper(Menu2* menu) {
- return new NativeMenuGtk(menu);
-}
-#endif // OS_CHROMEOS
-
-} // namespace views
-
namespace examples {
ExampleBase::ExampleBase(ExamplesMain* main)