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

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

Issue 1665413003: [Line Layout API] Add LineLayoutSVGInline and LineLayoutSVGTextPath (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 bool isRubyRun() const 252 bool isRubyRun() const
253 { 253 {
254 return m_layoutObject->isRubyRun(); 254 return m_layoutObject->isRubyRun();
255 } 255 }
256 256
257 bool isRubyBase() const 257 bool isRubyBase() const
258 { 258 {
259 return m_layoutObject->isRubyBase(); 259 return m_layoutObject->isRubyBase();
260 } 260 }
261 261
262 bool isSVGInline() const
263 {
264 return m_layoutObject->isSVGInline();
265 }
266
262 bool isSVGInlineText() const 267 bool isSVGInlineText() const
263 { 268 {
264 return m_layoutObject->isSVGInlineText(); 269 return m_layoutObject->isSVGInlineText();
265 } 270 }
266 271
272 bool isSVGTextPath() const
273 {
274 return m_layoutObject->isSVGTextPath();
275 }
276
267 bool isTableCell() const 277 bool isTableCell() const
268 { 278 {
269 return m_layoutObject->isTableCell(); 279 return m_layoutObject->isTableCell();
270 } 280 }
271 281
272 bool isText() const 282 bool isText() const
273 { 283 {
274 return m_layoutObject->isText(); 284 return m_layoutObject->isText();
275 } 285 }
276 286
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 406
397 private: 407 private:
398 LayoutObject* m_layoutObject; 408 LayoutObject* m_layoutObject;
399 409
400 friend class LineLayoutAPIShim; 410 friend class LineLayoutAPIShim;
401 }; 411 };
402 412
403 } // namespace blink 413 } // namespace blink
404 414
405 #endif // LineLayoutItem_h 415 #endif // LineLayoutItem_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/layout/api/LineLayoutSVGInline.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698