Index: ash/wm/workspace/workspace_event_handler.h |
diff --git a/ash/wm/workspace/workspace_event_handler.h b/ash/wm/workspace/workspace_event_handler.h |
index f9498217207e99705a39be1f11105f3cefd79003..0610537e8cf5e114d9329011e9bcd488f5a0648f 100644 |
--- a/ash/wm/workspace/workspace_event_handler.h |
+++ b/ash/wm/workspace/workspace_event_handler.h |
@@ -36,6 +36,13 @@ class WorkspaceEventHandler : public ui::EventHandler { |
MultiWindowResizeController multi_window_resize_controller_; |
+ // The non-client component for the target of a MouseEvent or GestureEvent. |
+ // Events can be destructive to the window tree, which can cause the |
+ // component of a ui::EF_IS_DOUBLE_CLICK event to no longer be the same as |
+ // that of the initial click. Acting on a double click should only occur for |
+ // matching components. This will be set for left clicks, and tap events. |
+ int click_component_; |
+ |
DISALLOW_COPY_AND_ASSIGN(WorkspaceEventHandler); |
}; |