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/browser_accessibility.h" | 5 #include "content/browser/accessibility/browser_accessibility.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/string_number_conversions.h" | 8 #include "base/strings/string_number_conversions.h" |
9 #include "base/string_util.h" | 9 #include "base/strings/string_util.h" |
10 #include "content/browser/accessibility/browser_accessibility_manager.h" | 10 #include "content/browser/accessibility/browser_accessibility_manager.h" |
11 #include "content/common/accessibility_messages.h" | 11 #include "content/common/accessibility_messages.h" |
12 | 12 |
13 namespace content { | 13 namespace content { |
14 | 14 |
15 typedef AccessibilityNodeData::BoolAttribute BoolAttribute; | 15 typedef AccessibilityNodeData::BoolAttribute BoolAttribute; |
16 typedef AccessibilityNodeData::FloatAttribute FloatAttribute; | 16 typedef AccessibilityNodeData::FloatAttribute FloatAttribute; |
17 typedef AccessibilityNodeData::IntAttribute IntAttribute; | 17 typedef AccessibilityNodeData::IntAttribute IntAttribute; |
18 typedef AccessibilityNodeData::StringAttribute StringAttribute; | 18 typedef AccessibilityNodeData::StringAttribute StringAttribute; |
19 | 19 |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 return name_; | 316 return name_; |
317 } | 317 } |
318 | 318 |
319 string16 result; | 319 string16 result; |
320 for (size_t i = 0; i < children_.size(); ++i) | 320 for (size_t i = 0; i < children_.size(); ++i) |
321 result += children_[i]->GetTextRecursive(); | 321 result += children_[i]->GetTextRecursive(); |
322 return result; | 322 return result; |
323 } | 323 } |
324 | 324 |
325 } // namespace content | 325 } // namespace content |
OLD | NEW |