| 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 674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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: | 689 case DOMImplementationCreateCSSStyleSheet: |
| 690 return "'DOMImplementation.createCSSStyleSheet()' is deprecated."; | 690 return "'DOMImplementation.createCSSStyleSheet()' is deprecated."; |
| 691 | 691 |
| 692 case MediaErrorEncrypted: | 692 case MediaErrorEncrypted: |
| 693 return "'MediaError.MEDIA_ERR_ENCRYPTED' is deprecated. This error code
is never used."; | 693 return "'MediaError.MEDIA_ERR_ENCRYPTED' is deprecated. This error code
is never used."; |
| 694 | 694 |
| 695 case HTMLSourceElementMedia: | |
| 696 return "'HTMLSourceElement.media' is deprecated. This attribute doesn't
do anything."; | |
| 697 | |
| 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: |
| 702 return "'navigator.webkitGetGamepads' is deprecated. Please use 'navigat
or.getGamepads' instead."; | 699 return "'navigator.webkitGetGamepads' is deprecated. Please use 'navigat
or.getGamepads' instead."; |
| 703 | 700 |
| 704 case PrefixedRequestAnimationFrame: | 701 case PrefixedRequestAnimationFrame: |
| 705 return "'webkitRequestAnimationFrame' is vendor-specific. Please use the
standard 'requestAnimationFrame' instead."; | 702 return "'webkitRequestAnimationFrame' is vendor-specific. Please use the
standard 'requestAnimationFrame' instead."; |
| 706 | 703 |
| 707 case PrefixedCancelAnimationFrame: | 704 case PrefixedCancelAnimationFrame: |
| (...skipping 43 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 |