| OLD | NEW |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 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 <stddef.h> | 5 #include <stddef.h> |
| 6 | 6 |
| 7 #include <set> | 7 #include <set> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/path_service.h" | 11 #include "base/path_service.h" |
| 12 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
| 13 #include "base/strings/string_util.h" | 13 #include "base/strings/string_util.h" |
| 14 #include "base/strings/utf_string_conversions.h" | 14 #include "base/strings/utf_string_conversions.h" |
| 15 #include "build/build_config.h" | 15 #include "build/build_config.h" |
| 16 #include "content/browser/accessibility/accessibility_event_recorder.h" | 16 #include "content/browser/accessibility/accessibility_event_recorder.h" |
| 17 #include "content/browser/accessibility/accessibility_tree_formatter.h" | 17 #include "content/browser/accessibility/accessibility_tree_formatter.h" |
| 18 #include "content/browser/accessibility/browser_accessibility.h" | 18 #include "content/browser/accessibility/browser_accessibility.h" |
| 19 #include "content/browser/accessibility/browser_accessibility_manager.h" | 19 #include "content/browser/accessibility/browser_accessibility_manager.h" |
| 20 #include "content/browser/accessibility/dump_accessibility_browsertest_base.h" | 20 #include "content/browser/accessibility/dump_accessibility_browsertest_base.h" |
| 21 #include "content/browser/web_contents/web_contents_impl.h" | 21 #include "content/browser/web_contents/web_contents_impl.h" |
| 22 #include "content/public/common/content_paths.h" | 22 #include "content/public/common/content_paths.h" |
| 23 #include "content/shell/browser/shell.h" | 23 #include "content/shell/browser/shell.h" |
| 24 #include "content/test/accessibility_browser_test_utils.h" | 24 #include "content/test/accessibility_browser_test_utils.h" |
| 25 #include "ui/accessibility/ax_enums.h" |
| 25 | 26 |
| 26 namespace content { | 27 namespace content { |
| 27 | 28 |
| 28 typedef AccessibilityTreeFormatter::Filter Filter; | 29 typedef AccessibilityTreeFormatter::Filter Filter; |
| 29 | 30 |
| 30 // Tests that the right platform-specific accessibility events are fired | 31 // Tests that the right platform-specific accessibility events are fired |
| 31 // in response to things that happen in a web document. | 32 // in response to things that happen in a web document. |
| 32 // | 33 // |
| 33 // Similar to DumpAccessibilityTree in that each test consists of a | 34 // Similar to DumpAccessibilityTree in that each test consists of a |
| 34 // single HTML file, possibly with a few special directives in comments, | 35 // single HTML file, possibly with a few special directives in comments, |
| (...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 } | 276 } |
| 276 | 277 |
| 277 IN_PROC_BROWSER_TEST_F(DumpAccessibilityEventsTest, | 278 IN_PROC_BROWSER_TEST_F(DumpAccessibilityEventsTest, |
| 278 AccessibilityEventsTextChanged) { | 279 AccessibilityEventsTextChanged) { |
| 279 RunEventTest(FILE_PATH_LITERAL("text-changed.html")); | 280 RunEventTest(FILE_PATH_LITERAL("text-changed.html")); |
| 280 } | 281 } |
| 281 | 282 |
| 282 #endif // defined(OS_WIN) | 283 #endif // defined(OS_WIN) |
| 283 | 284 |
| 284 } // namespace content | 285 } // namespace content |
| OLD | NEW |