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

Unified Diff: third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.h

Issue 2169273004: Switch all LayoutTests to use new accessibility relative bounding box API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix absolute bounds in AXInlineTextBox::elementRect Created 4 years, 5 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: third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.h
diff --git a/third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.h b/third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.h
index f04c97563fb69f96da9962b3ab86e5523b04110b..3b45a08ffd4b208d7568673395d84bda7dec67bd 100644
--- a/third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.h
+++ b/third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.h
@@ -79,7 +79,8 @@ public:
LineLayoutText getLineLayoutItem() const { return m_lineLayoutItem; }
PassRefPtr<AbstractInlineTextBox> nextInlineTextBox() const;
- LayoutRect bounds() const;
+ LayoutRect localBounds() const;
+ LayoutRect absoluteBounds() const;
unsigned len() const;
Direction getDirection() const;
void characterWidths(Vector<float>&) const;

Powered by Google App Engine
This is Rietveld 408576698