Chromium Code Reviews| Index: content/browser/accessibility/accessibility_tree_formatter_win.cc |
| diff --git a/content/browser/accessibility/accessibility_tree_formatter_win.cc b/content/browser/accessibility/accessibility_tree_formatter_win.cc |
| index c7ef471a616becfcf2ff70b0de13b0bae9f0cf6d..96690f7c82a59250c3a0ae658c6580286788965d 100644 |
| --- a/content/browser/accessibility/accessibility_tree_formatter_win.cc |
| +++ b/content/browser/accessibility/accessibility_tree_formatter_win.cc |
| @@ -107,9 +107,9 @@ base::string16 GetIA2Hypertext(BrowserAccessibilityWin& ax_object) { |
| base::string16 child_index_str(L"<obj"); |
| if (child_index >= 0) { |
| - base::StringAppendF(&child_index_str, L"%d>", child_index); |
| + /*base::StringAppendF(&child_index_str, L"%d>", child_index);*/ |
| } else { |
| - base::StringAppendF(&child_index_str, L">"); |
| + /*base::StringAppendF(&child_index_str, L">");*/ |
| } |
| base::ReplaceFirstSubstringAfterOffset(&ia2_hypertext, hypertext_index, |
| embedded_character, child_index_str); |
| @@ -308,33 +308,33 @@ base::string16 AccessibilityTreeFormatter::ToString( |
| case base::Value::TYPE_STRING: { |
| base::string16 string_value; |
| value->GetAsString(&string_value); |
| - WriteAttribute(false, |
| +/* WriteAttribute(false, |
|
brucedawson
2015/10/20 21:43:00
String printing of UTF8toUTF16(attribute_name), th
|
| base::StringPrintf(L"%ls='%ls'", |
| base::UTF8ToUTF16(attribute_name).c_str(), |
| string_value.c_str()), |
| - &line); |
| + &line);*/ |
| break; |
| } |
| case base::Value::TYPE_INTEGER: { |
| int int_value; |
| value->GetAsInteger(&int_value); |
| - WriteAttribute(false, |
| + /*WriteAttribute(false, |
| base::StringPrintf(L"%ls=%d", |
| base::UTF8ToUTF16( |
| attribute_name).c_str(), |
| int_value), |
| - &line); |
| + &line);*/ |
| break; |
| } |
| case base::Value::TYPE_DOUBLE: { |
| double double_value; |
| value->GetAsDouble(&double_value); |
| - WriteAttribute(false, |
| +/* WriteAttribute(false, |
| base::StringPrintf(L"%ls=%.2f", |
| base::UTF8ToUTF16( |
| attribute_name).c_str(), |
| double_value), |
| - &line); |
| + &line);*/ |
| break; |
| } |
| case base::Value::TYPE_LIST: { |