| 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 #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 Loading... |
| 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 |
| OLD | NEW |