| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 uint32_t InternalChildCount() const; | 229 uint32_t InternalChildCount() const; |
| 230 BrowserAccessibility* InternalGetChild(uint32_t child_index) const; | 230 BrowserAccessibility* InternalGetChild(uint32_t child_index) const; |
| 231 BrowserAccessibility* InternalGetParent() const; | 231 BrowserAccessibility* InternalGetParent() const; |
| 232 | 232 |
| 233 BrowserAccessibility* GetParent() const; | 233 BrowserAccessibility* GetParent() const; |
| 234 int32_t GetIndexInParent() const; | 234 int32_t GetIndexInParent() const; |
| 235 | 235 |
| 236 int32_t GetId() const; | 236 int32_t GetId() const; |
| 237 const ui::AXNodeData& GetData() const; | 237 const ui::AXNodeData& GetData() const; |
| 238 gfx::RectF GetLocation() const; | 238 gfx::RectF GetLocation() const; |
| 239 int32_t GetRole() const; | 239 ui::AXRole GetRole() const; |
| 240 int32_t GetState() const; | 240 int32_t GetState() const; |
| 241 | 241 |
| 242 typedef base::StringPairs HtmlAttributes; | 242 typedef base::StringPairs HtmlAttributes; |
| 243 const HtmlAttributes& GetHtmlAttributes() const; | 243 const HtmlAttributes& GetHtmlAttributes() const; |
| 244 | 244 |
| 245 // Returns true if this is a native platform-specific object, vs a | 245 // Returns true if this is a native platform-specific object, vs a |
| 246 // cross-platform generic object. Don't call ToBrowserAccessibilityXXX if | 246 // cross-platform generic object. Don't call ToBrowserAccessibilityXXX if |
| 247 // IsNative returns false. | 247 // IsNative returns false. |
| 248 virtual bool IsNative() const; | 248 virtual bool IsNative() const; |
| 249 | 249 |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 381 // bounds, but "virtual" elements in the accessibility tree that don't | 381 // bounds, but "virtual" elements in the accessibility tree that don't |
| 382 // correspond to a layed-out element sometimes don't have bounds. | 382 // correspond to a layed-out element sometimes don't have bounds. |
| 383 void FixEmptyBounds(gfx::RectF* bounds) const; | 383 void FixEmptyBounds(gfx::RectF* bounds) const; |
| 384 | 384 |
| 385 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility); | 385 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility); |
| 386 }; | 386 }; |
| 387 | 387 |
| 388 } // namespace content | 388 } // namespace content |
| 389 | 389 |
| 390 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ | 390 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ |
| OLD | NEW |