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

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

Issue 1231533002: Deprecate Element.offsetParent/offsetTop/offsetLeft/offsetWidth/offsetHeight (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added tests Created 5 years, 5 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/dom/Element.idl ('k') | Source/core/frame/UseCounter.cpp » ('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 765 matching lines...) Expand 10 before | Expand all | Expand 10 after
776 V8Console_Memory_AttributeGetter = 877, 776 V8Console_Memory_AttributeGetter = 877,
777 V8Console_Memory_AttributeSetter = 878, 777 V8Console_Memory_AttributeSetter = 878,
778 V8MemoryInfo_TotalJSHeapSize_AttributeGetter = 879, 778 V8MemoryInfo_TotalJSHeapSize_AttributeGetter = 879,
779 V8MemoryInfo_UsedJSHeapSize_AttributeGetter = 880, 779 V8MemoryInfo_UsedJSHeapSize_AttributeGetter = 880,
780 V8MemoryInfo_JSHeapSizeLimit_AttributeGetter = 881, 780 V8MemoryInfo_JSHeapSizeLimit_AttributeGetter = 881,
781 V8Performance_Timing_AttributeGetter = 882, 781 V8Performance_Timing_AttributeGetter = 882,
782 V8Performance_Navigation_AttributeGetter = 883, 782 V8Performance_Navigation_AttributeGetter = 883,
783 V8Performance_Memory_AttributeGetter = 884, 783 V8Performance_Memory_AttributeGetter = 884,
784 V8SharedWorker_WorkerStart_AttributeGetter = 885, 784 V8SharedWorker_WorkerStart_AttributeGetter = 885,
785 HTMLKeygenElement = 886, 785 HTMLKeygenElement = 886,
786 V8SVGElement_OffsetParent_AttributeGetter = 887,
787 V8SVGElement_OffsetTop_AttributeGetter = 888,
788 V8SVGElement_OffsetLeft_AttributeGetter = 889,
789 V8SVGElement_OffsetWidth_AttributeGetter = 890,
790 V8SVGElement_OffsetHeight_AttributeGetter = 891,
786 791
787 // Add new features immediately above this line. Don't change assigned 792 // Add new features immediately above this line. Don't change assigned
788 // numbers of any item, and don't reuse removed slots. 793 // numbers of any item, and don't reuse removed slots.
789 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 794 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
790 // to update the UMA mapping. 795 // to update the UMA mapping.
791 NumberOfFeatures, // This enum value must be last. 796 NumberOfFeatures, // This enum value must be last.
792 }; 797 };
793 798
794 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 799 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
795 static void count(const Frame*, Feature); 800 static void count(const Frame*, Feature);
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
879 884
880 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR ecordedMeasurement(feature); } 885 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR ecordedMeasurement(feature); }
881 886
882 CountBits m_countBits; 887 CountBits m_countBits;
883 BitVector m_CSSFeatureBits; 888 BitVector m_CSSFeatureBits;
884 }; 889 };
885 890
886 } // namespace blink 891 } // namespace blink
887 892
888 #endif // UseCounter_h 893 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « Source/core/dom/Element.idl ('k') | Source/core/frame/UseCounter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698