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

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

Issue 1153493002: Remove CSSKeyframesRule.insertRule() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tests Created 5 years, 7 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') | 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 * Copyright (C) 2012 Google, Inc. All rights reserved. 2 * Copyright (C) 2012 Google, Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 863 matching lines...) Expand 10 before | Expand all | Expand 10 after
874 case SVGSVGElementUnsuspendRedrawAll: 874 case SVGSVGElementUnsuspendRedrawAll:
875 return "'SVGSVGElement.unsuspendRedrawAll()' is deprecated, please do no t use it. It is a no-op, as per SVG2 (https://svgwg.org/svg2-draft/struct.html#_ _svg__SVGSVGElement__unsuspendRedrawAll)."; 875 return "'SVGSVGElement.unsuspendRedrawAll()' is deprecated, please do no t use it. It is a no-op, as per SVG2 (https://svgwg.org/svg2-draft/struct.html#_ _svg__SVGSVGElement__unsuspendRedrawAll).";
876 876
877 case ServiceWorkerClientPostMessage: 877 case ServiceWorkerClientPostMessage:
878 return "'Client.postMessage()' is an experimental API and may change. Se e https://github.com/slightlyoff/ServiceWorker/issues/609."; 878 return "'Client.postMessage()' is an experimental API and may change. Se e https://github.com/slightlyoff/ServiceWorker/issues/609.";
879 879
880 case AttrChildAccess: 880 case AttrChildAccess:
881 case AttrChildChange: 881 case AttrChildChange:
882 return "Attr child nodes are deprecated and will be removed in M45, arou nd August 2015. Please use 'Attr.value' instead."; 882 return "Attr child nodes are deprecated and will be removed in M45, arou nd August 2015. Please use 'Attr.value' instead.";
883 883
884 case CSSKeyframesRuleInsertRule:
885 return "'CSSKeyframesRule.insertRule()' is deprecated and will be remove d in M45, around August 2015. Please use 'CSSKeyframesRule.appendRule()' instead .";
886
887 // Powerful features on insecure origins (https://goo.gl/rStTGz) 884 // Powerful features on insecure origins (https://goo.gl/rStTGz)
888 case GeolocationInsecureOrigin: 885 case GeolocationInsecureOrigin:
889 return "getCurrentPosition() and watchPosition() are deprecated on insec ure origins, and support will be removed in the future. You should consider swit ching your application to a secure origin, such as HTTPS. See https://goo.gl/rSt TGz for more details."; 886 return "getCurrentPosition() and watchPosition() are deprecated on insec ure origins, and support will be removed in the future. You should consider swit ching your application to a secure origin, such as HTTPS. See https://goo.gl/rSt TGz for more details.";
890 887
891 case GetUserMediaInsecureOrigin: 888 case GetUserMediaInsecureOrigin:
892 return "getUserMedia() is deprecated on insecure origins, and support wi ll be removed in the future. You should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details."; 889 return "getUserMedia() is deprecated on insecure origins, and support wi ll be removed in the future. You should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details.";
893 890
894 case FullscreenInsecureOrigin: 891 case FullscreenInsecureOrigin:
895 return "requestFullscreen() is deprecated on insecure origins, and suppo rt will be removed in the future. You should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details." ; 892 return "requestFullscreen() is deprecated on insecure origins, and suppo rt will be removed in the future. You should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details." ;
896 893
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
943 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 940 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
944 { 941 {
945 // FIXME: We may want to handle stylesheets that have multiple owners 942 // FIXME: We may want to handle stylesheets that have multiple owners
946 // http://crbug.com/242125 943 // http://crbug.com/242125
947 if (sheetContents && sheetContents->hasSingleOwnerNode()) 944 if (sheetContents && sheetContents->hasSingleOwnerNode())
948 return getFrom(sheetContents->singleOwnerDocument()); 945 return getFrom(sheetContents->singleOwnerDocument());
949 return 0; 946 return 0;
950 } 947 }
951 948
952 } // namespace blink 949 } // 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