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

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

Issue 252713004: Make default for deep parameter in importNode false (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase against ToT 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
« no previous file with comments | « Source/core/dom/Document.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 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 RangeDetach = 372,
383 DocumentImportNodeOptionalArgument = 373,
383 // Add new features immediately above this line. Don't change assigned 384 // Add new features immediately above this line. Don't change assigned
384 // numbers of any item, and don't reuse removed slots. 385 // numbers of any item, and don't reuse removed slots.
385 NumberOfFeatures, // This enum value must be last. 386 NumberOfFeatures, // This enum value must be last.
386 }; 387 };
387 388
388 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 389 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
389 static void count(const Document&, Feature); 390 static void count(const Document&, Feature);
390 static void count(const ExecutionContext*, Feature); 391 static void count(const ExecutionContext*, Feature);
391 void count(CSSParserContext, CSSPropertyID); 392 void count(CSSParserContext, CSSPropertyID);
392 void count(Feature); 393 void count(Feature);
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 436
436 void updateMeasurements(); 437 void updateMeasurements();
437 438
438 OwnPtr<BitVector> m_countBits; 439 OwnPtr<BitVector> m_countBits;
439 BitVector m_CSSFeatureBits; 440 BitVector m_CSSFeatureBits;
440 }; 441 };
441 442
442 } // namespace WebCore 443 } // namespace WebCore
443 444
444 #endif // UseCounter_h 445 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/frame/UseCounter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698