Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(495)

Side by Side Diff: content/browser/accessibility/accessibility_tree_formatter.h

Issue 1505903002: Don't require expectations file for DumpAccessibility tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Suppress lsan Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | content/browser/accessibility/accessibility_tree_formatter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_ACCESSIBILITY_TREE_FORMATTER_H_ 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_TREE_FORMATTER_H_
6 #define CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_TREE_FORMATTER_H_ 6 #define CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_TREE_FORMATTER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 void SetFilters(const std::vector<Filter>& filters); 79 void SetFilters(const std::vector<Filter>& filters);
80 80
81 // If true, the internal accessibility id of each node will be included 81 // If true, the internal accessibility id of each node will be included
82 // in its output. 82 // in its output.
83 void set_show_ids(bool show_ids) { show_ids_ = show_ids; } 83 void set_show_ids(bool show_ids) { show_ids_ = show_ids; }
84 84
85 // Suffix of the expectation file corresponding to html file. 85 // Suffix of the expectation file corresponding to html file.
86 // Example: 86 // Example:
87 // HTML test: test-file.html 87 // HTML test: test-file.html
88 // Expected: test-file-expected-mac.txt. 88 // Expected: test-file-expected-mac.txt.
89 // Auto-generated: test-file-actual-mac.txt
90 static const base::FilePath::StringType GetActualFileSuffix();
91 static const base::FilePath::StringType GetExpectedFileSuffix(); 89 static const base::FilePath::StringType GetExpectedFileSuffix();
92 90
93 // A platform-specific string that indicates a given line in a file 91 // A platform-specific string that indicates a given line in a file
94 // is an allow-empty, allow or deny filter. Example: 92 // is an allow-empty, allow or deny filter. Example:
95 // Mac values: 93 // Mac values:
96 // GetAllowEmptyString() -> "@MAC-ALLOW-EMPTY:" 94 // GetAllowEmptyString() -> "@MAC-ALLOW-EMPTY:"
97 // GetAllowString() -> "@MAC-ALLOW:" 95 // GetAllowString() -> "@MAC-ALLOW:"
98 // GetDenyString() -> "@MAC-DENY:" 96 // GetDenyString() -> "@MAC-DENY:"
99 // Example html: 97 // Example html:
100 // <!-- 98 // <!--
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 147
150 // Whether or not node ids should be included in the dump. 148 // Whether or not node ids should be included in the dump.
151 bool show_ids_; 149 bool show_ids_;
152 150
153 DISALLOW_COPY_AND_ASSIGN(AccessibilityTreeFormatter); 151 DISALLOW_COPY_AND_ASSIGN(AccessibilityTreeFormatter);
154 }; 152 };
155 153
156 } // namespace content 154 } // namespace content
157 155
158 #endif // CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_TREE_FORMATTER_H_ 156 #endif // CONTENT_BROWSER_ACCESSIBILITY_ACCESSIBILITY_TREE_FORMATTER_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/accessibility/accessibility_tree_formatter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698