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

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

Issue 693803002: Add a UseCounter for CustomScrollbar (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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
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 528 matching lines...) Expand 10 before | Expand all | Expand 10 after
539 SVGPathSegDOM = 568, 539 SVGPathSegDOM = 568,
540 SVGTransformListConsolidate = 569, 540 SVGTransformListConsolidate = 569,
541 SVGAnimatedTransformListBaseVal = 570, 541 SVGAnimatedTransformListBaseVal = 570,
542 QuotedAnimationName = 571, 542 QuotedAnimationName = 571,
543 QuotedKeyframesRule = 572, 543 QuotedKeyframesRule = 572,
544 SrcsetDroppedCandidate = 573, 544 SrcsetDroppedCandidate = 573,
545 WindowPostMessage = 574, 545 WindowPostMessage = 574,
546 WindowPostMessageWithLegacyTargetOriginArgument = 575, 546 WindowPostMessageWithLegacyTargetOriginArgument = 575,
547 RenderRuby = 576, 547 RenderRuby = 576,
548 CanvasRenderingContext2DCompositeOperationDarker = 577, 548 CanvasRenderingContext2DCompositeOperationDarker = 577,
549 CSSSelectorPseudoScrollbar = 578,
550 CSSSelectorPseudoScrollbarButton = 579,
551 CSSSelectorPseudoScrollbarThumb = 580,
552 CSSSelectorPseudoScrollbarTrack = 581,
553 CSSSelectorPseudoScrollbarTrackPiece = 582,
549 554
550 // Add new features immediately above this line. Don't change assigned 555 // Add new features immediately above this line. Don't change assigned
551 // numbers of any item, and don't reuse removed slots. 556 // numbers of any item, and don't reuse removed slots.
552 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 557 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
553 // to update the UMA mapping. 558 // to update the UMA mapping.
554 NumberOfFeatures, // This enum value must be last. 559 NumberOfFeatures, // This enum value must be last.
555 }; 560 };
556 561
557 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 562 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
558 static void count(const Document&, Feature); 563 static void count(const Document&, Feature);
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
620 625
621 void updateMeasurements(); 626 void updateMeasurements();
622 627
623 OwnPtr<BitVector> m_countBits; 628 OwnPtr<BitVector> m_countBits;
624 BitVector m_CSSFeatureBits; 629 BitVector m_CSSFeatureBits;
625 }; 630 };
626 631
627 } // namespace blink 632 } // namespace blink
628 633
629 #endif // UseCounter_h 634 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/rendering/RenderScrollbarPart.cpp » ('j') | Source/core/rendering/RenderScrollbarPart.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698