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

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

Issue 1625683003: [Line Layout API] Some harder SVGTextLayoutEngine changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@3_api_easy_svg
Patch Set: remove shim; rename elementFromLayoutObject 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef LineLayoutItem_h 5 #ifndef LineLayoutItem_h
6 #define LineLayoutItem_h 6 #define LineLayoutItem_h
7 7
8 #include "core/layout/LayoutObject.h" 8 #include "core/layout/LayoutObject.h"
9 #include "core/layout/LayoutObjectInlines.h" 9 #include "core/layout/LayoutObjectInlines.h"
10 10
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 bool isSVGInline() const 262 bool isSVGInline() const
263 { 263 {
264 return m_layoutObject->isSVGInline(); 264 return m_layoutObject->isSVGInline();
265 } 265 }
266 266
267 bool isSVGInlineText() const 267 bool isSVGInlineText() const
268 { 268 {
269 return m_layoutObject->isSVGInlineText(); 269 return m_layoutObject->isSVGInlineText();
270 } 270 }
271 271
272 bool isSVGText() const
273 {
274 return m_layoutObject->isSVGText();
275 }
276
272 bool isSVGTextPath() const 277 bool isSVGTextPath() const
273 { 278 {
274 return m_layoutObject->isSVGTextPath(); 279 return m_layoutObject->isSVGTextPath();
275 } 280 }
276 281
277 bool isTableCell() const 282 bool isTableCell() const
278 { 283 {
279 return m_layoutObject->isTableCell(); 284 return m_layoutObject->isTableCell();
280 } 285 }
281 286
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 411
407 private: 412 private:
408 LayoutObject* m_layoutObject; 413 LayoutObject* m_layoutObject;
409 414
410 friend class LineLayoutAPIShim; 415 friend class LineLayoutAPIShim;
411 }; 416 };
412 417
413 } // namespace blink 418 } // namespace blink
414 419
415 #endif // LineLayoutItem_h 420 #endif // LineLayoutItem_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698