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

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

Issue 252783002: Make Range.detach() a no-op (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 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/editing/markup.cpp ('k') | Source/core/frame/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 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 PrefixedMutationObserverConstructor = 362, 372 PrefixedMutationObserverConstructor = 362,
373 PrefixedIDBCursorConstructor = 363, 373 PrefixedIDBCursorConstructor = 363,
374 PrefixedIDBDatabaseConstructor = 364, 374 PrefixedIDBDatabaseConstructor = 364,
375 PrefixedIDBFactoryConstructor = 365, 375 PrefixedIDBFactoryConstructor = 365,
376 PrefixedIDBIndexConstructor = 366, 376 PrefixedIDBIndexConstructor = 366,
377 PrefixedIDBKeyRangeConstructor = 367, 377 PrefixedIDBKeyRangeConstructor = 367,
378 PrefixedIDBObjectStoreConstructor = 368, 378 PrefixedIDBObjectStoreConstructor = 368,
379 PrefixedIDBRequestConstructor = 369, 379 PrefixedIDBRequestConstructor = 369,
380 PrefixedIDBTransactionConstructor = 370, 380 PrefixedIDBTransactionConstructor = 370,
381 NotificationPermission = 371, 381 NotificationPermission = 371,
382 RangeDetach = 372,
382 // Add new features immediately above this line. Don't change assigned 383 // Add new features immediately above this line. Don't change assigned
383 // numbers of any item, and don't reuse removed slots. 384 // numbers of any item, and don't reuse removed slots.
384 NumberOfFeatures, // This enum value must be last. 385 NumberOfFeatures, // This enum value must be last.
385 }; 386 };
386 387
387 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 388 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
388 static void count(const Document&, Feature); 389 static void count(const Document&, Feature);
389 static void count(const ExecutionContext*, Feature); 390 static void count(const ExecutionContext*, Feature);
390 void count(CSSParserContext, CSSPropertyID); 391 void count(CSSParserContext, CSSPropertyID);
391 void count(Feature); 392 void count(Feature);
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 435
435 void updateMeasurements(); 436 void updateMeasurements();
436 437
437 OwnPtr<BitVector> m_countBits; 438 OwnPtr<BitVector> m_countBits;
438 BitVector m_CSSFeatureBits; 439 BitVector m_CSSFeatureBits;
439 }; 440 };
440 441
441 } // namespace WebCore 442 } // namespace WebCore
442 443
443 #endif // UseCounter_h 444 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « Source/core/editing/markup.cpp ('k') | Source/core/frame/UseCounter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698