| 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/dump_accessibility_tree_helper.h" | 5 #include "content/browser/accessibility/dump_accessibility_tree_helper.h" |
| 6 | 6 |
| 7 #include <oleacc.h> | 7 #include <oleacc.h> |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 if (acc_obj->get_selection(0, &start, &end) == S_OK) { | 153 if (acc_obj->get_selection(0, &start, &end) == S_OK) { |
| 154 Add(false, StringPrintf(L"selection_start=%d", start)); | 154 Add(false, StringPrintf(L"selection_start=%d", start)); |
| 155 Add(false, StringPrintf(L"selection_end=%d", end)); | 155 Add(false, StringPrintf(L"selection_end=%d", end)); |
| 156 } | 156 } |
| 157 } | 157 } |
| 158 } | 158 } |
| 159 | 159 |
| 160 return UTF8ToUTF16(prefix) + FinishLine() + ASCIIToUTF16("\n"); | 160 return UTF8ToUTF16(prefix) + FinishLine() + ASCIIToUTF16("\n"); |
| 161 } | 161 } |
| 162 | 162 |
| 163 const FilePath::StringType DumpAccessibilityTreeHelper::GetActualFileSuffix() | 163 const base::FilePath::StringType |
| 164 const { | 164 DumpAccessibilityTreeHelper::GetActualFileSuffix() const { |
| 165 return FILE_PATH_LITERAL("-actual-win.txt"); | 165 return FILE_PATH_LITERAL("-actual-win.txt"); |
| 166 } | 166 } |
| 167 | 167 |
| 168 const FilePath::StringType DumpAccessibilityTreeHelper::GetExpectedFileSuffix() | 168 const base::FilePath::StringType |
| 169 const { | 169 DumpAccessibilityTreeHelper::GetExpectedFileSuffix() const { |
| 170 return FILE_PATH_LITERAL("-expected-win.txt"); | 170 return FILE_PATH_LITERAL("-expected-win.txt"); |
| 171 } | 171 } |
| 172 | 172 |
| 173 const std::string DumpAccessibilityTreeHelper::GetAllowEmptyString() const { | 173 const std::string DumpAccessibilityTreeHelper::GetAllowEmptyString() const { |
| 174 return "@WIN-ALLOW-EMPTY:"; | 174 return "@WIN-ALLOW-EMPTY:"; |
| 175 } | 175 } |
| 176 | 176 |
| 177 const std::string DumpAccessibilityTreeHelper::GetAllowString() const { | 177 const std::string DumpAccessibilityTreeHelper::GetAllowString() const { |
| 178 return "@WIN-ALLOW:"; | 178 return "@WIN-ALLOW:"; |
| 179 } | 179 } |
| 180 | 180 |
| 181 const std::string DumpAccessibilityTreeHelper::GetDenyString() const { | 181 const std::string DumpAccessibilityTreeHelper::GetDenyString() const { |
| 182 return "@WIN-DENY:"; | 182 return "@WIN-DENY:"; |
| 183 } | 183 } |
| 184 | 184 |
| 185 } // namespace content | 185 } // namespace content |
| OLD | NEW |