Index: ui/views/controls/menu/menu_host.h |
diff --git a/ui/views/controls/menu/menu_host.h b/ui/views/controls/menu/menu_host.h |
index ef44bd06ddd60c90bec167ecad379e7f60c42742..ba931f8ed201dda2422230a39a280bbef8d4175c 100644 |
--- a/ui/views/controls/menu/menu_host.h |
+++ b/ui/views/controls/menu/menu_host.h |
@@ -7,6 +7,7 @@ |
#include "base/compiler_specific.h" |
#include "base/macros.h" |
+#include "base/memory/scoped_ptr.h" |
#include "ui/gfx/geometry/rect.h" |
#include "ui/views/widget/widget.h" |
@@ -17,6 +18,13 @@ class SubmenuView; |
class View; |
class Widget; |
+namespace internal { |
+ |
+// This class is internal to views. |
+class PreMenuEventDispatchHandler; |
+ |
+} // internal |
+ |
// SubmenuView uses a MenuHost to house the SubmenuView. |
// |
// SubmenuView owns the MenuHost. When SubmenuView is done with the MenuHost |
@@ -73,6 +81,11 @@ class MenuHost : public Widget { |
// If true and capture is lost we don't notify the delegate. |
bool ignore_capture_lost_; |
+#if !defined(OS_MACOSX) |
+ // Handles raw touch events at the moment. |
+ scoped_ptr<internal::PreMenuEventDispatchHandler> pre_dispatch_handler_; |
+#endif |
+ |
DISALLOW_COPY_AND_ASSIGN(MenuHost); |
}; |