OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google, Inc. All rights reserved. | 2 * Copyright (C) 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 case CSSPropertyAliasWebkitAnimationDuration: return 169; | 212 case CSSPropertyAliasWebkitAnimationDuration: return 169; |
213 case CSSPropertyAliasWebkitAnimationFillMode: return 170; | 213 case CSSPropertyAliasWebkitAnimationFillMode: return 170; |
214 case CSSPropertyAliasWebkitAnimationIterationCount: return 171; | 214 case CSSPropertyAliasWebkitAnimationIterationCount: return 171; |
215 case CSSPropertyAliasWebkitAnimationName: return 172; | 215 case CSSPropertyAliasWebkitAnimationName: return 172; |
216 case CSSPropertyAliasWebkitAnimationPlayState: return 173; | 216 case CSSPropertyAliasWebkitAnimationPlayState: return 173; |
217 case CSSPropertyAliasWebkitAnimationTimingFunction: return 174; | 217 case CSSPropertyAliasWebkitAnimationTimingFunction: return 174; |
218 case CSSPropertyWebkitAppearance: return 175; | 218 case CSSPropertyWebkitAppearance: return 175; |
219 // CSSPropertyWebkitAspectRatio was 176 | 219 // CSSPropertyWebkitAspectRatio was 176 |
220 case CSSPropertyAliasWebkitBackfaceVisibility: return 177; | 220 case CSSPropertyAliasWebkitBackfaceVisibility: return 177; |
221 case CSSPropertyWebkitBackgroundClip: return 178; | 221 case CSSPropertyWebkitBackgroundClip: return 178; |
222 case CSSPropertyWebkitBackgroundComposite: return 179; | 222 // case CSSPropertyWebkitBackgroundComposite: return 179; |
223 case CSSPropertyWebkitBackgroundOrigin: return 180; | 223 case CSSPropertyWebkitBackgroundOrigin: return 180; |
224 case CSSPropertyAliasWebkitBackgroundSize: return 181; | 224 case CSSPropertyAliasWebkitBackgroundSize: return 181; |
225 case CSSPropertyWebkitBorderAfter: return 182; | 225 case CSSPropertyWebkitBorderAfter: return 182; |
226 case CSSPropertyWebkitBorderAfterColor: return 183; | 226 case CSSPropertyWebkitBorderAfterColor: return 183; |
227 case CSSPropertyWebkitBorderAfterStyle: return 184; | 227 case CSSPropertyWebkitBorderAfterStyle: return 184; |
228 case CSSPropertyWebkitBorderAfterWidth: return 185; | 228 case CSSPropertyWebkitBorderAfterWidth: return 185; |
229 case CSSPropertyWebkitBorderBefore: return 186; | 229 case CSSPropertyWebkitBorderBefore: return 186; |
230 case CSSPropertyWebkitBorderBeforeColor: return 187; | 230 case CSSPropertyWebkitBorderBeforeColor: return 187; |
231 case CSSPropertyWebkitBorderBeforeStyle: return 188; | 231 case CSSPropertyWebkitBorderBeforeStyle: return 188; |
232 case CSSPropertyWebkitBorderBeforeWidth: return 189; | 232 case CSSPropertyWebkitBorderBeforeWidth: return 189; |
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
781 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 781 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
782 { | 782 { |
783 // FIXME: We may want to handle stylesheets that have multiple owners | 783 // FIXME: We may want to handle stylesheets that have multiple owners |
784 // https://crbug.com/242125 | 784 // https://crbug.com/242125 |
785 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 785 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
786 return getFrom(sheetContents->singleOwnerDocument()); | 786 return getFrom(sheetContents->singleOwnerDocument()); |
787 return 0; | 787 return 0; |
788 } | 788 } |
789 | 789 |
790 } // namespace blink | 790 } // namespace blink |
OLD | NEW |