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