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

Side by Side Diff: third_party/WebKit/Source/core/style/ComputedStyle.h

Issue 1774943003: blink: Rename platform/ methods to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-platform: rebase-yayyyyyyyy Created 4 years, 9 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) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved.
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after
587 const LengthBox& clip() const { return visual->clip; } 587 const LengthBox& clip() const { return visual->clip; }
588 bool hasAutoClip() const { return visual->hasAutoClip; } 588 bool hasAutoClip() const { return visual->hasAutoClip; }
589 589
590 EUnicodeBidi unicodeBidi() const { return static_cast<EUnicodeBidi>(noninher ited_flags.unicodeBidi); } 590 EUnicodeBidi unicodeBidi() const { return static_cast<EUnicodeBidi>(noninher ited_flags.unicodeBidi); }
591 591
592 EClear clear() const { return static_cast<EClear>(noninherited_flags.clear); } 592 EClear clear() const { return static_cast<EClear>(noninherited_flags.clear); }
593 ETableLayout tableLayout() const { return static_cast<ETableLayout>(noninher ited_flags.tableLayout); } 593 ETableLayout tableLayout() const { return static_cast<ETableLayout>(noninher ited_flags.tableLayout); }
594 bool isFixedTableLayout() const { return tableLayout() == TableLayoutFixed & & !logicalWidth().isAuto(); } 594 bool isFixedTableLayout() const { return tableLayout() == TableLayoutFixed & & !logicalWidth().isAuto(); }
595 595
596 const Font& font() const; 596 const Font& font() const;
597 const FontMetrics& fontMetrics() const; 597 const FontMetrics& getFontMetrics() const;
598 const FontDescription& fontDescription() const; 598 const FontDescription& getFontDescription() const;
599 float specifiedFontSize() const; 599 float specifiedFontSize() const;
600 float computedFontSize() const; 600 float computedFontSize() const;
601 int fontSize() const; 601 int fontSize() const;
602 float fontSizeAdjust() const; 602 float fontSizeAdjust() const;
603 bool hasFontSizeAdjust() const; 603 bool hasFontSizeAdjust() const;
604 FontWeight fontWeight() const; 604 FontWeight fontWeight() const;
605 FontStretch fontStretch() const; 605 FontStretch fontStretch() const;
606 606
607 float textAutosizingMultiplier() const { return inherited->textAutosizingMul tiplier; } 607 float textAutosizingMultiplier() const { return inherited->textAutosizingMul tiplier; }
608 608
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
858 EUserDrag userDrag() const { return static_cast<EUserDrag>(rareNonInheritedD ata->userDrag); } 858 EUserDrag userDrag() const { return static_cast<EUserDrag>(rareNonInheritedD ata->userDrag); }
859 EUserSelect userSelect() const { return static_cast<EUserSelect>(rareInherit edData->userSelect); } 859 EUserSelect userSelect() const { return static_cast<EUserSelect>(rareInherit edData->userSelect); }
860 TextOverflow getTextOverflow() const { return static_cast<TextOverflow>(rare NonInheritedData->textOverflow); } 860 TextOverflow getTextOverflow() const { return static_cast<TextOverflow>(rare NonInheritedData->textOverflow); }
861 EMarginCollapse marginBeforeCollapse() const { return static_cast<EMarginCol lapse>(rareNonInheritedData->marginBeforeCollapse); } 861 EMarginCollapse marginBeforeCollapse() const { return static_cast<EMarginCol lapse>(rareNonInheritedData->marginBeforeCollapse); }
862 EMarginCollapse marginAfterCollapse() const { return static_cast<EMarginColl apse>(rareNonInheritedData->marginAfterCollapse); } 862 EMarginCollapse marginAfterCollapse() const { return static_cast<EMarginColl apse>(rareNonInheritedData->marginAfterCollapse); }
863 EWordBreak wordBreak() const { return static_cast<EWordBreak>(rareInheritedD ata->wordBreak); } 863 EWordBreak wordBreak() const { return static_cast<EWordBreak>(rareInheritedD ata->wordBreak); }
864 EOverflowWrap overflowWrap() const { return static_cast<EOverflowWrap>(rareI nheritedData->overflowWrap); } 864 EOverflowWrap overflowWrap() const { return static_cast<EOverflowWrap>(rareI nheritedData->overflowWrap); }
865 LineBreak getLineBreak() const { return static_cast<LineBreak>(rareInherited Data->lineBreak); } 865 LineBreak getLineBreak() const { return static_cast<LineBreak>(rareInherited Data->lineBreak); }
866 const AtomicString& highlight() const { return rareInheritedData->highlight; } 866 const AtomicString& highlight() const { return rareInheritedData->highlight; }
867 const AtomicString& hyphenationString() const { return rareInheritedData->hy phenationString; } 867 const AtomicString& hyphenationString() const { return rareInheritedData->hy phenationString; }
868 const AtomicString& locale() const { return fontDescription().locale(false); } 868 const AtomicString& locale() const { return getFontDescription().locale(fals e); }
869 EResize resize() const { return static_cast<EResize>(rareNonInheritedData->m _resize); } 869 EResize resize() const { return static_cast<EResize>(rareNonInheritedData->m _resize); }
870 bool hasInlinePaginationAxis() const 870 bool hasInlinePaginationAxis() const
871 { 871 {
872 // If the pagination axis is parallel with the writing mode inline axis, columns may be laid 872 // If the pagination axis is parallel with the writing mode inline axis, columns may be laid
873 // out along the inline axis, just like for regular multicol. Otherwise, we need to lay out 873 // out along the inline axis, just like for regular multicol. Otherwise, we need to lay out
874 // along the block axis. 874 // along the block axis.
875 if (isOverflowPaged()) 875 if (isOverflowPaged())
876 return (overflowY() == OverflowPagedX) == isHorizontalWritingMode(); 876 return (overflowY() == OverflowPagedX) == isHorizontalWritingMode();
877 return false; 877 return false;
878 } 878 }
(...skipping 1150 matching lines...) Expand 10 before | Expand all | Expand 10 after
2029 } 2029 }
2030 2030
2031 inline bool ComputedStyle::hasPseudoElementStyle() const 2031 inline bool ComputedStyle::hasPseudoElementStyle() const
2032 { 2032 {
2033 return noninherited_flags.pseudoBits & ElementPseudoIdMask; 2033 return noninherited_flags.pseudoBits & ElementPseudoIdMask;
2034 } 2034 }
2035 2035
2036 } // namespace blink 2036 } // namespace blink
2037 2037
2038 #endif // ComputedStyle_h 2038 #endif // ComputedStyle_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/TransformRecorder.cpp ('k') | third_party/WebKit/Source/core/style/ComputedStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698