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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_aura_unittest.cc

Issue 1136503003: Consolidate ui/events/keycodes/dom[34]/ into .../dom/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 7 months 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/render_widget_host_view_aura.h" 5 #include "content/browser/renderer_host/render_widget_host_view_aura.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/memory/scoped_vector.h" 9 #include "base/memory/scoped_vector.h"
10 #include "base/memory/shared_memory.h" 10 #include "base/memory/shared_memory.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 #include "ui/aura/window_event_dispatcher.h" 52 #include "ui/aura/window_event_dispatcher.h"
53 #include "ui/aura/window_observer.h" 53 #include "ui/aura/window_observer.h"
54 #include "ui/base/ui_base_types.h" 54 #include "ui/base/ui_base_types.h"
55 #include "ui/compositor/compositor.h" 55 #include "ui/compositor/compositor.h"
56 #include "ui/compositor/layer_tree_owner.h" 56 #include "ui/compositor/layer_tree_owner.h"
57 #include "ui/compositor/test/draw_waiter_for_test.h" 57 #include "ui/compositor/test/draw_waiter_for_test.h"
58 #include "ui/events/blink/blink_event_util.h" 58 #include "ui/events/blink/blink_event_util.h"
59 #include "ui/events/event.h" 59 #include "ui/events/event.h"
60 #include "ui/events/event_utils.h" 60 #include "ui/events/event_utils.h"
61 #include "ui/events/gesture_detection/gesture_configuration.h" 61 #include "ui/events/gesture_detection/gesture_configuration.h"
62 #include "ui/events/keycodes/dom3/dom_code.h" 62 #include "ui/events/keycodes/dom/dom_code.h"
63 #include "ui/events/keycodes/dom4/keycode_converter.h" 63 #include "ui/events/keycodes/dom/keycode_converter.h"
64 #include "ui/events/test/event_generator.h" 64 #include "ui/events/test/event_generator.h"
65 #include "ui/wm/core/default_activation_client.h" 65 #include "ui/wm/core/default_activation_client.h"
66 #include "ui/wm/core/default_screen_position_client.h" 66 #include "ui/wm/core/default_screen_position_client.h"
67 #include "ui/wm/core/window_util.h" 67 #include "ui/wm/core/window_util.h"
68 68
69 using testing::_; 69 using testing::_;
70 70
71 using blink::WebGestureEvent; 71 using blink::WebGestureEvent;
72 using blink::WebInputEvent; 72 using blink::WebInputEvent;
73 using blink::WebMouseEvent; 73 using blink::WebMouseEvent;
(...skipping 3289 matching lines...) Expand 10 before | Expand all | Expand 10 after
3363 INPUT_EVENT_ACK_STATE_NOT_CONSUMED); 3363 INPUT_EVENT_ACK_STATE_NOT_CONSUMED);
3364 EXPECT_EQ(OVERSCROLL_NONE, overscroll_mode()); 3364 EXPECT_EQ(OVERSCROLL_NONE, overscroll_mode());
3365 EXPECT_EQ(15.f, overscroll_delta_x()); 3365 EXPECT_EQ(15.f, overscroll_delta_x());
3366 EXPECT_EQ(-5.f, overscroll_delta_y()); 3366 EXPECT_EQ(-5.f, overscroll_delta_y());
3367 SimulateGestureFlingStartEvent(0.f, 0.1f, blink::WebGestureDeviceTouchpad); 3367 SimulateGestureFlingStartEvent(0.f, 0.1f, blink::WebGestureDeviceTouchpad);
3368 EXPECT_EQ(0.f, overscroll_delta_x()); 3368 EXPECT_EQ(0.f, overscroll_delta_x());
3369 EXPECT_EQ(0.f, overscroll_delta_y()); 3369 EXPECT_EQ(0.f, overscroll_delta_y());
3370 } 3370 }
3371 3371
3372 } // namespace content 3372 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/devtools/protocol/input_handler.cc ('k') | content/browser/renderer_host/web_input_event_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698