| 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 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 629 | 629 |
| 630 // Performance | 630 // Performance |
| 631 case PrefixedPerformanceTimeline: | 631 case PrefixedPerformanceTimeline: |
| 632 return "'window.performance.webkitGet*' methods have been deprecated. Pl
ease use the unprefixed 'performance.get*' methods instead."; | 632 return "'window.performance.webkitGet*' methods have been deprecated. Pl
ease use the unprefixed 'performance.get*' methods instead."; |
| 633 case PrefixedUserTiming: | 633 case PrefixedUserTiming: |
| 634 return "'window.performance.webkit*' methods have been deprecated. Pleas
e use the unprefixed 'window.performance.*' methods instead."; | 634 return "'window.performance.webkit*' methods have been deprecated. Pleas
e use the unprefixed 'window.performance.*' methods instead."; |
| 635 | 635 |
| 636 case DocumentClear: | 636 case DocumentClear: |
| 637 return "document.clear() is deprecated. This method doesn't do anything.
"; | 637 return "document.clear() is deprecated. This method doesn't do anything.
"; |
| 638 | 638 |
| 639 case PrefixedTransitionMediaFeature: | |
| 640 return "The '(-webkit-transition)' media query feature is deprecated; pl
ease consider using the more exact conditional \"@supports('(transition-property
: prop_name)')\" instead."; | |
| 641 | |
| 642 // Web Components | 639 // Web Components |
| 643 case HTMLShadowElementOlderShadowRoot: | 640 case HTMLShadowElementOlderShadowRoot: |
| 644 return "HTMLShadowElement.olderShadowRoot is deprecated."; | 641 return "HTMLShadowElement.olderShadowRoot is deprecated."; |
| 645 | 642 |
| 646 // HTML Media Capture | 643 // HTML Media Capture |
| 647 case CaptureAttributeAsEnum: | 644 case CaptureAttributeAsEnum: |
| 648 return "Using the 'capture' attribute as an enum is deprecated. Please u
se it as a boolean and specify the media types that should be accepted in the 'a
ccept' attribute."; | 645 return "Using the 'capture' attribute as an enum is deprecated. Please u
se it as a boolean and specify the media types that should be accepted in the 'a
ccept' attribute."; |
| 649 | 646 |
| 650 // Keyboard Event (DOM Level 3) | 647 // Keyboard Event (DOM Level 3) |
| 651 case KeyboardEventKeyLocation: | 648 case KeyboardEventKeyLocation: |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 728 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 725 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
| 729 { | 726 { |
| 730 // FIXME: We may want to handle stylesheets that have multiple owners | 727 // FIXME: We may want to handle stylesheets that have multiple owners |
| 731 // http://crbug.com/242125 | 728 // http://crbug.com/242125 |
| 732 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 729 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
| 733 return getFrom(sheetContents->singleOwnerDocument()); | 730 return getFrom(sheetContents->singleOwnerDocument()); |
| 734 return 0; | 731 return 0; |
| 735 } | 732 } |
| 736 | 733 |
| 737 } // namespace WebCore | 734 } // namespace WebCore |
| OLD | NEW |