Chromium Code Reviews| 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..f0ab0e80eb02e4066b7973dafdf96d514cadefac 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 double_click_component_; |
|
flackr
2014/04/12 03:27:46
click_component_?
jonross
2014/04/14 18:36:15
Done.
|
| + |
| DISALLOW_COPY_AND_ASSIGN(WorkspaceEventHandler); |
| }; |