| 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 646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 TextTrackCueConstructor: | 664 case TextTrackCueConstructor: |
| 665 return "The 'TextTrackCue' constructor is deprecated. Please use 'VTTCue
' instead."; | 665 return "The 'TextTrackCue' constructor is deprecated. Please use 'VTTCue
' instead."; |
| 666 | 666 |
| 667 case PrefixedVideoSupportsFullscreen: | |
| 668 return "'HTMLVideoElement.webkitSupportsFullscreen' is deprecated. Its v
alue is true if the video is loaded."; | |
| 669 | |
| 670 case PrefixedVideoDisplayingFullscreen: | |
| 671 return "'HTMLVideoElement.webkitDisplayingFullscreen' is deprecated. Ple
ase use the 'fullscreenchange' and 'webkitfullscreenchange' events instead."; | |
| 672 | |
| 673 case PrefixedVideoEnterFullscreen: | |
| 674 return "'HTMLVideoElement.webkitEnterFullscreen()' is deprecated. Please
use 'Element.requestFullscreen()' and 'Element.webkitRequestFullscreen()' inste
ad."; | |
| 675 | |
| 676 case PrefixedVideoExitFullscreen: | |
| 677 return "'HTMLVideoElement.webkitExitFullscreen()' is deprecated. Please
use 'Document.exitFullscreen()' and 'Document.webkitExitFullscreen()' instead."; | |
| 678 | |
| 679 case PrefixedVideoEnterFullScreen: | |
| 680 return "'HTMLVideoElement.webkitEnterFullScreen()' is deprecated. Please
use 'Element.requestFullscreen()' and 'Element.webkitRequestFullscreen()' inste
ad."; | |
| 681 | |
| 682 case PrefixedVideoExitFullScreen: | |
| 683 return "'HTMLVideoElement.webkitExitFullScreen()' is deprecated. Please
use 'Document.exitFullscreen()' and 'Document.webkitExitFullscreen()' instead."; | |
| 684 | |
| 685 case PrefixedMediaSourceOpen: | 667 case PrefixedMediaSourceOpen: |
| 686 return "'WebKitMediaSource' is deprecated. Please use 'MediaSource' inst
ead."; | 668 return "'WebKitMediaSource' is deprecated. Please use 'MediaSource' inst
ead."; |
| 687 | 669 |
| 688 case DOMImplementationCreateCSSStyleSheet: | 670 case DOMImplementationCreateCSSStyleSheet: |
| 689 return "'DOMImplementation.createCSSStyleSheet()' is deprecated."; | 671 return "'DOMImplementation.createCSSStyleSheet()' is deprecated."; |
| 690 | 672 |
| 691 case MediaErrorEncrypted: | 673 case MediaErrorEncrypted: |
| 692 return "'MediaError.MEDIA_ERR_ENCRYPTED' is deprecated. This error code
is never used."; | 674 return "'MediaError.MEDIA_ERR_ENCRYPTED' is deprecated. This error code
is never used."; |
| 693 | 675 |
| 694 case HTMLSourceElementMedia: | 676 case HTMLSourceElementMedia: |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 747 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 729 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
| 748 { | 730 { |
| 749 // FIXME: We may want to handle stylesheets that have multiple owners | 731 // FIXME: We may want to handle stylesheets that have multiple owners |
| 750 // http://crbug.com/242125 | 732 // http://crbug.com/242125 |
| 751 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 733 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
| 752 return getFrom(sheetContents->singleOwnerDocument()); | 734 return getFrom(sheetContents->singleOwnerDocument()); |
| 753 return 0; | 735 return 0; |
| 754 } | 736 } |
| 755 | 737 |
| 756 } // namespace WebCore | 738 } // namespace WebCore |
| OLD | NEW |