| 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 635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 646 // Web Components | 646 // Web Components |
| 647 case HTMLShadowElementOlderShadowRoot: | 647 case HTMLShadowElementOlderShadowRoot: |
| 648 return "HTMLShadowElement.olderShadowRoot is deprecated."; | 648 return "HTMLShadowElement.olderShadowRoot is deprecated."; |
| 649 | 649 |
| 650 // HTML Media Capture | 650 // HTML Media Capture |
| 651 case CaptureAttributeAsEnum: | 651 case CaptureAttributeAsEnum: |
| 652 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."; | 652 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."; |
| 653 | 653 |
| 654 // Keyboard Event (DOM Level 3) | 654 // Keyboard Event (DOM Level 3) |
| 655 case KeyboardEventKeyLocation: | 655 case KeyboardEventKeyLocation: |
| 656 return "'KeyboardEvent.keyLocation'' is deprecated. Please use 'Keyboard
Event.location' instead."; | 656 return "'KeyboardEvent.keyLocation' is deprecated. Please use 'KeyboardE
vent.location' instead."; |
| 657 | 657 |
| 658 case CaptureEvents: | 658 case CaptureEvents: |
| 659 return "captureEvents() is deprecated. This method doesn't do anything."
; | 659 return "captureEvents() is deprecated. This method doesn't do anything."
; |
| 660 | 660 |
| 661 case ReleaseEvents: | 661 case ReleaseEvents: |
| 662 return "releaseEvents() is deprecated. This method doesn't do anything."
; | 662 return "releaseEvents() is deprecated. This method doesn't do anything."
; |
| 663 | 663 |
| 664 case ConsoleMarkTimeline: | 664 case ConsoleMarkTimeline: |
| 665 return "console.markTimeline is deprecated. Please use the console.timeS
tamp instead."; | 665 return "console.markTimeline is deprecated. Please use the console.timeS
tamp instead."; |
| 666 | 666 |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 729 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 729 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
| 730 { | 730 { |
| 731 // FIXME: We may want to handle stylesheets that have multiple owners | 731 // FIXME: We may want to handle stylesheets that have multiple owners |
| 732 // http://crbug.com/242125 | 732 // http://crbug.com/242125 |
| 733 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 733 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
| 734 return getFrom(sheetContents->singleOwnerDocument()); | 734 return getFrom(sheetContents->singleOwnerDocument()); |
| 735 return 0; | 735 return 0; |
| 736 } | 736 } |
| 737 | 737 |
| 738 } // namespace WebCore | 738 } // namespace WebCore |
| OLD | NEW |