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

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

Issue 212433004: Add a UseCounter for the webkitallowfullscreen attribute (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 PrefixedCancelRequestAnimationFrame = 305, 324 PrefixedCancelRequestAnimationFrame = 305,
325 NamedNodeMapGetNamedItem = 306, 325 NamedNodeMapGetNamedItem = 306,
326 NamedNodeMapSetNamedItem = 307, 326 NamedNodeMapSetNamedItem = 307,
327 NamedNodeMapRemoveNamedItem = 308, 327 NamedNodeMapRemoveNamedItem = 308,
328 NamedNodeMapItem = 309, 328 NamedNodeMapItem = 309,
329 NamedNodeMapGetNamedItemNS = 310, 329 NamedNodeMapGetNamedItemNS = 310,
330 NamedNodeMapSetNamedItemNS = 311, 330 NamedNodeMapSetNamedItemNS = 311,
331 NamedNodeMapRemoveNamedItemNS = 312, 331 NamedNodeMapRemoveNamedItemNS = 312,
332 OpenWebDatabaseInWorker = 313, 332 OpenWebDatabaseInWorker = 313,
333 OpenWebDatabaseSyncInWorker = 314, 333 OpenWebDatabaseSyncInWorker = 314,
334 PrefixedAllowFullscreenAttribute = 315,
334 // Add new features immediately above this line. Don't change assigned 335 // Add new features immediately above this line. Don't change assigned
335 // numbers of any item, and don't reuse removed slots. 336 // numbers of any item, and don't reuse removed slots.
336 NumberOfFeatures, // This enum value must be last. 337 NumberOfFeatures, // This enum value must be last.
337 }; 338 };
338 339
339 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 340 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
340 static void count(const Document&, Feature); 341 static void count(const Document&, Feature);
341 static void count(const ExecutionContext*, Feature); 342 static void count(const ExecutionContext*, Feature);
342 void count(CSSParserContext, CSSPropertyID); 343 void count(CSSParserContext, CSSPropertyID);
343 void count(Feature); 344 void count(Feature);
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 387
387 void updateMeasurements(); 388 void updateMeasurements();
388 389
389 OwnPtr<BitVector> m_countBits; 390 OwnPtr<BitVector> m_countBits;
390 BitVector m_CSSFeatureBits; 391 BitVector m_CSSFeatureBits;
391 }; 392 };
392 393
393 } // namespace WebCore 394 } // namespace WebCore
394 395
395 #endif // UseCounter_h 396 #endif // UseCounter_h
OLDNEW
« Source/core/dom/FullscreenElementStack.cpp ('K') | « Source/core/dom/FullscreenElementStack.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698