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

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

Issue 14670019: Add a deprecation warning for document.clear() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Change message slightly Created 7 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/html/HTMLDocument.idl ('k') | Source/core/page/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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 SVGTRefElement, 123 SVGTRefElement,
124 UnprefixedPerformanceTimeline, 124 UnprefixedPerformanceTimeline,
125 PrefixedPerformanceTimeline, 125 PrefixedPerformanceTimeline,
126 UnprefixedUserTiming, 126 UnprefixedUserTiming,
127 PrefixedUserTiming, 127 PrefixedUserTiming,
128 WindowEvent, 128 WindowEvent,
129 ContentSecurityPolicyWithBaseElement, 129 ContentSecurityPolicyWithBaseElement,
130 PrefixedMediaAddKey, 130 PrefixedMediaAddKey,
131 PrefixedMediaGenerateKeyRequest, 131 PrefixedMediaGenerateKeyRequest,
132 WebAudioLooping, 132 WebAudioLooping,
133 DocumentClear,
133 // Add new features above this line. Don't change assigned numbers of ea ch items. 134 // Add new features above this line. Don't change assigned numbers of ea ch items.
134 NumberOfFeatures, // This enum value must be last. 135 NumberOfFeatures, // This enum value must be last.
135 }; 136 };
136 137
137 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 138 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
138 static void count(Document*, Feature); 139 static void count(Document*, Feature);
139 static void count(DOMWindow*, Feature); 140 static void count(DOMWindow*, Feature);
140 141
141 // "countDeprecation" sets the bit for this feature to 1, and sends a deprec ation 142 // "countDeprecation" sets the bit for this feature to 1, and sends a deprec ation
142 // warning to the console. Repeated calls are ignored. 143 // warning to the console. Repeated calls are ignored.
(...skipping 25 matching lines...) Expand all
168 } 169 }
169 170
170 void updateMeasurements(); 171 void updateMeasurements();
171 172
172 OwnPtr<BitVector> m_countBits; 173 OwnPtr<BitVector> m_countBits;
173 }; 174 };
174 175
175 } // namespace WebCore 176 } // namespace WebCore
176 177
177 #endif // UseCounter_h 178 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLDocument.idl ('k') | Source/core/page/UseCounter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698