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 612 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
623 case PrefixedMediaGenerateKeyRequest: | 623 case PrefixedMediaGenerateKeyRequest: |
624 return "'HTMLMediaElement.webkitGenerateKeyRequest()' is deprecated. Ple
ase use 'MediaKeys.createSession()' instead."; | 624 return "'HTMLMediaElement.webkitGenerateKeyRequest()' is deprecated. Ple
ase use 'MediaKeys.createSession()' instead."; |
625 | 625 |
626 // Quota | 626 // Quota |
627 case StorageInfo: | 627 case StorageInfo: |
628 return "'window.webkitStorageInfo' is deprecated. Please use 'navigator.
webkitTemporaryStorage' or 'navigator.webkitPersistentStorage' instead."; | 628 return "'window.webkitStorageInfo' is deprecated. Please use 'navigator.
webkitTemporaryStorage' or 'navigator.webkitPersistentStorage' instead."; |
629 | 629 |
630 // Performance | 630 // Performance |
631 case PrefixedPerformanceTimeline: | 631 case PrefixedPerformanceTimeline: |
632 return "'window.performance.webkitGet*' methods have been deprecated. Pl
ease use the unprefixed 'performance.get*' methods instead."; | 632 return "'window.performance.webkitGet*' methods have been deprecated. Pl
ease use the unprefixed 'performance.get*' methods instead."; |
633 case PrefixedUserTiming: | |
634 return "'window.performance.webkit*' methods have been deprecated. Pleas
e use the unprefixed 'window.performance.*' methods instead."; | |
635 | 633 |
636 case DocumentClear: | 634 case DocumentClear: |
637 return "document.clear() is deprecated. This method doesn't do anything.
"; | 635 return "document.clear() is deprecated. This method doesn't do anything.
"; |
638 | 636 |
639 case PrefixedTransitionMediaFeature: | 637 case PrefixedTransitionMediaFeature: |
640 return "The '(-webkit-transition)' media query feature is deprecated; pl
ease consider using the more exact conditional \"@supports('(transition-property
: prop_name)')\" instead."; | 638 return "The '(-webkit-transition)' media query feature is deprecated; pl
ease consider using the more exact conditional \"@supports('(transition-property
: prop_name)')\" instead."; |
641 | 639 |
642 // Web Components | 640 // Web Components |
643 case HTMLShadowElementOlderShadowRoot: | 641 case HTMLShadowElementOlderShadowRoot: |
644 return "HTMLShadowElement.olderShadowRoot is deprecated."; | 642 return "HTMLShadowElement.olderShadowRoot is deprecated."; |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
728 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 726 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
729 { | 727 { |
730 // FIXME: We may want to handle stylesheets that have multiple owners | 728 // FIXME: We may want to handle stylesheets that have multiple owners |
731 // http://crbug.com/242125 | 729 // http://crbug.com/242125 |
732 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 730 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
733 return getFrom(sheetContents->singleOwnerDocument()); | 731 return getFrom(sheetContents->singleOwnerDocument()); |
734 return 0; | 732 return 0; |
735 } | 733 } |
736 | 734 |
737 } // namespace WebCore | 735 } // namespace WebCore |
OLD | NEW |