| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "ui/events/blink/web_input_event_traits.h" | 5 #include "ui/events/blink/web_input_event_traits.h" |
| 6 | 6 |
| 7 #include "testing/gtest/include/gtest/gtest.h" | 7 #include "testing/gtest/include/gtest/gtest.h" |
| 8 #include "third_party/WebKit/public/web/WebInputEvent.h" | 8 #include "third_party/WebKit/public/platform/WebInputEvent.h" |
| 9 | 9 |
| 10 using blink::WebGestureEvent; | 10 using blink::WebGestureEvent; |
| 11 using blink::WebInputEvent; | 11 using blink::WebInputEvent; |
| 12 using blink::WebKeyboardEvent; | 12 using blink::WebKeyboardEvent; |
| 13 using blink::WebMouseEvent; | 13 using blink::WebMouseEvent; |
| 14 using blink::WebMouseWheelEvent; | 14 using blink::WebMouseWheelEvent; |
| 15 using blink::WebTouchEvent; | 15 using blink::WebTouchEvent; |
| 16 | 16 |
| 17 namespace ui { | 17 namespace ui { |
| 18 namespace { | 18 namespace { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 40 EXPECT_FALSE(WebInputEventTraits::ToString(gesture).empty()); | 40 EXPECT_FALSE(WebInputEventTraits::ToString(gesture).empty()); |
| 41 | 41 |
| 42 WebTouchEvent touch; | 42 WebTouchEvent touch; |
| 43 touch.type = WebInputEvent::TouchStart; | 43 touch.type = WebInputEvent::TouchStart; |
| 44 touch.touchesLength = 1; | 44 touch.touchesLength = 1; |
| 45 EXPECT_FALSE(WebInputEventTraits::ToString(touch).empty()); | 45 EXPECT_FALSE(WebInputEventTraits::ToString(touch).empty()); |
| 46 } | 46 } |
| 47 | 47 |
| 48 } // namespace | 48 } // namespace |
| 49 } // namespace ui | 49 } // namespace ui |
| OLD | NEW |