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

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

Issue 1052523005: ServiceWorker: Remove Clients.getAll() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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
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 841 matching lines...) Expand 10 before | Expand all | Expand 10 after
852 852
853 case SVGSVGElementUnsuspendRedraw: 853 case SVGSVGElementUnsuspendRedraw:
854 return "'SVGSVGElement.unsuspendRedraw()' is deprecated, please do not u se it. It is a no-op, as per SVG2 (https://svgwg.org/svg2-draft/struct.html#__sv g__SVGSVGElement__unsuspendRedraw)."; 854 return "'SVGSVGElement.unsuspendRedraw()' is deprecated, please do not u se it. It is a no-op, as per SVG2 (https://svgwg.org/svg2-draft/struct.html#__sv g__SVGSVGElement__unsuspendRedraw).";
855 855
856 case SVGSVGElementUnsuspendRedrawAll: 856 case SVGSVGElementUnsuspendRedrawAll:
857 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)."; 857 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).";
858 858
859 case ServiceWorkerClientPostMessage: 859 case ServiceWorkerClientPostMessage:
860 return "'Client.postMessage()' is an experimental API and may change. Se e https://github.com/slightlyoff/ServiceWorker/issues/609."; 860 return "'Client.postMessage()' is an experimental API and may change. Se e https://github.com/slightlyoff/ServiceWorker/issues/609.";
861 861
862 case ServiceWorkerClientsGetAll:
863 return "'Clients.getAll()' is deprecated and will be removed soon. Pleas e use 'Clients.matchAll()' instead.";
864
865 case AttrChildAccess: 862 case AttrChildAccess:
866 case AttrChildChange: 863 case AttrChildChange:
867 return "Attr child nodes are deprecated and will be removed in M45, arou nd August 2015. Please use 'Attr.value' instead."; 864 return "Attr child nodes are deprecated and will be removed in M45, arou nd August 2015. Please use 'Attr.value' instead.";
868 865
869 case CSSKeyframesRuleInsertRule: 866 case CSSKeyframesRuleInsertRule:
870 return "'CSSKeyframesRule.insertRule()' is deprecated and will be remove d in M45, around August 2015. Please use 'CSSKeyframesRule.appendRule()' instead ."; 867 return "'CSSKeyframesRule.insertRule()' is deprecated and will be remove d in M45, around August 2015. Please use 'CSSKeyframesRule.appendRule()' instead .";
871 868
872 // Features that aren't deprecated don't have a deprecation message. 869 // Features that aren't deprecated don't have a deprecation message.
873 default: 870 default:
874 return String(); 871 return String();
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
909 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 906 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
910 { 907 {
911 // FIXME: We may want to handle stylesheets that have multiple owners 908 // FIXME: We may want to handle stylesheets that have multiple owners
912 // http://crbug.com/242125 909 // http://crbug.com/242125
913 if (sheetContents && sheetContents->hasSingleOwnerNode()) 910 if (sheetContents && sheetContents->hasSingleOwnerNode())
914 return getFrom(sheetContents->singleOwnerDocument()); 911 return getFrom(sheetContents->singleOwnerDocument());
915 return 0; 912 return 0;
916 } 913 }
917 914
918 } // namespace blink 915 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698