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 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
485 case CSSPropertyGridTemplate: return 423; | 485 case CSSPropertyGridTemplate: return 423; |
486 case CSSPropertyAnimation: return 424; | 486 case CSSPropertyAnimation: return 424; |
487 case CSSPropertyAnimationDelay: return 425; | 487 case CSSPropertyAnimationDelay: return 425; |
488 case CSSPropertyAnimationDirection: return 426; | 488 case CSSPropertyAnimationDirection: return 426; |
489 case CSSPropertyAnimationDuration: return 427; | 489 case CSSPropertyAnimationDuration: return 427; |
490 case CSSPropertyAnimationFillMode: return 428; | 490 case CSSPropertyAnimationFillMode: return 428; |
491 case CSSPropertyAnimationIterationCount: return 429; | 491 case CSSPropertyAnimationIterationCount: return 429; |
492 case CSSPropertyAnimationName: return 430; | 492 case CSSPropertyAnimationName: return 430; |
493 case CSSPropertyAnimationPlayState: return 431; | 493 case CSSPropertyAnimationPlayState: return 431; |
494 case CSSPropertyAnimationTimingFunction: return 432; | 494 case CSSPropertyAnimationTimingFunction: return 432; |
| 495 case CSSPropertyPaintOrder: return 433; |
495 | 496 |
496 // Add new features above this line (don't change the assigned numbers of th
e existing | 497 // Add new features above this line (don't change the assigned numbers of th
e existing |
497 // items) and update maximumCSSSampleId() with the new maximum value. | 498 // items) and update maximumCSSSampleId() with the new maximum value. |
498 | 499 |
499 case CSSPropertyInvalid: | 500 case CSSPropertyInvalid: |
500 case CSSPropertyVariable: | 501 case CSSPropertyVariable: |
501 ASSERT_NOT_REACHED(); | 502 ASSERT_NOT_REACHED(); |
502 return 0; | 503 return 0; |
503 } | 504 } |
504 | 505 |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
697 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 698 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
698 { | 699 { |
699 // FIXME: We may want to handle stylesheets that have multiple owners | 700 // FIXME: We may want to handle stylesheets that have multiple owners |
700 // http://crbug.com/242125 | 701 // http://crbug.com/242125 |
701 if (sheetContents && !sheetContents->isUserStyleSheet() && sheetContents->ha
sSingleOwnerNode()) | 702 if (sheetContents && !sheetContents->isUserStyleSheet() && sheetContents->ha
sSingleOwnerNode()) |
702 return getFrom(sheetContents->singleOwnerDocument()); | 703 return getFrom(sheetContents->singleOwnerDocument()); |
703 return 0; | 704 return 0; |
704 } | 705 } |
705 | 706 |
706 } // namespace WebCore | 707 } // namespace WebCore |
OLD | NEW |