| 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 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ | 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ |
| 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ | 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 BrowserAccessibilityManager* manager_; | 260 BrowserAccessibilityManager* manager_; |
| 261 | 261 |
| 262 // The underlying node. | 262 // The underlying node. |
| 263 ui::AXNode* node_; | 263 ui::AXNode* node_; |
| 264 | 264 |
| 265 private: | 265 private: |
| 266 // Return the sum of the lengths of all static text descendants, | 266 // Return the sum of the lengths of all static text descendants, |
| 267 // including this object if it's static text. | 267 // including this object if it's static text. |
| 268 int GetStaticTextLenRecursive() const; | 268 int GetStaticTextLenRecursive() const; |
| 269 | 269 |
| 270 // Similar to GetParent(), but includes nodes that are the host of a |
| 271 // subtree rather than skipping over them - because they contain important |
| 272 // bounds offsets. |
| 273 BrowserAccessibility* GetParentForBoundsCalculation() const; |
| 274 |
| 270 std::string name_; | 275 std::string name_; |
| 271 std::string value_; | 276 std::string value_; |
| 272 | 277 |
| 273 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility); | 278 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility); |
| 274 }; | 279 }; |
| 275 | 280 |
| 276 } // namespace content | 281 } // namespace content |
| 277 | 282 |
| 278 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ | 283 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ |
| OLD | NEW |