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 643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
654 | 654 |
655 case CSSStyleSheetInsertRuleOptionalArg: | 655 case CSSStyleSheetInsertRuleOptionalArg: |
656 return "Calling CSSStyleSheet.insertRule() with one argument is deprecat
ed. Please pass the index argument as well: insertRule(x, 0)."; | 656 return "Calling CSSStyleSheet.insertRule() with one argument is deprecat
ed. Please pass the index argument as well: insertRule(x, 0)."; |
657 | 657 |
658 case AttributeSpecified: | 658 case AttributeSpecified: |
659 return "Attr.specified is deprecated. Its value is always true."; | 659 return "Attr.specified is deprecated. Its value is always true."; |
660 | 660 |
661 case SVGElementGetPresentationAttribute: | 661 case SVGElementGetPresentationAttribute: |
662 return "CSSValue and SVGElement.getPresentationAttribute are deprecated.
Please use getPropertyValue and parse the return value instead."; | 662 return "CSSValue and SVGElement.getPresentationAttribute are deprecated.
Please use getPropertyValue and parse the return value instead."; |
663 | 663 |
| 664 case PrefixedVideoSupportsFullscreen: |
| 665 return "'HTMLVideoElement.webkitSupportsFullscreen' is deprecated. Its v
alue is true if the video is loaded."; |
| 666 |
| 667 case PrefixedVideoDisplayingFullscreen: |
| 668 return "'HTMLVideoElement.webkitDisplayingFullscreen' is deprecated. Ple
ase use the 'fullscreenchange' and 'webkitfullscreenchange' events instead."; |
| 669 |
| 670 case PrefixedVideoEnterFullscreen: |
| 671 return "'HTMLVideoElement.webkitEnterFullscreen()' is deprecated. Please
use 'Element.requestFullscreen()' and 'Element.webkitRequestFullscreen()' inste
ad."; |
| 672 |
| 673 case PrefixedVideoExitFullscreen: |
| 674 return "'HTMLVideoElement.webkitExitFullscreen()' is deprecated. Please
use 'Document.exitFullscreen()' and 'Document.webkitExitFullscreen()' instead."; |
| 675 |
| 676 case PrefixedVideoEnterFullScreen: |
| 677 return "'HTMLVideoElement.webkitEnterFullScreen()' is deprecated. Please
use 'Element.requestFullscreen()' and 'Element.webkitRequestFullscreen()' inste
ad."; |
| 678 |
| 679 case PrefixedVideoExitFullScreen: |
| 680 return "'HTMLVideoElement.webkitExitFullScreen()' is deprecated. Please
use 'Document.exitFullscreen()' and 'Document.webkitExitFullscreen()' instead."; |
| 681 |
664 case PrefixedMediaSourceOpen: | 682 case PrefixedMediaSourceOpen: |
665 return "'WebKitMediaSource' is deprecated. Please use 'MediaSource' inst
ead."; | 683 return "'WebKitMediaSource' is deprecated. Please use 'MediaSource' inst
ead."; |
666 | 684 |
667 case DOMImplementationCreateCSSStyleSheet: | 685 case DOMImplementationCreateCSSStyleSheet: |
668 return "'DOMImplementation.createCSSStyleSheet()' is deprecated."; | 686 return "'DOMImplementation.createCSSStyleSheet()' is deprecated."; |
669 | 687 |
670 case MediaErrorEncrypted: | 688 case MediaErrorEncrypted: |
671 return "'MediaError.MEDIA_ERR_ENCRYPTED' is deprecated. This error code
is never used."; | 689 return "'MediaError.MEDIA_ERR_ENCRYPTED' is deprecated. This error code
is never used."; |
672 | 690 |
673 case HTMLSourceElementMedia: | 691 case HTMLSourceElementMedia: |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
726 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 744 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
727 { | 745 { |
728 // FIXME: We may want to handle stylesheets that have multiple owners | 746 // FIXME: We may want to handle stylesheets that have multiple owners |
729 // http://crbug.com/242125 | 747 // http://crbug.com/242125 |
730 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 748 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
731 return getFrom(sheetContents->singleOwnerDocument()); | 749 return getFrom(sheetContents->singleOwnerDocument()); |
732 return 0; | 750 return 0; |
733 } | 751 } |
734 | 752 |
735 } // namespace WebCore | 753 } // namespace WebCore |
OLD | NEW |