Index: content/browser/accessibility/browser_accessibility.h |
diff --git a/content/browser/accessibility/browser_accessibility.h b/content/browser/accessibility/browser_accessibility.h |
index d70124a4bd7c218a070616e839e172db0e69e18b..8fda68fc07908b80322804ff4215a29a89f7a652 100644 |
--- a/content/browser/accessibility/browser_accessibility.h |
+++ b/content/browser/accessibility/browser_accessibility.h |
@@ -88,13 +88,13 @@ class CONTENT_EXPORT BrowserAccessibility { |
bool IsDescendantOf(BrowserAccessibility* ancestor); |
// Returns the parent of this object, or NULL if it's the root. |
- BrowserAccessibility* parent() { return parent_; } |
+ BrowserAccessibility* parent() const { return parent_; } |
// Returns the number of children of this object. |
uint32 child_count() const { return children_.size(); } |
// Return a pointer to the child with the given index. |
- BrowserAccessibility* GetChild(uint32 child_index); |
+ BrowserAccessibility* GetChild(uint32 child_index) const; |
// Return the previous sibling of this object, or NULL if it's the first |
// child of its parent. |
@@ -106,10 +106,10 @@ class CONTENT_EXPORT BrowserAccessibility { |
// Returns the bounds of this object in coordinates relative to the |
// top-left corner of the overall web area. |
- gfx::Rect GetLocalBoundsRect(); |
+ gfx::Rect GetLocalBoundsRect() const; |
// Returns the bounds of this object in screen coordinates. |
- gfx::Rect GetGlobalBoundsRect(); |
+ gfx::Rect GetGlobalBoundsRect() const; |
// Returns the deepest descendant that contains the specified point |
// (in global screen coordinates). |