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 "base/files/file_path.h" | 5 #include "base/files/file_path.h" |
6 #include "base/utf_string_conversions.h" | 6 #include "base/strings/utf_string_conversions.h" |
7 #include "chrome/browser/ui/browser.h" | 7 #include "chrome/browser/ui/browser.h" |
8 #include "chrome/browser/ui/browser_window.h" | 8 #include "chrome/browser/ui/browser_window.h" |
9 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 9 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
10 #include "chrome/test/base/in_process_browser_test.h" | 10 #include "chrome/test/base/in_process_browser_test.h" |
11 #include "chrome/test/base/ui_test_utils.h" | 11 #include "chrome/test/base/ui_test_utils.h" |
12 #include "content/public/browser/web_contents.h" | 12 #include "content/public/browser/web_contents.h" |
13 #include "content/public/browser/web_contents_view.h" | 13 #include "content/public/browser/web_contents_view.h" |
14 #include "content/public/test/browser_test_utils.h" | 14 #include "content/public/test/browser_test_utils.h" |
15 #include "ui/base/test/ui_controls.h" | 15 #include "ui/base/test/ui_controls.h" |
16 | 16 |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 gfx::Rect browser_bounds = browser()->window()->GetBounds(); | 92 gfx::Rect browser_bounds = browser()->window()->GetBounds(); |
93 ui_controls::SendMouseMove(browser_bounds.x() + 200, | 93 ui_controls::SendMouseMove(browser_bounds.x() + 200, |
94 browser_bounds.y() + 10); | 94 browser_bounds.y() + 10); |
95 ui_controls::SendMouseClick(ui_controls::LEFT); | 95 ui_controls::SendMouseClick(ui_controls::LEFT); |
96 | 96 |
97 MouseLeaveTestCommon(); | 97 MouseLeaveTestCommon(); |
98 } | 98 } |
99 #endif | 99 #endif |
100 | 100 |
101 } // namespace | 101 } // namespace |
OLD | NEW |