| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 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 <string> | 5 #include <string> |
| 6 #include <vector> | 6 #include <vector> |
| 7 | 7 |
| 8 #include "base/debug/leak_annotations.h" | 8 #include "base/debug/leak_annotations.h" |
| 9 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
| 10 #include "build/build_config.h" |
| 10 #include "content/browser/accessibility/accessibility_tree_formatter.h" | 11 #include "content/browser/accessibility/accessibility_tree_formatter.h" |
| 11 #include "content/public/test/content_browser_test.h" | 12 #include "content/public/test/content_browser_test.h" |
| 12 | 13 |
| 13 namespace content { | 14 namespace content { |
| 14 | 15 |
| 15 // Base class for an accessibility browsertest that takes an HTML file as | 16 // Base class for an accessibility browsertest that takes an HTML file as |
| 16 // input, loads it into a tab, dumps some accessibility data in text format, | 17 // input, loads it into a tab, dumps some accessibility data in text format, |
| 17 // then compares that text to an expectation file in the same directory. | 18 // then compares that text to an expectation file in the same directory. |
| 18 // | 19 // |
| 19 // The system was inspired by WebKit/Blink LayoutTests, but customized for | 20 // The system was inspired by WebKit/Blink LayoutTests, but customized for |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 #endif | 99 #endif |
| 99 | 100 |
| 100 // The current AccessibilityTreeFormatter. | 101 // The current AccessibilityTreeFormatter. |
| 101 scoped_ptr<AccessibilityTreeFormatter> formatter_; | 102 scoped_ptr<AccessibilityTreeFormatter> formatter_; |
| 102 | 103 |
| 103 // Whether we're doing a native pass or internal/blink tree pass. | 104 // Whether we're doing a native pass or internal/blink tree pass. |
| 104 bool is_blink_pass_; | 105 bool is_blink_pass_; |
| 105 }; | 106 }; |
| 106 | 107 |
| 107 } // namespace content | 108 } // namespace content |
| OLD | NEW |