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

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

Issue 260713002: Add use counters for the hspace/vspace attributes on <table> (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 | « no previous file | Source/core/html/HTMLTableElement.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 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 DocumentImportNodeOptionalArgument = 373,
384 HTMLTableElementVspace = 374,
385 HTMLTableElementHspace = 375,
384 // Add new features immediately above this line. Don't change assigned 386 // Add new features immediately above this line. Don't change assigned
385 // numbers of any item, and don't reuse removed slots. 387 // numbers of any item, and don't reuse removed slots.
386 NumberOfFeatures, // This enum value must be last. 388 NumberOfFeatures, // This enum value must be last.
387 }; 389 };
388 390
389 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 391 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
390 static void count(const Document&, Feature); 392 static void count(const Document&, Feature);
391 static void count(const ExecutionContext*, Feature); 393 static void count(const ExecutionContext*, Feature);
392 void count(CSSParserContext, CSSPropertyID); 394 void count(CSSParserContext, CSSPropertyID);
393 void count(Feature); 395 void count(Feature);
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 438
437 void updateMeasurements(); 439 void updateMeasurements();
438 440
439 OwnPtr<BitVector> m_countBits; 441 OwnPtr<BitVector> m_countBits;
440 BitVector m_CSSFeatureBits; 442 BitVector m_CSSFeatureBits;
441 }; 443 };
442 444
443 } // namespace WebCore 445 } // namespace WebCore
444 446
445 #endif // UseCounter_h 447 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/html/HTMLTableElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698