| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/browser/renderer_host/input/legacy_input_router_impl.h" | 5 #include "content/browser/renderer_host/input/legacy_input_router_impl.h" |
| 6 | 6 |
| 7 #include <math.h> | 7 #include <math.h> |
| 8 | 8 |
| 9 #include <utility> | 9 #include <utility> |
| 10 | 10 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 #include "content/public/browser/notification_service.h" | 29 #include "content/public/browser/notification_service.h" |
| 30 #include "content/public/browser/notification_types.h" | 30 #include "content/public/browser/notification_types.h" |
| 31 #include "content/public/common/content_features.h" | 31 #include "content/public/common/content_features.h" |
| 32 #include "content/public/common/content_switches.h" | 32 #include "content/public/common/content_switches.h" |
| 33 #include "ipc/ipc_sender.h" | 33 #include "ipc/ipc_sender.h" |
| 34 #include "ui/events/blink/blink_event_util.h" | 34 #include "ui/events/blink/blink_event_util.h" |
| 35 #include "ui/events/blink/web_input_event_traits.h" | 35 #include "ui/events/blink/web_input_event_traits.h" |
| 36 #include "ui/events/event.h" | 36 #include "ui/events/event.h" |
| 37 #include "ui/events/keycodes/keyboard_codes.h" | 37 #include "ui/events/keycodes/keyboard_codes.h" |
| 38 | 38 |
| 39 using base::Time; | 39 //using base::Time; // Collides with X11 Time typedef and is not used |
| 40 using base::TimeDelta; | 40 using base::TimeDelta; |
| 41 using base::TimeTicks; | 41 using base::TimeTicks; |
| 42 using blink::WebGestureEvent; | 42 using blink::WebGestureEvent; |
| 43 using blink::WebInputEvent; | 43 using blink::WebInputEvent; |
| 44 using blink::WebKeyboardEvent; | 44 using blink::WebKeyboardEvent; |
| 45 using blink::WebMouseEvent; | 45 using blink::WebMouseEvent; |
| 46 using blink::WebMouseWheelEvent; | 46 using blink::WebMouseWheelEvent; |
| 47 using blink::WebTouchEvent; | 47 using blink::WebTouchEvent; |
| 48 using ui::WebInputEventTraits; | 48 using ui::WebInputEventTraits; |
| 49 | 49 |
| (...skipping 628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 678 global_touch_position_.end()); | 678 global_touch_position_.end()); |
| 679 global_touch_position_[touch_point->id] = | 679 global_touch_position_[touch_point->id] = |
| 680 gfx::Point(touch_point->PositionInScreen().x, | 680 gfx::Point(touch_point->PositionInScreen().x, |
| 681 touch_point->PositionInScreen().y); | 681 touch_point->PositionInScreen().y); |
| 682 } | 682 } |
| 683 } | 683 } |
| 684 } | 684 } |
| 685 } | 685 } |
| 686 | 686 |
| 687 } // namespace content | 687 } // namespace content |
| OLD | NEW |