| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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/message_loop.h" | 5 #include "base/message_loop.h" |
| 6 #include "chrome/browser/browser.h" | 6 #include "chrome/browser/browser.h" |
| 7 #include "chrome/browser/find_notification_details.h" | 7 #include "chrome/browser/find_notification_details.h" |
| 8 #include "chrome/browser/renderer_host/render_view_host.h" | 8 #include "chrome/browser/renderer_host/render_view_host.h" |
| 9 #include "chrome/browser/tab_contents/tab_contents.h" | 9 #include "chrome/browser/tab_contents/tab_contents.h" |
| 10 #include "chrome/browser/tab_contents/tab_contents_view.h" | 10 #include "chrome/browser/tab_contents/tab_contents_view.h" |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 L"", | 191 L"", |
| 192 L"window.domAutomationController.send(selectLink1());"); | 192 L"window.domAutomationController.send(selectLink1());"); |
| 193 js_runner.Run(); | 193 js_runner.Run(); |
| 194 | 194 |
| 195 // End the find session. | 195 // End the find session. |
| 196 web_contents->StopFinding(false); | 196 web_contents->StopFinding(false); |
| 197 | 197 |
| 198 // Verify that link2 is not focused. | 198 // Verify that link2 is not focused. |
| 199 EXPECT_STREQ("", FocusedOnPage(web_contents).c_str()); | 199 EXPECT_STREQ("", FocusedOnPage(web_contents).c_str()); |
| 200 } | 200 } |
| OLD | NEW |