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

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

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

Powered by Google App Engine
This is Rietveld 408576698