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

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

Issue 1759173002: [Layout API] Create api/LayoutLIItem and use it in html/HTMLLIElement (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/api/LayoutItem.h
diff --git a/third_party/WebKit/Source/core/layout/api/LayoutItem.h b/third_party/WebKit/Source/core/layout/api/LayoutItem.h
index 20a2bf3392ad9ed7dbe8292052c16c0a89d8b46d..a7f6f9b3a62110b46afb241c71569247b2007a1a 100644
--- a/third_party/WebKit/Source/core/layout/api/LayoutItem.h
+++ b/third_party/WebKit/Source/core/layout/api/LayoutItem.h
@@ -89,6 +89,11 @@ public:
return m_layoutObject->isLayoutFullScreen();
}
+ bool isListItem() const
+ {
+ return m_layoutObject->isListItem();
+ }
+
bool needsLayout()
{
return m_layoutObject->needsLayout();
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLLIElement.cpp ('k') | third_party/WebKit/Source/core/layout/api/LayoutLIItem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698