Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(359)

Side by Side Diff: ui/events/blink/web_input_event_traits_unittest.cc

Issue 2581943003: Move WebMouseWheelEvent into its own header file. (Closed)
Patch Set: Fix mac unittest Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/events/blink/web_input_event_traits.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/platform/WebGestureEvent.h"
8 #include "third_party/WebKit/public/platform/WebInputEvent.h" 9 #include "third_party/WebKit/public/platform/WebInputEvent.h"
10 #include "third_party/WebKit/public/platform/WebMouseWheelEvent.h"
9 11
10 using blink::WebGestureEvent; 12 using blink::WebGestureEvent;
11 using blink::WebInputEvent; 13 using blink::WebInputEvent;
12 using blink::WebKeyboardEvent; 14 using blink::WebKeyboardEvent;
13 using blink::WebMouseEvent; 15 using blink::WebMouseEvent;
14 using blink::WebMouseWheelEvent; 16 using blink::WebMouseWheelEvent;
15 using blink::WebTouchEvent; 17 using blink::WebTouchEvent;
16 18
17 namespace ui { 19 namespace ui {
18 namespace { 20 namespace {
(...skipping 21 matching lines...) Expand all
40 EXPECT_FALSE(WebInputEventTraits::ToString(gesture).empty()); 42 EXPECT_FALSE(WebInputEventTraits::ToString(gesture).empty());
41 43
42 WebTouchEvent touch; 44 WebTouchEvent touch;
43 touch.type = WebInputEvent::TouchStart; 45 touch.type = WebInputEvent::TouchStart;
44 touch.touchesLength = 1; 46 touch.touchesLength = 1;
45 EXPECT_FALSE(WebInputEventTraits::ToString(touch).empty()); 47 EXPECT_FALSE(WebInputEventTraits::ToString(touch).empty());
46 } 48 }
47 49
48 } // namespace 50 } // namespace
49 } // namespace ui 51 } // namespace ui
OLDNEW
« no previous file with comments | « ui/events/blink/web_input_event_traits.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698