| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/file_path.h" | 5 #include "base/file_path.h" |
| 6 #include "base/test/test_timeouts.h" | 6 #include "base/test/test_timeouts.h" |
| 7 #include "chrome/test/automation/automation_proxy.h" | 7 #include "chrome/test/automation/automation_proxy.h" |
| 8 #include "chrome/test/automation/browser_proxy.h" | 8 #include "chrome/test/automation/browser_proxy.h" |
| 9 #include "chrome/test/automation/tab_proxy.h" | 9 #include "chrome/test/automation/tab_proxy.h" |
| 10 #include "chrome/test/automation/window_proxy.h" | 10 #include "chrome/test/automation/window_proxy.h" |
| 11 #include "chrome/test/base/ui_test_utils.h" |
| 11 #include "chrome/test/ui/ui_test.h" | 12 #include "chrome/test/ui/ui_test.h" |
| 12 #include "chrome/test/ui_test_utils.h" | |
| 13 #include "googleurl/src/gurl.h" | 13 #include "googleurl/src/gurl.h" |
| 14 #include "ui/gfx/point.h" | 14 #include "ui/gfx/point.h" |
| 15 #include "ui/gfx/rect.h" | 15 #include "ui/gfx/rect.h" |
| 16 | 16 |
| 17 namespace { | 17 namespace { |
| 18 | 18 |
| 19 class MouseLeaveTest : public UITest { | 19 class MouseLeaveTest : public UITest { |
| 20 public: | 20 public: |
| 21 MouseLeaveTest() { | 21 MouseLeaveTest() { |
| 22 dom_automation_enabled_ = true; | 22 dom_automation_enabled_ = true; |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 // a javascript onMouseOut event. | 79 // a javascript onMouseOut event. |
| 80 ASSERT_TRUE(window->SimulateOSMouseMove(above_content_point)); | 80 ASSERT_TRUE(window->SimulateOSMouseMove(above_content_point)); |
| 81 | 81 |
| 82 // Wait on the correct final value of the cookie. | 82 // Wait on the correct final value of the cookie. |
| 83 ASSERT_TRUE(WaitUntilCookieValue( | 83 ASSERT_TRUE(WaitUntilCookieValue( |
| 84 tab.get(), test_url, "__state", | 84 tab.get(), test_url, "__state", |
| 85 TestTimeouts::large_test_timeout_ms(), "initial,entered,left")); | 85 TestTimeouts::large_test_timeout_ms(), "initial,entered,left")); |
| 86 } | 86 } |
| 87 | 87 |
| 88 } // namespace | 88 } // namespace |
| OLD | NEW |