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 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
653 case KeyboardEventKeyLocation: | 653 case KeyboardEventKeyLocation: |
654 return "'KeyboardEvent.keyLocation' is deprecated. Please use 'KeyboardE
vent.location' instead."; | 654 return "'KeyboardEvent.keyLocation' is deprecated. Please use 'KeyboardE
vent.location' instead."; |
655 | 655 |
656 case ConsoleMarkTimeline: | 656 case ConsoleMarkTimeline: |
657 return "console.markTimeline is deprecated. Please use the console.timeS
tamp instead."; | 657 return "console.markTimeline is deprecated. Please use the console.timeS
tamp instead."; |
658 | 658 |
659 case FileError: | 659 case FileError: |
660 return "FileError is deprecated. Please use the 'name' or 'message' attr
ibutes of DOMError rather than 'code'."; | 660 return "FileError is deprecated. Please use the 'name' or 'message' attr
ibutes of DOMError rather than 'code'."; |
661 | 661 |
662 case ShowModalDialog: | 662 case ShowModalDialog: |
663 return "Chromium is considering deprecating showModalDialog. Please use
window.open and postMessage instead."; | 663 return "showModalDialog is deprecated. Please use window.open and postMe
ssage instead."; |
664 | 664 |
665 case CSSStyleSheetInsertRuleOptionalArg: | 665 case CSSStyleSheetInsertRuleOptionalArg: |
666 return "Calling CSSStyleSheet.insertRule() with one argument is deprecat
ed. Please pass the index argument as well: insertRule(x, 0)."; | 666 return "Calling CSSStyleSheet.insertRule() with one argument is deprecat
ed. Please pass the index argument as well: insertRule(x, 0)."; |
667 | 667 |
668 case PrefixedVideoSupportsFullscreen: | 668 case PrefixedVideoSupportsFullscreen: |
669 return "'HTMLVideoElement.webkitSupportsFullscreen' is deprecated. Its v
alue is true if the video is loaded."; | 669 return "'HTMLVideoElement.webkitSupportsFullscreen' is deprecated. Its v
alue is true if the video is loaded."; |
670 | 670 |
671 case PrefixedVideoDisplayingFullscreen: | 671 case PrefixedVideoDisplayingFullscreen: |
672 return "'HTMLVideoElement.webkitDisplayingFullscreen' is deprecated. Ple
ase use the 'fullscreenchange' and 'webkitfullscreenchange' events instead."; | 672 return "'HTMLVideoElement.webkitDisplayingFullscreen' is deprecated. Ple
ase use the 'fullscreenchange' and 'webkitfullscreenchange' events instead."; |
673 | 673 |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
751 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 751 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
752 { | 752 { |
753 // FIXME: We may want to handle stylesheets that have multiple owners | 753 // FIXME: We may want to handle stylesheets that have multiple owners |
754 // http://crbug.com/242125 | 754 // http://crbug.com/242125 |
755 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 755 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
756 return getFrom(sheetContents->singleOwnerDocument()); | 756 return getFrom(sheetContents->singleOwnerDocument()); |
757 return 0; | 757 return 0; |
758 } | 758 } |
759 | 759 |
760 } // namespace WebCore | 760 } // namespace WebCore |
OLD | NEW |