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

Side by Side Diff: Source/core/rendering/InlineFlowBox.h

Issue 14576017: Implement CSS3TextDecorations runtime flag in favor of CSS3_TEXT (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated css-properties-as-js-properties.html layout test expectations to match new properties. Created 7 years, 7 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 /* 1 /*
2 * Copyright (C) 2003, 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007 Apple Inc. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 OwnPtr<RenderOverflow> m_overflow; 312 OwnPtr<RenderOverflow> m_overflow;
313 313
314 virtual bool isInlineFlowBox() const OVERRIDE FINAL { return true; } 314 virtual bool isInlineFlowBox() const OVERRIDE FINAL { return true; }
315 315
316 InlineBox* m_firstChild; 316 InlineBox* m_firstChild;
317 InlineBox* m_lastChild; 317 InlineBox* m_lastChild;
318 318
319 InlineFlowBox* m_prevLineBox; // The previous box that also uses our RenderO bject 319 InlineFlowBox* m_prevLineBox; // The previous box that also uses our RenderO bject
320 InlineFlowBox* m_nextLineBox; // The next box that also uses our RenderObjec t 320 InlineFlowBox* m_nextLineBox; // The next box that also uses our RenderObjec t
321 321
322 #if ENABLE(CSS3_TEXT)
323 // Maximum logicalTop among all children of an InlineFlowBox. Used to 322 // Maximum logicalTop among all children of an InlineFlowBox. Used to
324 // calculate the offset for TextUnderlinePositionUnder. 323 // calculate the offset for TextUnderlinePositionUnder.
325 void computeMaxLogicalTop(float& maxLogicalTop); 324 void computeMaxLogicalTop(float& maxLogicalTop);
326 #endif // CSS3_TEXT
327 private: 325 private:
328 unsigned m_includeLogicalLeftEdge : 1; 326 unsigned m_includeLogicalLeftEdge : 1;
329 unsigned m_includeLogicalRightEdge : 1; 327 unsigned m_includeLogicalRightEdge : 1;
330 unsigned m_hasTextChildren : 1; 328 unsigned m_hasTextChildren : 1;
331 unsigned m_hasTextDescendants : 1; 329 unsigned m_hasTextDescendants : 1;
332 unsigned m_descendantsHaveSameLineHeightAndBaseline : 1; 330 unsigned m_descendantsHaveSameLineHeightAndBaseline : 1;
333 331
334 protected: 332 protected:
335 // The following members are only used by RootInlineBox but moved here to ke ep the bits packed. 333 // The following members are only used by RootInlineBox but moved here to ke ep the bits packed.
336 334
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 } 380 }
383 381
384 } // namespace WebCore 382 } // namespace WebCore
385 383
386 #ifndef NDEBUG 384 #ifndef NDEBUG
387 // Outside the WebCore namespace for ease of invocation from gdb. 385 // Outside the WebCore namespace for ease of invocation from gdb.
388 void showTree(const WebCore::InlineFlowBox*); 386 void showTree(const WebCore::InlineFlowBox*);
389 #endif 387 #endif
390 388
391 #endif // InlineFlowBox_h 389 #endif // InlineFlowBox_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698