Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Side by Side Diff: Source/core/frame/UseCounter.cpp

Issue 140523002: Remove an extra ' in the KeyboardEventKeyLocation deprecation message (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update test Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « LayoutTests/fast/events/constructors/keyboard-event-constructor-expected.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « LayoutTests/fast/events/constructors/keyboard-event-constructor-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698