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 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
500 case CSSPropertyJustifySelf: return 443; | 500 case CSSPropertyJustifySelf: return 443; |
501 case CSSPropertyScrollBehavior: return 444; | 501 case CSSPropertyScrollBehavior: return 444; |
502 case CSSPropertyWillChange: return 445; | 502 case CSSPropertyWillChange: return 445; |
503 case CSSPropertyTransform: return 446; | 503 case CSSPropertyTransform: return 446; |
504 case CSSPropertyTransformOrigin: return 447; | 504 case CSSPropertyTransformOrigin: return 447; |
505 case CSSPropertyTransformStyle: return 448; | 505 case CSSPropertyTransformStyle: return 448; |
506 case CSSPropertyPerspective: return 449; | 506 case CSSPropertyPerspective: return 449; |
507 case CSSPropertyPerspectiveOrigin: return 450; | 507 case CSSPropertyPerspectiveOrigin: return 450; |
508 case CSSPropertyBackfaceVisibility: return 451; | 508 case CSSPropertyBackfaceVisibility: return 451; |
509 case CSSPropertyGridTemplate: return 452; | 509 case CSSPropertyGridTemplate: return 452; |
510 case CSSPropertyNavDown: return 453; | |
511 case CSSPropertyNavLeft: return 454; | |
512 case CSSPropertyNavRight: return 456; | |
fs
2014/04/14 12:32:01
Why leave out 455?
Krzysztof Olczyk
2014/04/17 13:48:40
Done.
| |
513 case CSSPropertyNavUp: return 457; | |
510 | 514 |
511 // Add new features above this line (don't change the assigned numbers of th e existing | 515 // Add new features above this line (don't change the assigned numbers of th e existing |
512 // items) and update maximumCSSSampleId() with the new maximum value. | 516 // items) and update maximumCSSSampleId() with the new maximum value. |
513 | 517 |
514 // Internal properties should not be counted. | 518 // Internal properties should not be counted. |
515 case CSSPropertyInternalMarqueeDirection: | 519 case CSSPropertyInternalMarqueeDirection: |
516 case CSSPropertyInternalMarqueeIncrement: | 520 case CSSPropertyInternalMarqueeIncrement: |
517 case CSSPropertyInternalMarqueeRepetition: | 521 case CSSPropertyInternalMarqueeRepetition: |
518 case CSSPropertyInternalMarqueeSpeed: | 522 case CSSPropertyInternalMarqueeSpeed: |
519 case CSSPropertyInternalMarqueeStyle: | 523 case CSSPropertyInternalMarqueeStyle: |
520 case CSSPropertyInvalid: | 524 case CSSPropertyInvalid: |
521 ASSERT_NOT_REACHED(); | 525 ASSERT_NOT_REACHED(); |
522 return 0; | 526 return 0; |
523 } | 527 } |
524 | 528 |
525 ASSERT_NOT_REACHED(); | 529 ASSERT_NOT_REACHED(); |
526 return 0; | 530 return 0; |
527 } | 531 } |
528 | 532 |
529 static int maximumCSSSampleId() { return 451; } | 533 static int maximumCSSSampleId() { return 457; } |
530 | 534 |
531 void UseCounter::muteForInspector() | 535 void UseCounter::muteForInspector() |
532 { | 536 { |
533 UseCounter::m_muteCount++; | 537 UseCounter::m_muteCount++; |
534 } | 538 } |
535 | 539 |
536 void UseCounter::unmuteForInspector() | 540 void UseCounter::unmuteForInspector() |
537 { | 541 { |
538 UseCounter::m_muteCount--; | 542 UseCounter::m_muteCount--; |
539 } | 543 } |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
748 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 752 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
749 { | 753 { |
750 // FIXME: We may want to handle stylesheets that have multiple owners | 754 // FIXME: We may want to handle stylesheets that have multiple owners |
751 // http://crbug.com/242125 | 755 // http://crbug.com/242125 |
752 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 756 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
753 return getFrom(sheetContents->singleOwnerDocument()); | 757 return getFrom(sheetContents->singleOwnerDocument()); |
754 return 0; | 758 return 0; |
755 } | 759 } |
756 | 760 |
757 } // namespace WebCore | 761 } // namespace WebCore |
OLD | NEW |