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

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

Issue 1323073005: Remove Element.offsetParent/offsetTop/offsetLeft/offsetWidth/offsetHeight (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased 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') | 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 924 matching lines...) Expand 10 before | Expand all | Expand 10 after
935 935
936 case MediaStreamLabel: 936 case MediaStreamLabel:
937 return "'MediaStream.label' is deprecated and will be removed in M47, ar ound November 2015. Please use 'MediaStream.id' instead."; 937 return "'MediaStream.label' is deprecated and will be removed in M47, ar ound November 2015. Please use 'MediaStream.id' instead.";
938 938
939 case MediaStreamStop: 939 case MediaStreamStop:
940 return "'MediaStream.stop()' is deprecated and will be removed in M47, a round November 2015. Please use 'MediaStream.active' instead."; 940 return "'MediaStream.stop()' is deprecated and will be removed in M47, a round November 2015. Please use 'MediaStream.active' instead.";
941 941
942 case MediaStreamEnded: 942 case MediaStreamEnded:
943 return "'MediaStream.ended' is deprecated and will be removed in M47, ar ound November 2015. Please use 'MediaStream.active' instead."; 943 return "'MediaStream.ended' is deprecated and will be removed in M47, ar ound November 2015. Please use 'MediaStream.active' instead.";
944 944
945 case ElementOffsetParent:
946 return "'Element.offsetParent' is deprecated and will be removed in M47, around Novemver 2015. The offset* attributes are only standardized and widely s upported for HTML elements.";
947
948 case ElementOffsetTop:
949 return "'Element.offsetTop' is deprecated and will be removed in M47, ar ound Novemver 2015. The offset* attributes are only standardized and widely supp orted for HTML elements.";
950
951 case ElementOffsetLeft:
952 return "'Element.offsetLeft' is deprecated and will be removed in M47, a round Novemver 2015. The offset* attributes are only standardized and widely sup ported for HTML elements.";
953
954 case ElementOffsetWidth:
955 return "'Element.offsetWidth' is deprecated and will be removed in M47, around Novemver 2015. The offset* attributes are only standardized and widely su pported for HTML elements.";
956
957 case ElementOffsetHeight:
958 return "'Element.offsetHeight' is deprecated and will be removed in M47, around Novemver 2015. The offset* attributes are only standardized and widely s upported for HTML elements.";
959
960 case PrefixedPerformanceClearResourceTimings: 945 case PrefixedPerformanceClearResourceTimings:
961 return replacedBy("Performance.webkitClearResourceTimings", "Performance .clearResourceTimings"); 946 return replacedBy("Performance.webkitClearResourceTimings", "Performance .clearResourceTimings");
962 947
963 case PrefixedPerformanceSetResourceTimingBufferSize: 948 case PrefixedPerformanceSetResourceTimingBufferSize:
964 return replacedBy("Performance.webkitSetResourceTimingBufferSize", "Perf ormance.setResourceTimingBufferSize"); 949 return replacedBy("Performance.webkitSetResourceTimingBufferSize", "Perf ormance.setResourceTimingBufferSize");
965 950
966 case PrefixedPerformanceResourceTimingBufferFull: 951 case PrefixedPerformanceResourceTimingBufferFull:
967 return replacedBy("Performance.onwebkitresourcetimingbufferfull", "Perfo rmance.onresourcetimingbufferfull"); 952 return replacedBy("Performance.onwebkitresourcetimingbufferfull", "Perfo rmance.onresourcetimingbufferfull");
968 953
969 case FetchAPIRequestContext: 954 case FetchAPIRequestContext:
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
1012 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 997 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
1013 { 998 {
1014 // FIXME: We may want to handle stylesheets that have multiple owners 999 // FIXME: We may want to handle stylesheets that have multiple owners
1015 // http://crbug.com/242125 1000 // http://crbug.com/242125
1016 if (sheetContents && sheetContents->hasSingleOwnerNode()) 1001 if (sheetContents && sheetContents->hasSingleOwnerNode())
1017 return getFrom(sheetContents->singleOwnerDocument()); 1002 return getFrom(sheetContents->singleOwnerDocument());
1018 return 0; 1003 return 0;
1019 } 1004 }
1020 1005
1021 } // namespace blink 1006 } // 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