| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/android/jni_android.h" | 9 #include "base/android/jni_android.h" |
| 10 #include "base/android/jni_string.h" | 10 #include "base/android/jni_string.h" |
| 11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
| 12 #include "base/json/json_writer.h" | 12 #include "base/json/json_writer.h" |
| 13 #include "base/string_util.h" | 13 #include "base/strings/string_util.h" |
| 14 #include "base/stringprintf.h" | 14 #include "base/strings/stringprintf.h" |
| 15 #include "base/utf_string_conversions.h" | 15 #include "base/strings/utf_string_conversions.h" |
| 16 #include "content/browser/accessibility/browser_accessibility_android.h" | 16 #include "content/browser/accessibility/browser_accessibility_android.h" |
| 17 #include "content/common/accessibility_node_data.h" | 17 #include "content/common/accessibility_node_data.h" |
| 18 | 18 |
| 19 using base::StringPrintf; | 19 using base::StringPrintf; |
| 20 | 20 |
| 21 namespace content { | 21 namespace content { |
| 22 | 22 |
| 23 namespace { | 23 namespace { |
| 24 const char* BOOL_ATTRIBUTES[] = { | 24 const char* BOOL_ATTRIBUTES[] = { |
| 25 "checkable", | 25 "checkable", |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 const std::string AccessibilityTreeFormatter::GetAllowString() { | 161 const std::string AccessibilityTreeFormatter::GetAllowString() { |
| 162 return "@ANDROID-ALLOW:"; | 162 return "@ANDROID-ALLOW:"; |
| 163 } | 163 } |
| 164 | 164 |
| 165 // static | 165 // static |
| 166 const std::string AccessibilityTreeFormatter::GetDenyString() { | 166 const std::string AccessibilityTreeFormatter::GetDenyString() { |
| 167 return "@ANDROID-DENY:"; | 167 return "@ANDROID-DENY:"; |
| 168 } | 168 } |
| 169 | 169 |
| 170 } // namespace content | 170 } // namespace content |
| OLD | NEW |