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

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

Issue 1362933003: Remove MediaStream label, ended attributes and stop() method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 * 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 899 matching lines...) Expand 10 before | Expand all | Expand 10 after
910 910
911 case PrefixedMouseEventMovementX: 911 case PrefixedMouseEventMovementX:
912 return replacedBy("webkitMovementX", "movementX"); 912 return replacedBy("webkitMovementX", "movementX");
913 913
914 case PrefixedMouseEventMovementY: 914 case PrefixedMouseEventMovementY:
915 return replacedBy("webkitMovementY", "movementY"); 915 return replacedBy("webkitMovementY", "movementY");
916 916
917 case SVGSMILElementInDocument: 917 case SVGSMILElementInDocument:
918 case SVGSMILAnimationInImageRegardlessOfCache: 918 case SVGSMILAnimationInImageRegardlessOfCache:
919 return "SVG's SMIL animations (<animate>, <set>, etc.) are deprecated an d will be removed. Please use CSS animations or Web animations instead."; 919 return "SVG's SMIL animations (<animate>, <set>, etc.) are deprecated an d will be removed. Please use CSS animations or Web animations instead.";
920
921 case MediaStreamLabel:
922 return "'MediaStream.label' is deprecated and will be removed in M47, ar ound November 2015. Please use 'MediaStream.id' instead.";
923
924 case MediaStreamStop:
925 return "'MediaStream.stop()' is deprecated and will be removed in M47, a round November 2015. Please use 'MediaStream.active' instead.";
926
927 case MediaStreamEnded:
928 return "'MediaStream.ended' is deprecated and will be removed in M47, ar ound November 2015. Please use 'MediaStream.active' instead.";
929
930 case PrefixedPerformanceClearResourceTimings: 920 case PrefixedPerformanceClearResourceTimings:
931 return replacedBy("Performance.webkitClearResourceTimings", "Performance .clearResourceTimings"); 921 return replacedBy("Performance.webkitClearResourceTimings", "Performance .clearResourceTimings");
932 922
933 case PrefixedPerformanceSetResourceTimingBufferSize: 923 case PrefixedPerformanceSetResourceTimingBufferSize:
934 return replacedBy("Performance.webkitSetResourceTimingBufferSize", "Perf ormance.setResourceTimingBufferSize"); 924 return replacedBy("Performance.webkitSetResourceTimingBufferSize", "Perf ormance.setResourceTimingBufferSize");
935 925
936 case PrefixedPerformanceResourceTimingBufferFull: 926 case PrefixedPerformanceResourceTimingBufferFull:
937 return replacedBy("Performance.onwebkitresourcetimingbufferfull", "Perfo rmance.onresourcetimingbufferfull"); 927 return replacedBy("Performance.onwebkitresourcetimingbufferfull", "Perfo rmance.onresourcetimingbufferfull");
938 928
939 case FetchAPIRequestContext: 929 case FetchAPIRequestContext:
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
982 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 972 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
983 { 973 {
984 // FIXME: We may want to handle stylesheets that have multiple owners 974 // FIXME: We may want to handle stylesheets that have multiple owners
985 // http://crbug.com/242125 975 // http://crbug.com/242125
986 if (sheetContents && sheetContents->hasSingleOwnerNode()) 976 if (sheetContents && sheetContents->hasSingleOwnerNode())
987 return getFrom(sheetContents->singleOwnerDocument()); 977 return getFrom(sheetContents->singleOwnerDocument());
988 return 0; 978 return 0;
989 } 979 }
990 980
991 } // namespace blink 981 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | third_party/WebKit/Source/modules/mediastream/MediaStream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698