| 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 #ifndef CONTENT_BROWSER_ACCESSIBILITY_DUMP_ACCESSIBILITY_TREE_HELPER_H_ | 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_DUMP_ACCESSIBILITY_TREE_HELPER_H_ |
| 6 #define CONTENT_BROWSER_ACCESSIBILITY_DUMP_ACCESSIBILITY_TREE_HELPER_H_ | 6 #define CONTENT_BROWSER_ACCESSIBILITY_DUMP_ACCESSIBILITY_TREE_HELPER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/file_path.h" | 10 #include "base/file_path.h" |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 | 43 |
| 44 // Set regular expression filters that apply to each component of every | 44 // Set regular expression filters that apply to each component of every |
| 45 // line before it's output. | 45 // line before it's output. |
| 46 void SetFilters(const std::vector<Filter>& filters); | 46 void SetFilters(const std::vector<Filter>& filters); |
| 47 | 47 |
| 48 // Suffix of the expectation file corresponding to html file. | 48 // Suffix of the expectation file corresponding to html file. |
| 49 // Example: | 49 // Example: |
| 50 // HTML test: test-file.html | 50 // HTML test: test-file.html |
| 51 // Expected: test-file-expected-mac.txt. | 51 // Expected: test-file-expected-mac.txt. |
| 52 // Auto-generated: test-file-actual-mac.txt | 52 // Auto-generated: test-file-actual-mac.txt |
| 53 const FilePath::StringType GetActualFileSuffix() const; | 53 const base::FilePath::StringType GetActualFileSuffix() const; |
| 54 const FilePath::StringType GetExpectedFileSuffix() const; | 54 const base::FilePath::StringType GetExpectedFileSuffix() const; |
| 55 | 55 |
| 56 // A platform-specific string that indicates a given line in a file | 56 // A platform-specific string that indicates a given line in a file |
| 57 // is an allow-empty, allow or deny filter. Example: | 57 // is an allow-empty, allow or deny filter. Example: |
| 58 // Mac values: | 58 // Mac values: |
| 59 // GetAllowEmptyString() -> "@MAC-ALLOW-EMPTY:" | 59 // GetAllowEmptyString() -> "@MAC-ALLOW-EMPTY:" |
| 60 // GetAllowString() -> "@MAC-ALLOW:" | 60 // GetAllowString() -> "@MAC-ALLOW:" |
| 61 // GetDenyString() -> "@MAC-DENY:" | 61 // GetDenyString() -> "@MAC-DENY:" |
| 62 // Example html: | 62 // Example html: |
| 63 // <!-- | 63 // <!-- |
| 64 // @MAC-ALLOW-EMPTY:description* | 64 // @MAC-ALLOW-EMPTY:description* |
| (...skipping 24 matching lines...) Expand all Loading... |
| 89 | 89 |
| 90 std::vector<Filter> filters_; | 90 std::vector<Filter> filters_; |
| 91 string16 line_; | 91 string16 line_; |
| 92 | 92 |
| 93 DISALLOW_COPY_AND_ASSIGN(DumpAccessibilityTreeHelper); | 93 DISALLOW_COPY_AND_ASSIGN(DumpAccessibilityTreeHelper); |
| 94 }; | 94 }; |
| 95 | 95 |
| 96 } // namespace content | 96 } // namespace content |
| 97 | 97 |
| 98 #endif // CONTENT_BROWSER_ACCESSIBILITY_DUMP_ACCESSIBILITY_TREE_HELPER_H_ | 98 #endif // CONTENT_BROWSER_ACCESSIBILITY_DUMP_ACCESSIBILITY_TREE_HELPER_H_ |
| OLD | NEW |