Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(874)

Side by Side Diff: content/browser/accessibility/accessibility_tree_formatter_android.cc

Issue 116293005: Refactor content/ to use ui::AXNodeData instead of blink. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix android compile Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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"
David Tseng 2014/01/06 18:13:55 Was this simply unused or do you need to also incl
dmazzoni 2014/01/06 19:19:58 In this case it was unused, it was included implic
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698