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

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

Issue 2855043003: Added some methods to abstract inline text boxes. (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2d58a2781c5a9b89447aaa9904a657fb9493af45..d1685164d18131067a13f88559864df5c34e6b94 100644
--- a/third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.h
+++ b/third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.h
@@ -79,6 +79,7 @@ class CORE_EXPORT AbstractInlineTextBox
LayoutRect LocalBounds() const;
unsigned Len() const;
Direction GetDirection() const;
+ Node* GetNode() const { return line_layout_item_.GetNode(); }
void CharacterWidths(Vector<float>&) const;
void GetWordBoundaries(Vector<WordBoundaries>&) const;
String GetText() const;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698