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

Unified Diff: third_party/WebKit/Source/core/layout/api/LineLayoutItem.h

Issue 1441443003: [Line Layout API] Convert LayoutBlockFlowLine to use new line layout API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: promote selectionState() to LineLayoutItem, simplify caller Created 5 years, 1 month 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/api/LineLayoutItem.h
diff --git a/third_party/WebKit/Source/core/layout/api/LineLayoutItem.h b/third_party/WebKit/Source/core/layout/api/LineLayoutItem.h
index fb64879b94c5d455815b4b97261602ea6709c5a5..5898a3e6131352f54f60ff8826e913d6ceb3a64b 100644
--- a/third_party/WebKit/Source/core/layout/api/LineLayoutItem.h
+++ b/third_party/WebKit/Source/core/layout/api/LineLayoutItem.h
@@ -304,6 +304,11 @@ public:
return m_layoutObject->hitTest(result, locationInContainer, accumulatedOffset, filter);
}
+ SelectionState selectionState() const
+ {
+ return m_layoutObject->selectionState();
+ }
+
Color selectionBackgroundColor() const
{
return m_layoutObject->selectionBackgroundColor();

Powered by Google App Engine
This is Rietveld 408576698