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

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

Issue 973873002: Remove deprecated URL attribute alias from EventSource interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 5 years, 9 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 | « Source/core/frame/UseCounter.h ('k') | Source/core/page/EventSource.idl » ('j') | 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 743 matching lines...) Expand 10 before | Expand all | Expand 10 after
754 754
755 case RangeDetach: 755 case RangeDetach:
756 return "'Range.detach' is now a no-op, as per DOM (http://dom.spec.whatw g.org/#dom-range-detach)."; 756 return "'Range.detach' is now a no-op, as per DOM (http://dom.spec.whatw g.org/#dom-range-detach).";
757 757
758 case OverflowChangedEvent: 758 case OverflowChangedEvent:
759 return "The 'overflowchanged' event is deprecated and may be removed. Pl ease do not use it."; 759 return "The 'overflowchanged' event is deprecated and may be removed. Pl ease do not use it.";
760 760
761 case SyncXHRWithCredentials: 761 case SyncXHRWithCredentials:
762 return "Setting 'XMLHttpRequest.withCredentials' for synchronous request s is deprecated."; 762 return "Setting 'XMLHttpRequest.withCredentials' for synchronous request s is deprecated.";
763 763
764 case EventSourceURL:
765 return replacedBy("EventSource.URL", "EventSource.url");
766
767 case HTMLTableElementVspace: 764 case HTMLTableElementVspace:
768 return "The 'vspace' attribute on table is deprecated. Please use CSS ma rgin-top and margin-bottom property instead."; 765 return "The 'vspace' attribute on table is deprecated. Please use CSS ma rgin-top and margin-bottom property instead.";
769 766
770 case HTMLTableElementHspace: 767 case HTMLTableElementHspace:
771 return "The 'hspace' attribute on table is deprecated. Please use CSS ma rgin-left and margin-right property instead."; 768 return "The 'hspace' attribute on table is deprecated. Please use CSS ma rgin-left and margin-right property instead.";
772 769
773 case PictureSourceSrc: 770 case PictureSourceSrc:
774 return "<source src> with a <picture> parent is invalid and therefore ig nored. Please use <source srcset> instead."; 771 return "<source src> with a <picture> parent is invalid and therefore ig nored. Please use <source srcset> instead.";
775 772
776 case XHRProgressEventPosition: 773 case XHRProgressEventPosition:
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
902 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 899 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
903 { 900 {
904 // FIXME: We may want to handle stylesheets that have multiple owners 901 // FIXME: We may want to handle stylesheets that have multiple owners
905 // http://crbug.com/242125 902 // http://crbug.com/242125
906 if (sheetContents && sheetContents->hasSingleOwnerNode()) 903 if (sheetContents && sheetContents->hasSingleOwnerNode())
907 return getFrom(sheetContents->singleOwnerDocument()); 904 return getFrom(sheetContents->singleOwnerDocument());
908 return 0; 905 return 0;
909 } 906 }
910 907
911 } // namespace blink 908 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | Source/core/page/EventSource.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698