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

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

Issue 20034002: Add support for KeyboardEvent.location attribute (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 XMLDocument, 139 XMLDocument,
140 XSLProcessingInstruction, 140 XSLProcessingInstruction,
141 XSLTProcessor, 141 XSLTProcessor,
142 SVGSwitchElement, 142 SVGSwitchElement,
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 KeyboardEventKeyLocation,
149 // Add new features immediately above this line. Don't change assigned n umbers of each items. 150 // Add new features immediately above this line. Don't change assigned n umbers of each items.
150 NumberOfFeatures, // This enum value must be last. 151 NumberOfFeatures, // This enum value must be last.
151 }; 152 };
152 153
153 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 154 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
154 static void count(Document*, Feature); 155 static void count(Document*, Feature);
155 static void count(DOMWindow*, Feature); 156 static void count(DOMWindow*, Feature);
156 void count(CSSPropertyID); 157 void count(CSSPropertyID);
157 158
158 // "countDeprecation" sets the bit for this feature to 1, and sends a deprec ation 159 // "countDeprecation" sets the bit for this feature to 1, and sends a deprec ation
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 191
191 void updateMeasurements(); 192 void updateMeasurements();
192 193
193 OwnPtr<BitVector> m_countBits; 194 OwnPtr<BitVector> m_countBits;
194 BitVector m_CSSFeatureBits; 195 BitVector m_CSSFeatureBits;
195 }; 196 };
196 197
197 } // namespace WebCore 198 } // namespace WebCore
198 199
199 #endif // UseCounter_h 200 #endif // UseCounter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698