OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 "chrome/browser/chromeos/input_method/textinput_test_helper.h" |
5 #include "ash/shell.h" | 6 #include "ash/shell.h" |
| 7 #include "base/message_loop/message_loop.h" |
6 #include "base/strings/string_number_conversions.h" | 8 #include "base/strings/string_number_conversions.h" |
7 #include "base/strings/string_split.h" | 9 #include "base/strings/string_split.h" |
8 #include "base/strings/string_util.h" | 10 #include "base/strings/string_util.h" |
9 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
10 #include "chrome/browser/chromeos/input_method/textinput_test_helper.h" | |
11 #include "chrome/browser/ui/browser.h" | 12 #include "chrome/browser/ui/browser.h" |
12 #include "chrome/test/base/interactive_test_utils.h" | 13 #include "chrome/test/base/interactive_test_utils.h" |
13 #include "content/public/browser/render_view_host.h" | 14 #include "content/public/browser/render_view_host.h" |
14 #include "content/public/browser/render_widget_host.h" | 15 #include "content/public/browser/render_widget_host.h" |
15 #include "content/public/browser/web_contents.h" | 16 #include "content/public/browser/web_contents.h" |
16 #include "content/public/test/browser_test_utils.h" | 17 #include "content/public/test/browser_test_utils.h" |
17 #include "ui/aura/window_event_dispatcher.h" | 18 #include "ui/aura/window_event_dispatcher.h" |
18 #include "ui/aura/window_tree_host.h" | 19 #include "ui/aura/window_tree_host.h" |
19 #include "ui/base/ime/input_method_factory.h" | 20 #include "ui/base/ime/input_method_factory.h" |
20 | 21 |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 rect.CenterPoint().y()); | 205 rect.CenterPoint().y()); |
205 mouse_event.click_count = 1; | 206 mouse_event.click_count = 1; |
206 tab->GetRenderViewHost()->GetWidget()->ForwardMouseEvent(mouse_event); | 207 tab->GetRenderViewHost()->GetWidget()->ForwardMouseEvent(mouse_event); |
207 | 208 |
208 mouse_event.SetType(blink::WebInputEvent::kMouseUp); | 209 mouse_event.SetType(blink::WebInputEvent::kMouseUp); |
209 tab->GetRenderViewHost()->GetWidget()->ForwardMouseEvent(mouse_event); | 210 tab->GetRenderViewHost()->GetWidget()->ForwardMouseEvent(mouse_event); |
210 return true; | 211 return true; |
211 } | 212 } |
212 | 213 |
213 } // namespace chromeos | 214 } // namespace chromeos |
OLD | NEW |