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

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

Issue 196503004: Share Gamepad and WebKitGamepad implementation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Compiles and links Created 6 years, 9 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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 JavascriptExhaustedMemory = 277, 296 JavascriptExhaustedMemory = 277,
297 InsertAdjacentHTML = 278, 297 InsertAdjacentHTML = 278,
298 SVGClassName = 279, 298 SVGClassName = 279,
299 HTMLAppletElement = 280, 299 HTMLAppletElement = 280,
300 HTMLMediaElementSeekToFragmentStart = 281, 300 HTMLMediaElementSeekToFragmentStart = 281,
301 HTMLMediaElementPauseAtFragmentEnd = 282, 301 HTMLMediaElementPauseAtFragmentEnd = 282,
302 PrefixedWindowURL = 283, 302 PrefixedWindowURL = 283,
303 PrefixedWorkerURL = 284, 303 PrefixedWorkerURL = 284,
304 WindowOrientation = 285, 304 WindowOrientation = 285,
305 DOMStringListContains = 286, 305 DOMStringListContains = 286,
306 PrefixedGamepad = 287,
306 // Add new features immediately above this line. Don't change assigned 307 // Add new features immediately above this line. Don't change assigned
307 // numbers of any item, and don't reuse removed slots. 308 // numbers of any item, and don't reuse removed slots.
308 NumberOfFeatures, // This enum value must be last. 309 NumberOfFeatures, // This enum value must be last.
309 }; 310 };
310 311
311 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 312 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
312 static void count(const Document&, Feature); 313 static void count(const Document&, Feature);
313 static void count(const ExecutionContext*, Feature); 314 static void count(const ExecutionContext*, Feature);
314 void count(CSSParserContext, CSSPropertyID); 315 void count(CSSParserContext, CSSPropertyID);
315 void count(Feature); 316 void count(Feature);
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 352
352 void updateMeasurements(); 353 void updateMeasurements();
353 354
354 OwnPtr<BitVector> m_countBits; 355 OwnPtr<BitVector> m_countBits;
355 BitVector m_CSSFeatureBits; 356 BitVector m_CSSFeatureBits;
356 }; 357 };
357 358
358 } // namespace WebCore 359 } // namespace WebCore
359 360
360 #endif // UseCounter_h 361 #endif // UseCounter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698