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

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

Issue 744363002: Remove NodeIterator.expandEntityReferences / TreeWalker.expandEntityReferences (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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 742 matching lines...) Expand 10 before | Expand all | Expand 10 after
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: 757 case ElementSetAttributeNodeNS:
758 return "'Element.setAttributeNodeNS' is deprecated and has been removed from DOM4 (http://w3.org/tr/dom)."; 758 return "'Element.setAttributeNodeNS' is deprecated and has been removed from DOM4 (http://w3.org/tr/dom).";
759 759
760 case NodeIteratorDetach: 760 case NodeIteratorDetach:
761 return "'NodeIterator.detach' is now a no-op, as per DOM (http://dom.spe c.whatwg.org/#dom-nodeiterator-detach)."; 761 return "'NodeIterator.detach' is now a no-op, as per DOM (http://dom.spe c.whatwg.org/#dom-nodeiterator-detach).";
762 762
763 case NodeIteratorExpandEntityReferences:
764 return "'NodeIterator.expandEntityReferences' is deprecated and has been removed from DOM. It always returns false.";
765
766 case TreeWalkerExpandEntityReferences:
767 return "'TreeWalker.expandEntityReferences' is deprecated and has been r emoved from DOM. It always returns false.";
768
769 case RangeDetach: 763 case RangeDetach:
770 return "'Range.detach' is now a no-op, as per DOM (http://dom.spec.whatw g.org/#dom-range-detach)."; 764 return "'Range.detach' is now a no-op, as per DOM (http://dom.spec.whatw g.org/#dom-range-detach).";
771 765
772 case OverflowChangedEvent: 766 case OverflowChangedEvent:
773 return "The 'overflowchanged' event is deprecated and may be removed. Pl ease do not use it."; 767 return "The 'overflowchanged' event is deprecated and may be removed. Pl ease do not use it.";
774 768
775 case SyncXHRWithCredentials: 769 case SyncXHRWithCredentials:
776 return "Setting 'XMLHttpRequest.withCredentials' for synchronous request s is deprecated."; 770 return "Setting 'XMLHttpRequest.withCredentials' for synchronous request s is deprecated.";
777 771
778 case EventSourceURL: 772 case EventSourceURL:
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
855 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 849 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
856 { 850 {
857 // FIXME: We may want to handle stylesheets that have multiple owners 851 // FIXME: We may want to handle stylesheets that have multiple owners
858 // http://crbug.com/242125 852 // http://crbug.com/242125
859 if (sheetContents && sheetContents->hasSingleOwnerNode()) 853 if (sheetContents && sheetContents->hasSingleOwnerNode())
860 return getFrom(sheetContents->singleOwnerDocument()); 854 return getFrom(sheetContents->singleOwnerDocument());
861 return 0; 855 return 0;
862 } 856 }
863 857
864 } // namespace blink 858 } // 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