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 661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
672 | 672 |
673 case PrefixedVideoExitFullscreen: | 673 case PrefixedVideoExitFullscreen: |
674 return "'HTMLVideoElement.webkitExitFullscreen()' is deprecated. Please
use 'Document.exitFullscreen()' and 'Document.webkitExitFullscreen()' instead."; | 674 return "'HTMLVideoElement.webkitExitFullscreen()' is deprecated. Please
use 'Document.exitFullscreen()' and 'Document.webkitExitFullscreen()' instead."; |
675 | 675 |
676 case PrefixedVideoEnterFullScreen: | 676 case PrefixedVideoEnterFullScreen: |
677 return "'HTMLVideoElement.webkitEnterFullScreen()' is deprecated. Please
use 'Element.requestFullscreen()' and 'Element.webkitRequestFullscreen()' inste
ad."; | 677 return "'HTMLVideoElement.webkitEnterFullScreen()' is deprecated. Please
use 'Element.requestFullscreen()' and 'Element.webkitRequestFullscreen()' inste
ad."; |
678 | 678 |
679 case PrefixedVideoExitFullScreen: | 679 case PrefixedVideoExitFullScreen: |
680 return "'HTMLVideoElement.webkitExitFullScreen()' is deprecated. Please
use 'Document.exitFullscreen()' and 'Document.webkitExitFullscreen()' instead."; | 680 return "'HTMLVideoElement.webkitExitFullScreen()' is deprecated. Please
use 'Document.exitFullscreen()' and 'Document.webkitExitFullscreen()' instead."; |
681 | 681 |
682 case PrefixedMediaSourceOpen: | |
683 return "'WebKitMediaSource' is deprecated. Please use 'MediaSource' inst
ead."; | |
684 | |
685 case MediaErrorEncrypted: | 682 case MediaErrorEncrypted: |
686 return "'MediaError.MEDIA_ERR_ENCRYPTED' is deprecated. This error code
is never used."; | 683 return "'MediaError.MEDIA_ERR_ENCRYPTED' is deprecated. This error code
is never used."; |
687 | 684 |
688 case PrefixedSpeechAttribute: | 685 case PrefixedSpeechAttribute: |
689 return "The 'x-webkit-speech' input field attribute is deprecated. Pleas
e use the JavaScript API instead."; | 686 return "The 'x-webkit-speech' input field attribute is deprecated. Pleas
e use the JavaScript API instead."; |
690 | 687 |
691 case PrefixedGamepad: | 688 case PrefixedGamepad: |
692 return "'navigator.webkitGetGamepads' is deprecated. Please use 'navigat
or.getGamepads' instead."; | 689 return "'navigator.webkitGetGamepads' is deprecated. Please use 'navigat
or.getGamepads' instead."; |
693 | 690 |
694 case PrefixedRequestAnimationFrame: | 691 case PrefixedRequestAnimationFrame: |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
762 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 759 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
763 { | 760 { |
764 // FIXME: We may want to handle stylesheets that have multiple owners | 761 // FIXME: We may want to handle stylesheets that have multiple owners |
765 // http://crbug.com/242125 | 762 // http://crbug.com/242125 |
766 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 763 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
767 return getFrom(sheetContents->singleOwnerDocument()); | 764 return getFrom(sheetContents->singleOwnerDocument()); |
768 return 0; | 765 return 0; |
769 } | 766 } |
770 | 767 |
771 } // namespace WebCore | 768 } // namespace WebCore |
OLD | NEW |