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

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

Issue 750183005: Un-deprecate Element.setAttributeNodeNS() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: test Created 6 years 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 | « Source/core/frame/UseCounter.h ('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 736 matching lines...) Expand 10 before | Expand all | Expand 10 after
747 747
748 case PrefixedRequestAnimationFrame: 748 case PrefixedRequestAnimationFrame:
749 return "'webkitRequestAnimationFrame' is vendor-specific. Please use the standard 'requestAnimationFrame' instead."; 749 return "'webkitRequestAnimationFrame' is vendor-specific. Please use the standard 'requestAnimationFrame' instead.";
750 750
751 case PrefixedCancelAnimationFrame: 751 case PrefixedCancelAnimationFrame:
752 return "'webkitCancelAnimationFrame' is vendor-specific. Please use the standard 'cancelAnimationFrame' instead."; 752 return "'webkitCancelAnimationFrame' is vendor-specific. Please use the standard 'cancelAnimationFrame' instead.";
753 753
754 case PrefixedCancelRequestAnimationFrame: 754 case PrefixedCancelRequestAnimationFrame:
755 return "'webkitCancelRequestAnimationFrame' is vendor-specific. Please u se the standard 'cancelAnimationFrame' instead."; 755 return "'webkitCancelRequestAnimationFrame' is vendor-specific. Please u se the standard 'cancelAnimationFrame' instead.";
756 756
757 case ElementSetAttributeNodeNS:
758 return "'Element.setAttributeNodeNS' is deprecated and has been removed from DOM4 (http://w3.org/tr/dom).";
759
760 case NodeIteratorDetach: 757 case NodeIteratorDetach:
761 return "'NodeIterator.detach' is now a no-op, as per DOM (http://dom.spe c.whatwg.org/#dom-nodeiterator-detach)."; 758 return "'NodeIterator.detach' is now a no-op, as per DOM (http://dom.spe c.whatwg.org/#dom-nodeiterator-detach).";
762 759
763 case RangeDetach: 760 case RangeDetach:
764 return "'Range.detach' is now a no-op, as per DOM (http://dom.spec.whatw g.org/#dom-range-detach)."; 761 return "'Range.detach' is now a no-op, as per DOM (http://dom.spec.whatw g.org/#dom-range-detach).";
765 762
766 case OverflowChangedEvent: 763 case OverflowChangedEvent:
767 return "The 'overflowchanged' event is deprecated and may be removed. Pl ease do not use it."; 764 return "The 'overflowchanged' event is deprecated and may be removed. Pl ease do not use it.";
768 765
769 case SyncXHRWithCredentials: 766 case SyncXHRWithCredentials:
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
846 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 843 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
847 { 844 {
848 // FIXME: We may want to handle stylesheets that have multiple owners 845 // FIXME: We may want to handle stylesheets that have multiple owners
849 // http://crbug.com/242125 846 // http://crbug.com/242125
850 if (sheetContents && sheetContents->hasSingleOwnerNode()) 847 if (sheetContents && sheetContents->hasSingleOwnerNode())
851 return getFrom(sheetContents->singleOwnerDocument()); 848 return getFrom(sheetContents->singleOwnerDocument());
852 return 0; 849 return 0;
853 } 850 }
854 851
855 } // namespace blink 852 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698