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

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

Issue 781993002: Add UseCounters for some (now) non-standard CSS APIs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years 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/css/StyleMedia.idl ('k') | Source/core/frame/Window.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 527 matching lines...) Expand 10 before | Expand all | Expand 10 after
538 DOMImplementationHasFeatureReturnFalseInternal = 594, 538 DOMImplementationHasFeatureReturnFalseInternal = 594,
539 MouseEventWhich = 595, 539 MouseEventWhich = 595,
540 UIEventCharCode = 596, 540 UIEventCharCode = 596,
541 UIEventKeyCode = 597, 541 UIEventKeyCode = 597,
542 UIEventWhich = 598, 542 UIEventWhich = 598,
543 TextWholeText = 599, 543 TextWholeText = 599,
544 AttrChildAccess = 600, 544 AttrChildAccess = 600,
545 AttrChildChange = 601, 545 AttrChildChange = 601,
546 DocumentGetOverrideStyle = 602, 546 DocumentGetOverrideStyle = 602,
547 NotificationCloseEvent = 603, 547 NotificationCloseEvent = 603,
548 CSSKeyframesRuleAppendRule = 604,
549 CSSKeyframesRuleInsertRule = 605,
550 StyleMedia = 606,
551 StyleMediaType = 607,
552 StyleMediaMatchMedium = 608,
548 553
549 // Add new features immediately above this line. Don't change assigned 554 // Add new features immediately above this line. Don't change assigned
550 // numbers of any item, and don't reuse removed slots. 555 // numbers of any item, and don't reuse removed slots.
551 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 556 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
552 // to update the UMA mapping. 557 // to update the UMA mapping.
553 NumberOfFeatures, // This enum value must be last. 558 NumberOfFeatures, // This enum value must be last.
554 }; 559 };
555 560
556 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 561 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
557 static void count(const Frame*, Feature); 562 static void count(const Frame*, Feature);
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
621 626
622 void updateMeasurements(); 627 void updateMeasurements();
623 628
624 OwnPtr<BitVector> m_countBits; 629 OwnPtr<BitVector> m_countBits;
625 BitVector m_CSSFeatureBits; 630 BitVector m_CSSFeatureBits;
626 }; 631 };
627 632
628 } // namespace blink 633 } // namespace blink
629 634
630 #endif // UseCounter_h 635 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « Source/core/css/StyleMedia.idl ('k') | Source/core/frame/Window.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698