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

Unified Diff: Source/core/accessibility/AccessibilityNodeObject.h

Issue 14740025: Simplify and add caching for accessible bounding box calculation. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update comment Created 7 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/accessibility/AccessibilityNodeObject.h
diff --git a/Source/core/accessibility/AccessibilityNodeObject.h b/Source/core/accessibility/AccessibilityNodeObject.h
index 55194c4f4006f2a5a27a07cf42a184d9d6156789..6617b5d7b9ad719a2c551cb54b03eaa7db17b2cc 100644
--- a/Source/core/accessibility/AccessibilityNodeObject.h
+++ b/Source/core/accessibility/AccessibilityNodeObject.h
@@ -170,9 +170,8 @@ protected:
virtual String title() const;
virtual String helpText() const;
- // Position and size.
- virtual LayoutRect boundingBoxRect() const;
- virtual LayoutRect elementRect() const;
+ // Location and click point in frame-relative coordinates.
+ virtual LayoutRect elementRect();
// High-level accessibility tree access.
virtual AccessibilityObject* parentObject() const;

Powered by Google App Engine
This is Rietveld 408576698