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/strings/string_util.h" | 13 #include "base/strings/string_util.h" |
14 #include "base/strings/stringprintf.h" | 14 #include "base/strings/stringprintf.h" |
15 #include "base/strings/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" | |
18 | 17 |
19 using base::StringPrintf; | 18 using base::StringPrintf; |
20 | 19 |
21 namespace content { | 20 namespace content { |
22 | 21 |
23 namespace { | 22 namespace { |
24 const char* BOOL_ATTRIBUTES[] = { | 23 const char* BOOL_ATTRIBUTES[] = { |
25 "checkable", | 24 "checkable", |
26 "checked", | 25 "checked", |
27 "clickable", | 26 "clickable", |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 const std::string AccessibilityTreeFormatter::GetAllowString() { | 174 const std::string AccessibilityTreeFormatter::GetAllowString() { |
176 return "@ANDROID-ALLOW:"; | 175 return "@ANDROID-ALLOW:"; |
177 } | 176 } |
178 | 177 |
179 // static | 178 // static |
180 const std::string AccessibilityTreeFormatter::GetDenyString() { | 179 const std::string AccessibilityTreeFormatter::GetDenyString() { |
181 return "@ANDROID-DENY:"; | 180 return "@ANDROID-DENY:"; |
182 } | 181 } |
183 | 182 |
184 } // namespace content | 183 } // namespace content |
OLD | NEW |