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 #include "content/browser/accessibility/accessibility_tree_formatter.h" | 5 #include "content/browser/accessibility/accessibility_tree_formatter.h" |
6 | 6 |
7 #include <oleacc.h> | 7 #include <oleacc.h> |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
371 NOTREACHED(); | 371 NOTREACHED(); |
372 break; | 372 break; |
373 } | 373 } |
374 } | 374 } |
375 | 375 |
376 return line; | 376 return line; |
377 } | 377 } |
378 | 378 |
379 // static | 379 // static |
380 const base::FilePath::StringType | 380 const base::FilePath::StringType |
381 AccessibilityTreeFormatter::GetActualFileSuffix() { | |
382 return FILE_PATH_LITERAL("-actual-win.txt"); | |
383 } | |
384 | |
385 // static | |
386 const base::FilePath::StringType | |
387 AccessibilityTreeFormatter::GetExpectedFileSuffix() { | 381 AccessibilityTreeFormatter::GetExpectedFileSuffix() { |
388 return FILE_PATH_LITERAL("-expected-win.txt"); | 382 return FILE_PATH_LITERAL("-expected-win.txt"); |
389 } | 383 } |
390 | 384 |
391 // static | 385 // static |
392 const std::string AccessibilityTreeFormatter::GetAllowEmptyString() { | 386 const std::string AccessibilityTreeFormatter::GetAllowEmptyString() { |
393 return "@WIN-ALLOW-EMPTY:"; | 387 return "@WIN-ALLOW-EMPTY:"; |
394 } | 388 } |
395 | 389 |
396 // static | 390 // static |
397 const std::string AccessibilityTreeFormatter::GetAllowString() { | 391 const std::string AccessibilityTreeFormatter::GetAllowString() { |
398 return "@WIN-ALLOW:"; | 392 return "@WIN-ALLOW:"; |
399 } | 393 } |
400 | 394 |
401 // static | 395 // static |
402 const std::string AccessibilityTreeFormatter::GetDenyString() { | 396 const std::string AccessibilityTreeFormatter::GetDenyString() { |
403 return "@WIN-DENY:"; | 397 return "@WIN-DENY:"; |
404 } | 398 } |
405 | 399 |
406 } // namespace content | 400 } // namespace content |
OLD | NEW |