| 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 "ash/shell.h" | 5 #include "ash/shell.h" |
| 6 #include "base/string_util.h" | |
| 7 #include "base/strings/string_number_conversions.h" | 6 #include "base/strings/string_number_conversions.h" |
| 7 #include "base/strings/string_util.h" |
| 8 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
| 9 #include "chrome/browser/chromeos/input_method/textinput_test_helper.h" | 9 #include "chrome/browser/chromeos/input_method/textinput_test_helper.h" |
| 10 #include "chrome/browser/ui/browser.h" | 10 #include "chrome/browser/ui/browser.h" |
| 11 #include "chrome/test/base/interactive_test_utils.h" | 11 #include "chrome/test/base/interactive_test_utils.h" |
| 12 #include "content/public/browser/render_view_host.h" | 12 #include "content/public/browser/render_view_host.h" |
| 13 #include "content/public/browser/web_contents.h" | 13 #include "content/public/browser/web_contents.h" |
| 14 #include "content/public/test/browser_test_utils.h" | 14 #include "content/public/test/browser_test_utils.h" |
| 15 #include "ui/aura/client/aura_constants.h" | 15 #include "ui/aura/client/aura_constants.h" |
| 16 #include "ui/aura/root_window.h" | 16 #include "ui/aura/root_window.h" |
| 17 #include "ui/base/ime/input_method_factory.h" | 17 #include "ui/base/ime/input_method_factory.h" |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 mouse_event.y = rect.CenterPoint().y(); | 194 mouse_event.y = rect.CenterPoint().y(); |
| 195 mouse_event.clickCount = 1; | 195 mouse_event.clickCount = 1; |
| 196 tab->GetRenderViewHost()->ForwardMouseEvent(mouse_event); | 196 tab->GetRenderViewHost()->ForwardMouseEvent(mouse_event); |
| 197 | 197 |
| 198 mouse_event.type = WebKit::WebInputEvent::MouseUp; | 198 mouse_event.type = WebKit::WebInputEvent::MouseUp; |
| 199 tab->GetRenderViewHost()->ForwardMouseEvent(mouse_event); | 199 tab->GetRenderViewHost()->ForwardMouseEvent(mouse_event); |
| 200 return true; | 200 return true; |
| 201 } | 201 } |
| 202 | 202 |
| 203 } // namespace chromeos | 203 } // namespace chromeos |
| OLD | NEW |