| 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 <atlbase.h> | 5 #include <atlbase.h> |
| 6 #include <vector> | 6 #include <vector> |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/stringprintf.h" | 9 #include "base/stringprintf.h" |
| 10 #include "base/utf_string_conversions.h" | 10 #include "base/utf_string_conversions.h" |
| 11 #include "base/win/scoped_comptr.h" | 11 #include "base/win/scoped_comptr.h" |
| 12 #include "chrome/browser/ui/browser.h" | 12 #include "chrome/browser/ui/browser.h" |
| 13 #include "chrome/browser/ui/browser_window.h" | 13 #include "chrome/browser/ui/browser_window.h" |
| 14 #include "chrome/common/url_constants.h" | 14 #include "chrome/common/url_constants.h" |
| 15 #include "chrome/test/base/in_process_browser_test.h" | 15 #include "chrome/test/base/in_process_browser_test.h" |
| 16 #include "chrome/test/base/ui_test_utils.h" | 16 #include "chrome/test/base/ui_test_utils.h" |
| 17 #include "content/public/browser/notification_service.h" | 17 #include "content/public/browser/notification_service.h" |
| 18 #include "content/public/browser/notification_types.h" | 18 #include "content/public/browser/notification_types.h" |
| 19 #include "content/public/browser/render_view_host.h" | 19 #include "content/public/browser/render_view_host.h" |
| 20 #include "content/public/browser/render_widget_host_view.h" | 20 #include "content/public/browser/render_widget_host_view.h" |
| 21 #include "content/public/browser/web_contents.h" | 21 #include "content/public/browser/web_contents.h" |
| 22 #include "content/public/test/accessibility_test_utils_win.h" | 22 #include "content/public/test/accessibility_test_utils_win.h" |
| 23 #include "content/test/test_renderer_host.h" | 23 #include "content/public/test/test_renderer_host.h" |
| 24 #include "third_party/iaccessible2/ia2_api_all.h" | 24 #include "third_party/iaccessible2/ia2_api_all.h" |
| 25 #include "third_party/isimpledom/ISimpleDOMNode.h" | 25 #include "third_party/isimpledom/ISimpleDOMNode.h" |
| 26 #include "ui/ui_controls/ui_controls.h" | 26 #include "ui/ui_controls/ui_controls.h" |
| 27 | 27 |
| 28 using content::OpenURLParams; | 28 using content::OpenURLParams; |
| 29 using content::Referrer; | 29 using content::Referrer; |
| 30 using std::auto_ptr; | 30 using std::auto_ptr; |
| 31 using std::vector; | 31 using std::vector; |
| 32 using std::wstring; | 32 using std::wstring; |
| 33 | 33 |
| (...skipping 868 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 902 | 902 |
| 903 // Check the browser's copy of the renderer accessibility tree. | 903 // Check the browser's copy of the renderer accessibility tree. |
| 904 AccessibleChecker grouping1_checker(L"", ROLE_SYSTEM_GROUPING, L""); | 904 AccessibleChecker grouping1_checker(L"", ROLE_SYSTEM_GROUPING, L""); |
| 905 AccessibleChecker grouping2_checker(L"", ROLE_SYSTEM_GROUPING, L""); | 905 AccessibleChecker grouping2_checker(L"", ROLE_SYSTEM_GROUPING, L""); |
| 906 AccessibleChecker document_checker(L"", ROLE_SYSTEM_DOCUMENT, L""); | 906 AccessibleChecker document_checker(L"", ROLE_SYSTEM_DOCUMENT, L""); |
| 907 document_checker.AppendExpectedChild(&grouping1_checker); | 907 document_checker.AppendExpectedChild(&grouping1_checker); |
| 908 document_checker.AppendExpectedChild(&grouping2_checker); | 908 document_checker.AppendExpectedChild(&grouping2_checker); |
| 909 document_checker.CheckAccessible(GetRendererAccessible()); | 909 document_checker.CheckAccessible(GetRendererAccessible()); |
| 910 } | 910 } |
| 911 } // namespace. | 911 } // namespace. |
| OLD | NEW |