| 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 668 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 679 | 679 |
| 680 case PrefixedVideoEnterFullScreen: | 680 case PrefixedVideoEnterFullScreen: |
| 681 return "'HTMLVideoElement.webkitEnterFullScreen()' is deprecated. Please
use 'Element.requestFullscreen()' and 'Element.webkitRequestFullscreen()' inste
ad."; | 681 return "'HTMLVideoElement.webkitEnterFullScreen()' is deprecated. Please
use 'Element.requestFullscreen()' and 'Element.webkitRequestFullscreen()' inste
ad."; |
| 682 | 682 |
| 683 case PrefixedVideoExitFullScreen: | 683 case PrefixedVideoExitFullScreen: |
| 684 return "'HTMLVideoElement.webkitExitFullScreen()' is deprecated. Please
use 'Document.exitFullscreen()' and 'Document.webkitExitFullscreen()' instead."; | 684 return "'HTMLVideoElement.webkitExitFullScreen()' is deprecated. Please
use 'Document.exitFullscreen()' and 'Document.webkitExitFullscreen()' instead."; |
| 685 | 685 |
| 686 case PrefixedMediaSourceOpen: | 686 case PrefixedMediaSourceOpen: |
| 687 return "'WebKitMediaSource' is deprecated. Please use 'MediaSource' inst
ead."; | 687 return "'WebKitMediaSource' is deprecated. Please use 'MediaSource' inst
ead."; |
| 688 | 688 |
| 689 case DOMImplementationCreateCSSStyleSheet: | |
| 690 return "'DOMImplementation.createCSSStyleSheet()' is deprecated."; | |
| 691 | |
| 692 case MediaErrorEncrypted: | 689 case MediaErrorEncrypted: |
| 693 return "'MediaError.MEDIA_ERR_ENCRYPTED' is deprecated. This error code
is never used."; | 690 return "'MediaError.MEDIA_ERR_ENCRYPTED' is deprecated. This error code
is never used."; |
| 694 | 691 |
| 695 case HTMLSourceElementMedia: | 692 case HTMLSourceElementMedia: |
| 696 return "'HTMLSourceElement.media' is deprecated. This attribute doesn't
do anything."; | 693 return "'HTMLSourceElement.media' is deprecated. This attribute doesn't
do anything."; |
| 697 | 694 |
| 698 case PrefixedSpeechAttribute: | 695 case PrefixedSpeechAttribute: |
| 699 return "The 'x-webkit-speech' input field attribute is deprecated. Pleas
e use the JavaScript API instead."; | 696 return "The 'x-webkit-speech' input field attribute is deprecated. Pleas
e use the JavaScript API instead."; |
| 700 | 697 |
| 701 case PrefixedGamepad: | 698 case PrefixedGamepad: |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 751 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 748 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
| 752 { | 749 { |
| 753 // FIXME: We may want to handle stylesheets that have multiple owners | 750 // FIXME: We may want to handle stylesheets that have multiple owners |
| 754 // http://crbug.com/242125 | 751 // http://crbug.com/242125 |
| 755 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 752 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
| 756 return getFrom(sheetContents->singleOwnerDocument()); | 753 return getFrom(sheetContents->singleOwnerDocument()); |
| 757 return 0; | 754 return 0; |
| 758 } | 755 } |
| 759 | 756 |
| 760 } // namespace WebCore | 757 } // namespace WebCore |
| OLD | NEW |