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 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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; | 395 // case CSSPropertyShapeInside: return 346; |
396 case CSSPropertyShapeOutside: return 347; | 396 case CSSPropertyShapeOutside: return 347; |
397 case CSSPropertyShapeMargin: return 348; | 397 case CSSPropertyShapeMargin: return 348; |
398 case CSSPropertyShapePadding: return 349; | 398 // case CSSPropertyShapePadding: return 349; |
399 case CSSPropertyWebkitWrapFlow: return 350; | 399 case CSSPropertyWebkitWrapFlow: return 350; |
400 case CSSPropertyWebkitWrapThrough: return 351; | 400 case CSSPropertyWebkitWrapThrough: return 351; |
401 // CSSPropertyWebkitWrap was 352. | 401 // CSSPropertyWebkitWrap was 352. |
402 #if defined(ENABLE_TOUCH_EVENTS) && ENABLE_TOUCH_EVENTS | 402 #if defined(ENABLE_TOUCH_EVENTS) && ENABLE_TOUCH_EVENTS |
403 case CSSPropertyWebkitTapHighlightColor: return 353; | 403 case CSSPropertyWebkitTapHighlightColor: return 353; |
404 #endif | 404 #endif |
405 #if defined(ENABLE_DRAGGABLE_REGION) && ENABLE_DRAGGABLE_REGION | 405 #if defined(ENABLE_DRAGGABLE_REGION) && ENABLE_DRAGGABLE_REGION |
406 case CSSPropertyWebkitAppRegion: return 354; | 406 case CSSPropertyWebkitAppRegion: return 354; |
407 #endif | 407 #endif |
408 case CSSPropertyClipPath: return 355; | 408 case CSSPropertyClipPath: return 355; |
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
748 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 748 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
749 { | 749 { |
750 // FIXME: We may want to handle stylesheets that have multiple owners | 750 // FIXME: We may want to handle stylesheets that have multiple owners |
751 // http://crbug.com/242125 | 751 // http://crbug.com/242125 |
752 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 752 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
753 return getFrom(sheetContents->singleOwnerDocument()); | 753 return getFrom(sheetContents->singleOwnerDocument()); |
754 return 0; | 754 return 0; |
755 } | 755 } |
756 | 756 |
757 } // namespace WebCore | 757 } // namespace WebCore |
OLD | NEW |