OLD | NEW |
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/web_contents/touch_editable_impl_aura.h" | 5 #include "content/browser/web_contents/touch_editable_impl_aura.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/run_loop.h" | 8 #include "base/run_loop.h" |
9 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
10 #include "base/test/test_timeouts.h" | 10 #include "base/test/test_timeouts.h" |
11 #include "base/values.h" | 11 #include "base/values.h" |
12 #include "content/browser/renderer_host/render_view_host_impl.h" | 12 #include "content/browser/renderer_host/render_view_host_impl.h" |
13 #include "content/browser/web_contents/web_contents_impl.h" | 13 #include "content/browser/web_contents/web_contents_impl.h" |
14 #include "content/browser/web_contents/web_contents_view_aura.h" | 14 #include "content/browser/web_contents/web_contents_view_aura.h" |
15 #include "content/public/browser/web_contents_view.h" | 15 #include "content/public/browser/web_contents_view.h" |
16 #include "content/public/common/content_switches.h" | 16 #include "content/public/common/content_switches.h" |
17 #include "content/public/test/browser_test_utils.h" | 17 #include "content/public/test/browser_test_utils.h" |
18 #include "content/public/test/test_utils.h" | 18 #include "content/public/test/test_utils.h" |
19 #include "content/shell/browser/shell.h" | 19 #include "content/shell/browser/shell.h" |
20 #include "content/test/content_browser_test.h" | 20 #include "content/test/content_browser_test.h" |
21 #include "content/test/content_browser_test_utils.h" | 21 #include "content/test/content_browser_test_utils.h" |
22 #include "ui/aura/root_window.h" | |
23 #include "ui/aura/test/event_generator.h" | 22 #include "ui/aura/test/event_generator.h" |
24 #include "ui/aura/window.h" | 23 #include "ui/aura/window.h" |
| 24 #include "ui/aura/window_event_dispatcher.h" |
25 #include "ui/base/ui_base_switches.h" | 25 #include "ui/base/ui_base_switches.h" |
26 #include "ui/compositor/scoped_animation_duration_scale_mode.h" | 26 #include "ui/compositor/scoped_animation_duration_scale_mode.h" |
27 #include "ui/events/event_utils.h" | 27 #include "ui/events/event_utils.h" |
28 | 28 |
29 namespace content { | 29 namespace content { |
30 | 30 |
31 class TestTouchEditableImplAura : public TouchEditableImplAura { | 31 class TestTouchEditableImplAura : public TouchEditableImplAura { |
32 public: | 32 public: |
33 TestTouchEditableImplAura() | 33 TestTouchEditableImplAura() |
34 : selection_changed_callback_arrived_(false), | 34 : selection_changed_callback_arrived_(false), |
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 TouchSelectionOnLongPressTest) { | 379 TouchSelectionOnLongPressTest) { |
380 TestTouchSelectionOnLongPress(); | 380 TestTouchSelectionOnLongPress(); |
381 } | 381 } |
382 | 382 |
383 IN_PROC_BROWSER_TEST_F(TouchEditableImplAuraTest, | 383 IN_PROC_BROWSER_TEST_F(TouchEditableImplAuraTest, |
384 TouchCursorInTextfieldTest) { | 384 TouchCursorInTextfieldTest) { |
385 TestTouchCursorInTextfield(); | 385 TestTouchCursorInTextfield(); |
386 } | 386 } |
387 | 387 |
388 } // namespace content | 388 } // namespace content |
OLD | NEW |