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

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

Issue 428893002: Add UseCounters for non-standard, internally unused reflected attributes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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/HTMLHtmlElement.idl » ('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 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 ProgressElement = 484, 484 ProgressElement = 484,
485 VideoFullscreenAllowedExemption = 485, 485 VideoFullscreenAllowedExemption = 485,
486 WebKitPoint = 488, 486 WebKitPoint = 488,
487 HTMLPreElementWidth = 489, 487 HTMLPreElementWidth = 489,
488 PrefixedHTMLElementDropzone = 490, 488 PrefixedHTMLElementDropzone = 490,
489 WheelEventWheelDeltaX = 491, 489 WheelEventWheelDeltaX = 491,
490 WheelEventWheelDeltaY = 492, 490 WheelEventWheelDeltaY = 492,
491 WheelEventWheelDelta = 493, 491 WheelEventWheelDelta = 493,
492 SendBeacon = 494, 492 SendBeacon = 494,
493 SendBeaconQuotaExceeded = 495, 493 SendBeaconQuotaExceeded = 495,
494 HTMLHtmlElementVersion = 496,
495 HTMLMetaElementScheme = 497,
496 HTMLObjectElementStandby = 498,
497 HTMLTableCellElementChar = 499,
498 HTMLTableCellElementCharOff = 500,
494 // Add new features immediately above this line. Don't change assigned 499 // Add new features immediately above this line. Don't change assigned
495 // numbers of any item, and don't reuse removed slots. 500 // numbers of any item, and don't reuse removed slots.
496 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 501 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
497 // to update the UMA mapping. 502 // to update the UMA mapping.
498 NumberOfFeatures, // This enum value must be last. 503 NumberOfFeatures, // This enum value must be last.
499 }; 504 };
500 505
501 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 506 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
502 static void count(const Document&, Feature); 507 static void count(const Document&, Feature);
503 // This doesn't count for ExecutionContexts for shared workers and service 508 // This doesn't count for ExecutionContexts for shared workers and service
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
554 559
555 void updateMeasurements(); 560 void updateMeasurements();
556 561
557 OwnPtr<BitVector> m_countBits; 562 OwnPtr<BitVector> m_countBits;
558 BitVector m_CSSFeatureBits; 563 BitVector m_CSSFeatureBits;
559 }; 564 };
560 565
561 } // namespace blink 566 } // namespace blink
562 567
563 #endif // UseCounter_h 568 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/html/HTMLHtmlElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698