OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 <atlbase.h> | 5 #include <atlbase.h> |
6 #include <vector> | 6 #include <vector> |
7 | 7 |
8 #include "base/scoped_comptr_win.h" | 8 #include "base/scoped_comptr_win.h" |
9 #include "chrome/browser/automation/ui_controls.h" | 9 #include "chrome/browser/automation/ui_controls.h" |
10 #include "chrome/browser/browser.h" | |
11 #include "chrome/browser/browser_window.h" | 10 #include "chrome/browser/browser_window.h" |
12 #include "chrome/browser/renderer_host/render_view_host.h" | 11 #include "chrome/browser/renderer_host/render_view_host.h" |
13 #include "chrome/browser/renderer_host/render_widget_host_view_win.h" | 12 #include "chrome/browser/renderer_host/render_widget_host_view_win.h" |
14 #include "chrome/browser/tab_contents/tab_contents.h" | 13 #include "chrome/browser/tab_contents/tab_contents.h" |
| 14 #include "chrome/browser/ui/browser.h" |
15 #include "chrome/common/chrome_switches.h" | 15 #include "chrome/common/chrome_switches.h" |
16 #include "chrome/common/notification_type.h" | 16 #include "chrome/common/notification_type.h" |
17 #include "chrome/test/in_process_browser_test.h" | 17 #include "chrome/test/in_process_browser_test.h" |
18 #include "chrome/test/ui_test_utils.h" | 18 #include "chrome/test/ui_test_utils.h" |
19 #include "ia2_api_all.h" // Generated | 19 #include "ia2_api_all.h" // Generated |
20 | 20 |
21 using std::auto_ptr; | 21 using std::auto_ptr; |
22 using std::vector; | 22 using std::vector; |
23 using std::wstring; | 23 using std::wstring; |
24 | 24 |
(...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
640 // If pointer comparison fails resort to the exhuasive search that can use | 640 // If pointer comparison fails resort to the exhuasive search that can use |
641 // IAccessible2::get_uniqueID for equality comparison. | 641 // IAccessible2::get_uniqueID for equality comparison. |
642 if (!found) { | 642 if (!found) { |
643 AccessibleContainsAccessible( | 643 AccessibleContainsAccessible( |
644 browser_accessible, document_accessible2, &found); | 644 browser_accessible, document_accessible2, &found); |
645 } | 645 } |
646 | 646 |
647 ASSERT_EQ(found, true); | 647 ASSERT_EQ(found, true); |
648 } | 648 } |
649 } // namespace. | 649 } // namespace. |
OLD | NEW |