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

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: rebased to latest 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
« no previous file with comments | « no previous file | Source/core/rendering/RenderScrollbarPart.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 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 QuotedKeyframesRule = 572, 542 QuotedKeyframesRule = 572,
543 SrcsetDroppedCandidate = 573, 543 SrcsetDroppedCandidate = 573,
544 WindowPostMessage = 574, 544 WindowPostMessage = 574,
545 WindowPostMessageWithLegacyTargetOriginArgument = 575, 545 WindowPostMessageWithLegacyTargetOriginArgument = 575,
546 RenderRuby = 576, 546 RenderRuby = 576,
547 CanvasRenderingContext2DCompositeOperationDarker = 577, 547 CanvasRenderingContext2DCompositeOperationDarker = 577,
548 ScriptElementWithInvalidTypeHasSrc = 578, 548 ScriptElementWithInvalidTypeHasSrc = 578,
549 TimelineStart = 579, 549 TimelineStart = 579,
550 ElementBaseURIFromXMLBase = 580, 550 ElementBaseURIFromXMLBase = 580,
551 XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload = 581, 551 XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload = 581,
552 CSSSelectorPseudoScrollbar = 582,
553 CSSSelectorPseudoScrollbarButton = 583,
554 CSSSelectorPseudoScrollbarThumb = 584,
555 CSSSelectorPseudoScrollbarTrack = 585,
556 CSSSelectorPseudoScrollbarTrackPiece = 586,
552 557
553 // Add new features immediately above this line. Don't change assigned 558 // Add new features immediately above this line. Don't change assigned
554 // numbers of any item, and don't reuse removed slots. 559 // numbers of any item, and don't reuse removed slots.
555 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 560 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
556 // to update the UMA mapping. 561 // to update the UMA mapping.
557 NumberOfFeatures, // This enum value must be last. 562 NumberOfFeatures, // This enum value must be last.
558 }; 563 };
559 564
560 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 565 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
561 static void count(const Document&, Feature); 566 static void count(const Document&, Feature);
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
623 628
624 void updateMeasurements(); 629 void updateMeasurements();
625 630
626 OwnPtr<BitVector> m_countBits; 631 OwnPtr<BitVector> m_countBits;
627 BitVector m_CSSFeatureBits; 632 BitVector m_CSSFeatureBits;
628 }; 633 };
629 634
630 } // namespace blink 635 } // namespace blink
631 636
632 #endif // UseCounter_h 637 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/rendering/RenderScrollbarPart.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698