OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 case CSSPrimitiveValue::CSS_STRING: | 122 case CSSPrimitiveValue::CSS_STRING: |
123 case CSSPrimitiveValue::CSS_URI: | 123 case CSSPrimitiveValue::CSS_URI: |
124 case CSSPrimitiveValue::CSS_IDENT: | 124 case CSSPrimitiveValue::CSS_IDENT: |
125 case CSSPrimitiveValue::CSS_ATTR: | 125 case CSSPrimitiveValue::CSS_ATTR: |
126 case CSSPrimitiveValue::CSS_COUNTER: | 126 case CSSPrimitiveValue::CSS_COUNTER: |
127 case CSSPrimitiveValue::CSS_RECT: | 127 case CSSPrimitiveValue::CSS_RECT: |
128 case CSSPrimitiveValue::CSS_RGBCOLOR: | 128 case CSSPrimitiveValue::CSS_RGBCOLOR: |
129 case CSSPrimitiveValue::CSS_PAIR: | 129 case CSSPrimitiveValue::CSS_PAIR: |
130 case CSSPrimitiveValue::CSS_UNICODE_RANGE: | 130 case CSSPrimitiveValue::CSS_UNICODE_RANGE: |
131 case CSSPrimitiveValue::CSS_PARSER_HEXCOLOR: | 131 case CSSPrimitiveValue::CSS_PARSER_HEXCOLOR: |
| 132 case CSSPrimitiveValue::CSS_PARSER_IDSEL: |
132 case CSSPrimitiveValue::CSS_COUNTER_NAME: | 133 case CSSPrimitiveValue::CSS_COUNTER_NAME: |
133 case CSSPrimitiveValue::CSS_SHAPE: | 134 case CSSPrimitiveValue::CSS_SHAPE: |
134 case CSSPrimitiveValue::CSS_QUAD: | 135 case CSSPrimitiveValue::CSS_QUAD: |
135 case CSSPrimitiveValue::CSS_CALC: | 136 case CSSPrimitiveValue::CSS_CALC: |
136 case CSSPrimitiveValue::CSS_CALC_PERCENTAGE_WITH_NUMBER: | 137 case CSSPrimitiveValue::CSS_CALC_PERCENTAGE_WITH_NUMBER: |
137 case CSSPrimitiveValue::CSS_CALC_PERCENTAGE_WITH_LENGTH: | 138 case CSSPrimitiveValue::CSS_CALC_PERCENTAGE_WITH_LENGTH: |
138 case CSSPrimitiveValue::CSS_PROPERTY_ID: | 139 case CSSPrimitiveValue::CSS_PROPERTY_ID: |
139 case CSSPrimitiveValue::CSS_VALUE_ID: | 140 case CSSPrimitiveValue::CSS_VALUE_ID: |
140 return false; | 141 return false; |
141 }; | 142 }; |
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
765 return adoptRefWillBeNoop(new CSSCalcValue(expression, range)); | 766 return adoptRefWillBeNoop(new CSSCalcValue(expression, range)); |
766 } | 767 } |
767 | 768 |
768 void CSSCalcValue::traceAfterDispatch(Visitor* visitor) | 769 void CSSCalcValue::traceAfterDispatch(Visitor* visitor) |
769 { | 770 { |
770 visitor->trace(m_expression); | 771 visitor->trace(m_expression); |
771 CSSValue::traceAfterDispatch(visitor); | 772 CSSValue::traceAfterDispatch(visitor); |
772 } | 773 } |
773 | 774 |
774 } // namespace blink | 775 } // namespace blink |
OLD | NEW |