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

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

Issue 21263002: Add back captureEvents and releaseEvents (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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
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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 PrefixedDocumentRegister, 143 PrefixedDocumentRegister,
144 HTMLShadowElementOlderShadowRoot, 144 HTMLShadowElementOlderShadowRoot,
145 DocumentAll, 145 DocumentAll,
146 FormElement, 146 FormElement,
147 DemotedFormElement, 147 DemotedFormElement,
148 CaptureAttributeAsEnum, 148 CaptureAttributeAsEnum,
149 ShadowDOMPrefixedPseudo, 149 ShadowDOMPrefixedPseudo,
150 ShadowDOMPrefixedCreateShadowRoot, 150 ShadowDOMPrefixedCreateShadowRoot,
151 ShadowDOMPrefixedShadowRoot, 151 ShadowDOMPrefixedShadowRoot,
152 SVGAnimationElement, 152 SVGAnimationElement,
153 CaptureEvents,
154 ReleaseEvents,
153 // Add new features immediately above this line. Don't change assigned 155 // Add new features immediately above this line. Don't change assigned
154 // numbers of each items, and don't reuse unused slots. 156 // numbers of each items, and don't reuse unused slots.
155 NumberOfFeatures, // This enum value must be last. 157 NumberOfFeatures, // This enum value must be last.
156 }; 158 };
157 159
158 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 160 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
159 static void count(Document*, Feature); 161 static void count(Document*, Feature);
160 static void count(DOMWindow*, Feature); 162 static void count(DOMWindow*, Feature);
161 void count(CSSPropertyID); 163 void count(CSSPropertyID);
162 164
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 199
198 void updateMeasurements(); 200 void updateMeasurements();
199 201
200 OwnPtr<BitVector> m_countBits; 202 OwnPtr<BitVector> m_countBits;
201 BitVector m_CSSFeatureBits; 203 BitVector m_CSSFeatureBits;
202 }; 204 };
203 205
204 } // namespace WebCore 206 } // namespace WebCore
205 207
206 #endif // UseCounter_h 208 #endif // UseCounter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698