- switch (event->type()) {
- case ui::ET_GESTURE_TAP_DOWN:
- is_touch_down_ = true;
- // We explicitly don't capture here. Not capturing enables multiple
- // widgets to get tap events at the same time. Views (such as tab
- // dragging) may explicitly capture.
- break;
-
- case ui::ET_GESTURE_END:
- if (event->details().touch_points() == 1)
- is_touch_down_ = false;
- break;
-
- default:
- break;
- }
+ // We explicitly do not capture here. Not capturing enables multiple widgets
+ // to get tap events at the same time. Views (such as tab dragging) may
+ // explicitly capture.