Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(255)

Unified Diff: views/controls/menu/menu_host.cc

Issue 8621006: Remove most obvious TOUCH_UI code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert file that CQ does not like. Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « views/controls/menu/menu_controller.h ('k') | views/controls/menu/menu_item_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/menu/menu_host.cc
diff --git a/views/controls/menu/menu_host.cc b/views/controls/menu/menu_host.cc
index 075fa82d1eda0eca549e01c7c0e5e25741f05d37..740cc81cdfd2e1bf6e2b7f963870205de695886c 100644
--- a/views/controls/menu/menu_host.cc
+++ b/views/controls/menu/menu_host.cc
@@ -48,9 +48,6 @@ void MenuHost::ShowMenuHost(bool do_capture) {
// process of showing.
ignore_capture_lost_ = true;
Show();
-#if defined(TOUCH_UI)
- Activate();
-#endif
if (do_capture)
native_widget_private()->SetMouseCapture();
ignore_capture_lost_ = false;
« no previous file with comments | « views/controls/menu/menu_controller.h ('k') | views/controls/menu/menu_item_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698