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 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
493 case CSSPropertyIsolation: return 436; | 493 case CSSPropertyIsolation: return 436; |
494 case CSSPropertyObjectPosition: return 437; | 494 case CSSPropertyObjectPosition: return 437; |
495 case CSSPropertyInternalCallback: return 438; | 495 case CSSPropertyInternalCallback: return 438; |
496 case CSSPropertyShapeImageThreshold: return 439; | 496 case CSSPropertyShapeImageThreshold: return 439; |
497 case CSSPropertyColumnFill: return 440; | 497 case CSSPropertyColumnFill: return 440; |
498 case CSSPropertyTextJustify: return 441; | 498 case CSSPropertyTextJustify: return 441; |
499 case CSSPropertyTouchActionDelay: return 442; | 499 case CSSPropertyTouchActionDelay: return 442; |
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; |
| 504 case CSSPropertyTransformOrigin: return 447; |
| 505 case CSSPropertyTransformStyle: return 448; |
| 506 case CSSPropertyPerspective: return 449; |
| 507 case CSSPropertyPerspectiveOrigin: return 450; |
| 508 case CSSPropertyBackfaceVisibility: return 451; |
503 | 509 |
504 // Add new features above this line (don't change the assigned numbers of th
e existing | 510 // Add new features above this line (don't change the assigned numbers of th
e existing |
505 // items) and update maximumCSSSampleId() with the new maximum value. | 511 // items) and update maximumCSSSampleId() with the new maximum value. |
506 | 512 |
507 // Internal properties should not be counted. | 513 // Internal properties should not be counted. |
508 case CSSPropertyInternalMarqueeDirection: | 514 case CSSPropertyInternalMarqueeDirection: |
509 case CSSPropertyInternalMarqueeIncrement: | 515 case CSSPropertyInternalMarqueeIncrement: |
510 case CSSPropertyInternalMarqueeRepetition: | 516 case CSSPropertyInternalMarqueeRepetition: |
511 case CSSPropertyInternalMarqueeSpeed: | 517 case CSSPropertyInternalMarqueeSpeed: |
512 case CSSPropertyInternalMarqueeStyle: | 518 case CSSPropertyInternalMarqueeStyle: |
513 case CSSPropertyInvalid: | 519 case CSSPropertyInvalid: |
514 ASSERT_NOT_REACHED(); | 520 ASSERT_NOT_REACHED(); |
515 return 0; | 521 return 0; |
516 } | 522 } |
517 | 523 |
518 ASSERT_NOT_REACHED(); | 524 ASSERT_NOT_REACHED(); |
519 return 0; | 525 return 0; |
520 } | 526 } |
521 | 527 |
522 static int maximumCSSSampleId() { return 445; } | 528 static int maximumCSSSampleId() { return 451; } |
523 | 529 |
524 void UseCounter::muteForInspector() | 530 void UseCounter::muteForInspector() |
525 { | 531 { |
526 UseCounter::m_muteCount++; | 532 UseCounter::m_muteCount++; |
527 } | 533 } |
528 | 534 |
529 void UseCounter::unmuteForInspector() | 535 void UseCounter::unmuteForInspector() |
530 { | 536 { |
531 UseCounter::m_muteCount--; | 537 UseCounter::m_muteCount--; |
532 } | 538 } |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
735 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 741 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
736 { | 742 { |
737 // FIXME: We may want to handle stylesheets that have multiple owners | 743 // FIXME: We may want to handle stylesheets that have multiple owners |
738 // http://crbug.com/242125 | 744 // http://crbug.com/242125 |
739 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 745 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
740 return getFrom(sheetContents->singleOwnerDocument()); | 746 return getFrom(sheetContents->singleOwnerDocument()); |
741 return 0; | 747 return 0; |
742 } | 748 } |
743 | 749 |
744 } // namespace WebCore | 750 } // namespace WebCore |
OLD | NEW |