OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright (C) 2012 Google, Inc. All rights reserved. | 3 * Copyright (C) 2012 Google, Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
385 case CSSPropertyWebkitTransitionTimingFunction: return 336; | 385 case CSSPropertyWebkitTransitionTimingFunction: return 336; |
386 case CSSPropertyWebkitUserDrag: return 337; | 386 case CSSPropertyWebkitUserDrag: return 337; |
387 case CSSPropertyWebkitUserModify: return 338; | 387 case CSSPropertyWebkitUserModify: return 338; |
388 case CSSPropertyWebkitUserSelect: return 339; | 388 case CSSPropertyWebkitUserSelect: return 339; |
389 // case CSSPropertyWebkitFlowInto: return 340; | 389 // case CSSPropertyWebkitFlowInto: return 340; |
390 // case CSSPropertyWebkitFlowFrom: return 341; | 390 // case CSSPropertyWebkitFlowFrom: return 341; |
391 // case CSSPropertyWebkitRegionFragment: return 342; | 391 // case CSSPropertyWebkitRegionFragment: return 342; |
392 // case CSSPropertyWebkitRegionBreakAfter: return 343; | 392 // case CSSPropertyWebkitRegionBreakAfter: return 343; |
393 // case CSSPropertyWebkitRegionBreakBefore: return 344; | 393 // case CSSPropertyWebkitRegionBreakBefore: return 344; |
394 // case CSSPropertyWebkitRegionBreakInside: return 345; | 394 // case CSSPropertyWebkitRegionBreakInside: return 345; |
395 case CSSPropertyShapeInside: return 346; | |
396 case CSSPropertyShapeOutside: return 347; | 395 case CSSPropertyShapeOutside: return 347; |
397 case CSSPropertyShapeMargin: return 348; | 396 case CSSPropertyShapeMargin: return 348; |
398 case CSSPropertyShapePadding: return 349; | 397 case CSSPropertyShapePadding: return 349; |
399 case CSSPropertyWebkitWrapFlow: return 350; | 398 case CSSPropertyWebkitWrapFlow: return 350; |
400 case CSSPropertyWebkitWrapThrough: return 351; | 399 case CSSPropertyWebkitWrapThrough: return 351; |
401 // CSSPropertyWebkitWrap was 352. | 400 // CSSPropertyWebkitWrap was 352. |
402 #if defined(ENABLE_TOUCH_EVENTS) && ENABLE_TOUCH_EVENTS | 401 #if defined(ENABLE_TOUCH_EVENTS) && ENABLE_TOUCH_EVENTS |
403 case CSSPropertyWebkitTapHighlightColor: return 353; | 402 case CSSPropertyWebkitTapHighlightColor: return 353; |
404 #endif | 403 #endif |
405 #if defined(ENABLE_DRAGGABLE_REGION) && ENABLE_DRAGGABLE_REGION | 404 #if defined(ENABLE_DRAGGABLE_REGION) && ENABLE_DRAGGABLE_REGION |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
726 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 725 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
727 { | 726 { |
728 // FIXME: We may want to handle stylesheets that have multiple owners | 727 // FIXME: We may want to handle stylesheets that have multiple owners |
729 // http://crbug.com/242125 | 728 // http://crbug.com/242125 |
730 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 729 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
731 return getFrom(sheetContents->singleOwnerDocument()); | 730 return getFrom(sheetContents->singleOwnerDocument()); |
732 return 0; | 731 return 0; |
733 } | 732 } |
734 | 733 |
735 } // namespace WebCore | 734 } // namespace WebCore |
OLD | NEW |