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 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 case CSSPropertyWebkitTransition: return 332; | 387 case CSSPropertyWebkitTransition: return 332; |
388 case CSSPropertyWebkitTransitionDelay: return 333; | 388 case CSSPropertyWebkitTransitionDelay: return 333; |
389 case CSSPropertyWebkitTransitionDuration: return 334; | 389 case CSSPropertyWebkitTransitionDuration: return 334; |
390 case CSSPropertyWebkitTransitionProperty: return 335; | 390 case CSSPropertyWebkitTransitionProperty: return 335; |
391 case CSSPropertyWebkitTransitionTimingFunction: return 336; | 391 case CSSPropertyWebkitTransitionTimingFunction: return 336; |
392 case CSSPropertyWebkitUserDrag: return 337; | 392 case CSSPropertyWebkitUserDrag: return 337; |
393 case CSSPropertyWebkitUserModify: return 338; | 393 case CSSPropertyWebkitUserModify: return 338; |
394 case CSSPropertyWebkitUserSelect: return 339; | 394 case CSSPropertyWebkitUserSelect: return 339; |
395 case CSSPropertyWebkitFlowInto: return 340; | 395 case CSSPropertyWebkitFlowInto: return 340; |
396 case CSSPropertyWebkitFlowFrom: return 341; | 396 case CSSPropertyWebkitFlowFrom: return 341; |
397 case CSSPropertyWebkitRegionOverflow: return 342; | 397 case CSSPropertyWebkitRegionFragment: return 342; |
398 case CSSPropertyWebkitRegionBreakAfter: return 343; | 398 case CSSPropertyWebkitRegionBreakAfter: return 343; |
399 case CSSPropertyWebkitRegionBreakBefore: return 344; | 399 case CSSPropertyWebkitRegionBreakBefore: return 344; |
400 case CSSPropertyWebkitRegionBreakInside: return 345; | 400 case CSSPropertyWebkitRegionBreakInside: return 345; |
401 case CSSPropertyWebkitShapeInside: return 346; | 401 case CSSPropertyWebkitShapeInside: return 346; |
402 case CSSPropertyWebkitShapeOutside: return 347; | 402 case CSSPropertyWebkitShapeOutside: return 347; |
403 case CSSPropertyWebkitShapeMargin: return 348; | 403 case CSSPropertyWebkitShapeMargin: return 348; |
404 case CSSPropertyWebkitShapePadding: return 349; | 404 case CSSPropertyWebkitShapePadding: return 349; |
405 case CSSPropertyWebkitWrapFlow: return 350; | 405 case CSSPropertyWebkitWrapFlow: return 350; |
406 case CSSPropertyWebkitWrapThrough: return 351; | 406 case CSSPropertyWebkitWrapThrough: return 351; |
407 // CSSPropertyWebkitWrap was 352. | 407 // CSSPropertyWebkitWrap was 352. |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
667 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 667 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
668 { | 668 { |
669 // FIXME: We may want to handle stylesheets that have multiple owners | 669 // FIXME: We may want to handle stylesheets that have multiple owners |
670 // http://crbug.com/242125 | 670 // http://crbug.com/242125 |
671 if (sheetContents && !sheetContents->isUserStyleSheet() && sheetContents->ha
sSingleOwnerNode()) | 671 if (sheetContents && !sheetContents->isUserStyleSheet() && sheetContents->ha
sSingleOwnerNode()) |
672 return getFrom(sheetContents->singleOwnerDocument()); | 672 return getFrom(sheetContents->singleOwnerDocument()); |
673 return 0; | 673 return 0; |
674 } | 674 } |
675 | 675 |
676 } // namespace WebCore | 676 } // namespace WebCore |
OLD | NEW |