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

Side by Side Diff: content/browser/accessibility/accessibility_tree_formatter_mac.mm

Issue 1505903002: Don't require expectations file for DumpAccessibility tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add one auralinux expectation 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
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 #include "content/browser/accessibility/accessibility_tree_formatter.h" 5 #include "content/browser/accessibility/accessibility_tree_formatter.h"
6 6
7 #import <Cocoa/Cocoa.h> 7 #import <Cocoa/Cocoa.h>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 FormatCoordinates(kSizeDictAttr, 293 FormatCoordinates(kSizeDictAttr,
294 kWidthDictAttr, kHeightDictAttr, *d_value), 294 kWidthDictAttr, kHeightDictAttr, *d_value),
295 &line); 295 &line);
296 } 296 }
297 297
298 return line; 298 return line;
299 } 299 }
300 300
301 // static 301 // static
302 const base::FilePath::StringType 302 const base::FilePath::StringType
303 AccessibilityTreeFormatter::GetActualFileSuffix() {
304 return FILE_PATH_LITERAL("-actual-mac.txt");
305 }
306
307 // static
308 const base::FilePath::StringType
309 AccessibilityTreeFormatter::GetExpectedFileSuffix() { 303 AccessibilityTreeFormatter::GetExpectedFileSuffix() {
310 return FILE_PATH_LITERAL("-expected-mac.txt"); 304 return FILE_PATH_LITERAL("-expected-mac.txt");
311 } 305 }
312 306
313 // static 307 // static
314 const string AccessibilityTreeFormatter::GetAllowEmptyString() { 308 const string AccessibilityTreeFormatter::GetAllowEmptyString() {
315 return "@MAC-ALLOW-EMPTY:"; 309 return "@MAC-ALLOW-EMPTY:";
316 } 310 }
317 311
318 // static 312 // static
319 const string AccessibilityTreeFormatter::GetAllowString() { 313 const string AccessibilityTreeFormatter::GetAllowString() {
320 return "@MAC-ALLOW:"; 314 return "@MAC-ALLOW:";
321 } 315 }
322 316
323 // static 317 // static
324 const string AccessibilityTreeFormatter::GetDenyString() { 318 const string AccessibilityTreeFormatter::GetDenyString() {
325 return "@MAC-DENY:"; 319 return "@MAC-DENY:";
326 } 320 }
327 321
328 } // namespace content 322 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698