Chromium Code Reviews| 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 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 391 // case CSSPropertyWebkitFlowInto: return 340; | 391 // case CSSPropertyWebkitFlowInto: return 340; |
| 392 // case CSSPropertyWebkitFlowFrom: return 341; | 392 // case CSSPropertyWebkitFlowFrom: return 341; |
| 393 // case CSSPropertyWebkitRegionFragment: return 342; | 393 // case CSSPropertyWebkitRegionFragment: return 342; |
| 394 // case CSSPropertyWebkitRegionBreakAfter: return 343; | 394 // case CSSPropertyWebkitRegionBreakAfter: return 343; |
| 395 // case CSSPropertyWebkitRegionBreakBefore: return 344; | 395 // case CSSPropertyWebkitRegionBreakBefore: return 344; |
| 396 // case CSSPropertyWebkitRegionBreakInside: return 345; | 396 // case CSSPropertyWebkitRegionBreakInside: return 345; |
| 397 // case CSSPropertyShapeInside: return 346; | 397 // case CSSPropertyShapeInside: return 346; |
| 398 case CSSPropertyShapeOutside: return 347; | 398 case CSSPropertyShapeOutside: return 347; |
| 399 case CSSPropertyShapeMargin: return 348; | 399 case CSSPropertyShapeMargin: return 348; |
| 400 // case CSSPropertyShapePadding: return 349; | 400 // case CSSPropertyShapePadding: return 349; |
| 401 case CSSPropertyWebkitWrapFlow: return 350; | |
| 402 case CSSPropertyWebkitWrapThrough: return 351; | |
|
Bem Jones-Bey (adobe)
2014/06/27 18:25:59
Shouldn't these be commented just like the other e
| |
| 403 // CSSPropertyWebkitWrap was 352. | 401 // CSSPropertyWebkitWrap was 352. |
| 404 #if defined(ENABLE_TOUCH_EVENTS) && ENABLE_TOUCH_EVENTS | 402 #if defined(ENABLE_TOUCH_EVENTS) && ENABLE_TOUCH_EVENTS |
| 405 case CSSPropertyWebkitTapHighlightColor: return 353; | 403 case CSSPropertyWebkitTapHighlightColor: return 353; |
| 406 #endif | 404 #endif |
| 407 #if defined(ENABLE_DRAGGABLE_REGION) && ENABLE_DRAGGABLE_REGION | 405 #if defined(ENABLE_DRAGGABLE_REGION) && ENABLE_DRAGGABLE_REGION |
| 408 case CSSPropertyWebkitAppRegion: return 354; | 406 case CSSPropertyWebkitAppRegion: return 354; |
| 409 #endif | 407 #endif |
| 410 case CSSPropertyClipPath: return 355; | 408 case CSSPropertyClipPath: return 355; |
| 411 case CSSPropertyClipRule: return 356; | 409 case CSSPropertyClipRule: return 356; |
| 412 case CSSPropertyMask: return 357; | 410 case CSSPropertyMask: return 357; |
| (...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 789 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 787 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
| 790 { | 788 { |
| 791 // FIXME: We may want to handle stylesheets that have multiple owners | 789 // FIXME: We may want to handle stylesheets that have multiple owners |
| 792 // http://crbug.com/242125 | 790 // http://crbug.com/242125 |
| 793 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 791 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
| 794 return getFrom(sheetContents->singleOwnerDocument()); | 792 return getFrom(sheetContents->singleOwnerDocument()); |
| 795 return 0; | 793 return 0; |
| 796 } | 794 } |
| 797 | 795 |
| 798 } // namespace WebCore | 796 } // namespace WebCore |
| OLD | NEW |