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 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
382 case CSSPropertyShapeMargin: return 348; | 382 case CSSPropertyShapeMargin: return 348; |
383 // case CSSPropertyShapePadding: return 349; | 383 // case CSSPropertyShapePadding: return 349; |
384 // case CSSPropertyWebkitWrapFlow: return 350; | 384 // case CSSPropertyWebkitWrapFlow: return 350; |
385 // case CSSPropertyWebkitWrapThrough: return 351; | 385 // case CSSPropertyWebkitWrapThrough: return 351; |
386 // CSSPropertyWebkitWrap was 352. | 386 // CSSPropertyWebkitWrap was 352. |
387 // 353 was CSSPropertyWebkitTapHighlightColor (duplicated due to #ifdef). | 387 // 353 was CSSPropertyWebkitTapHighlightColor (duplicated due to #ifdef). |
388 // 354 was CSSPropertyWebkitAppRegion (duplicated due to #ifdef). | 388 // 354 was CSSPropertyWebkitAppRegion (duplicated due to #ifdef). |
389 case CSSPropertyClipPath: return 355; | 389 case CSSPropertyClipPath: return 355; |
390 case CSSPropertyClipRule: return 356; | 390 case CSSPropertyClipRule: return 356; |
391 case CSSPropertyMask: return 357; | 391 case CSSPropertyMask: return 357; |
392 case CSSPropertyEnableBackground: return 358; | 392 // CSSPropertyEnableBackground has been removed, was return 358; |
393 case CSSPropertyFilter: return 359; | 393 case CSSPropertyFilter: return 359; |
394 case CSSPropertyFloodColor: return 360; | 394 case CSSPropertyFloodColor: return 360; |
395 case CSSPropertyFloodOpacity: return 361; | 395 case CSSPropertyFloodOpacity: return 361; |
396 case CSSPropertyLightingColor: return 362; | 396 case CSSPropertyLightingColor: return 362; |
397 case CSSPropertyStopColor: return 363; | 397 case CSSPropertyStopColor: return 363; |
398 case CSSPropertyStopOpacity: return 364; | 398 case CSSPropertyStopOpacity: return 364; |
399 case CSSPropertyColorInterpolation: return 365; | 399 case CSSPropertyColorInterpolation: return 365; |
400 case CSSPropertyColorInterpolationFilters: return 366; | 400 case CSSPropertyColorInterpolationFilters: return 366; |
401 // case CSSPropertyColorProfile: return 367; | 401 // case CSSPropertyColorProfile: return 367; |
402 case CSSPropertyColorRendering: return 368; | 402 case CSSPropertyColorRendering: return 368; |
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1000 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 1000 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
1001 { | 1001 { |
1002 // FIXME: We may want to handle stylesheets that have multiple owners | 1002 // FIXME: We may want to handle stylesheets that have multiple owners |
1003 // http://crbug.com/242125 | 1003 // http://crbug.com/242125 |
1004 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 1004 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
1005 return getFrom(sheetContents->singleOwnerDocument()); | 1005 return getFrom(sheetContents->singleOwnerDocument()); |
1006 return 0; | 1006 return 0; |
1007 } | 1007 } |
1008 | 1008 |
1009 } // namespace blink | 1009 } // namespace blink |
OLD | NEW |