| 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 <vector> | 5 #include <vector> |
| 6 | 6 |
| 7 #include "base/memory/scoped_ptr.h" | 7 #include "base/memory/scoped_ptr.h" |
| 8 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
| 9 #include "base/win/scoped_bstr.h" | 9 #include "base/win/scoped_bstr.h" |
| 10 #include "base/win/scoped_comptr.h" | 10 #include "base/win/scoped_comptr.h" |
| 11 #include "base/win/scoped_variant.h" | 11 #include "base/win/scoped_variant.h" |
| 12 #include "content/browser/accessibility/accessibility_tree_formatter_utils_win.h
" | 12 #include "content/browser/accessibility/accessibility_tree_formatter_utils_win.h
" |
| 13 #include "content/browser/renderer_host/render_view_host_impl.h" | 13 #include "content/browser/renderer_host/render_view_host_impl.h" |
| 14 #include "content/public/browser/notification_service.h" | 14 #include "content/public/browser/notification_service.h" |
| 15 #include "content/public/browser/notification_types.h" | 15 #include "content/public/browser/notification_types.h" |
| 16 #include "content/public/browser/render_frame_host.h" | 16 #include "content/public/browser/render_frame_host.h" |
| 17 #include "content/public/browser/render_widget_host_view.h" | 17 #include "content/public/browser/render_widget_host_view.h" |
| 18 #include "content/public/browser/web_contents.h" | 18 #include "content/public/browser/web_contents.h" |
| 19 #include "content/public/common/url_constants.h" | 19 #include "content/public/common/url_constants.h" |
| 20 #include "content/public/test/content_browser_test.h" |
| 21 #include "content/public/test/content_browser_test_utils.h" |
| 20 #include "content/shell/browser/shell.h" | 22 #include "content/shell/browser/shell.h" |
| 21 #include "content/test/accessibility_browser_test_utils.h" | 23 #include "content/test/accessibility_browser_test_utils.h" |
| 22 #include "content/test/content_browser_test.h" | |
| 23 #include "content/test/content_browser_test_utils.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 | 26 |
| 27 // TODO(dmazzoni): Disabled accessibility tests on Win64. crbug.com/179717 | 27 // TODO(dmazzoni): Disabled accessibility tests on Win64. crbug.com/179717 |
| 28 #if defined(ARCH_CPU_X86_64) | 28 #if defined(ARCH_CPU_X86_64) |
| 29 #define MAYBE(x) DISABLED_##x | 29 #define MAYBE(x) DISABLED_##x |
| 30 #else | 30 #else |
| 31 #define MAYBE(x) x | 31 #define MAYBE(x) x |
| 32 #endif | 32 #endif |
| 33 | 33 |
| (...skipping 840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 874 AccessibleChecker grouping2_checker(std::wstring(), ROLE_SYSTEM_GROUPING, | 874 AccessibleChecker grouping2_checker(std::wstring(), ROLE_SYSTEM_GROUPING, |
| 875 std::wstring()); | 875 std::wstring()); |
| 876 AccessibleChecker document_checker(std::wstring(), ROLE_SYSTEM_DOCUMENT, | 876 AccessibleChecker document_checker(std::wstring(), ROLE_SYSTEM_DOCUMENT, |
| 877 std::wstring()); | 877 std::wstring()); |
| 878 document_checker.AppendExpectedChild(&grouping1_checker); | 878 document_checker.AppendExpectedChild(&grouping1_checker); |
| 879 document_checker.AppendExpectedChild(&grouping2_checker); | 879 document_checker.AppendExpectedChild(&grouping2_checker); |
| 880 document_checker.CheckAccessible(GetRendererAccessible()); | 880 document_checker.CheckAccessible(GetRendererAccessible()); |
| 881 } | 881 } |
| 882 | 882 |
| 883 } // namespace content | 883 } // namespace content |
| OLD | NEW |