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

Side by Side Diff: Source/core/css/CSSPrimitiveValue.h

Issue 1169803004: Make __qems a CSSPrimitiveValue unit type (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address review comments Created 5 years, 6 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
« no previous file with comments | « Source/core/css/CSSCalculationValue.cpp ('k') | Source/core/css/CSSPrimitiveValue.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2008 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2008 Apple Inc. All rights reserved.
4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> 4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org>
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 CSS_TURN = 107, 110 CSS_TURN = 107,
111 CSS_REMS = 108, 111 CSS_REMS = 108,
112 CSS_CHS = 109, 112 CSS_CHS = 109,
113 CSS_SHAPE = 111, 113 CSS_SHAPE = 111,
114 CSS_QUAD = 112, 114 CSS_QUAD = 112,
115 CSS_CALC = 113, 115 CSS_CALC = 113,
116 CSS_CALC_PERCENTAGE_WITH_NUMBER = 114, 116 CSS_CALC_PERCENTAGE_WITH_NUMBER = 114,
117 CSS_CALC_PERCENTAGE_WITH_LENGTH = 115, 117 CSS_CALC_PERCENTAGE_WITH_LENGTH = 115,
118 CSS_STRING = 116, 118 CSS_STRING = 116,
119 CSS_PROPERTY_ID = 117, 119 CSS_PROPERTY_ID = 117,
120 CSS_VALUE_ID = 118 120 CSS_VALUE_ID = 118,
121 CSS_QEM = 119
121 }; 122 };
122 123
123 enum LengthUnitType { 124 enum LengthUnitType {
124 UnitTypePixels = 0, 125 UnitTypePixels = 0,
125 UnitTypePercentage, 126 UnitTypePercentage,
126 UnitTypeFontSize, 127 UnitTypeFontSize,
127 UnitTypeFontXSize, 128 UnitTypeFontXSize,
128 UnitTypeRootFontSize, 129 UnitTypeRootFontSize,
129 UnitTypeZeroCharacterWidth, 130 UnitTypeZeroCharacterWidth,
130 UnitTypeViewportWidth, 131 UnitTypeViewportWidth,
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 }; 358 };
358 359
359 typedef CSSPrimitiveValue::CSSLengthArray CSSLengthArray; 360 typedef CSSPrimitiveValue::CSSLengthArray CSSLengthArray;
360 typedef CSSPrimitiveValue::CSSLengthTypeArray CSSLengthTypeArray; 361 typedef CSSPrimitiveValue::CSSLengthTypeArray CSSLengthTypeArray;
361 362
362 DEFINE_CSS_VALUE_TYPE_CASTS(CSSPrimitiveValue, isPrimitiveValue()); 363 DEFINE_CSS_VALUE_TYPE_CASTS(CSSPrimitiveValue, isPrimitiveValue());
363 364
364 } // namespace blink 365 } // namespace blink
365 366
366 #endif // CSSPrimitiveValue_h 367 #endif // CSSPrimitiveValue_h
OLDNEW
« no previous file with comments | « Source/core/css/CSSCalculationValue.cpp ('k') | Source/core/css/CSSPrimitiveValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698