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: third_party/WebKit/Source/core/frame/UseCounter.h

Issue 2725973003: Add a use-counter for transforms using the reference box on SVG element (Closed)
Patch Set: Rebase; update histograms.xml Created 3 years, 9 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
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 1452 matching lines...) Expand 10 before | Expand all | Expand 10 after
1463 CanvasToBlob = 1832, 1463 CanvasToBlob = 1832,
1464 CanvasToDataURL = 1833, 1464 CanvasToDataURL = 1833,
1465 OffscreenCanvasConvertToBlob = 1834, 1465 OffscreenCanvasConvertToBlob = 1834,
1466 SVGInCanvas2D = 1835, 1466 SVGInCanvas2D = 1835,
1467 SVGInWebGL = 1836, 1467 SVGInWebGL = 1836,
1468 SelectionFuncionsChangeFocus = 1837, 1468 SelectionFuncionsChangeFocus = 1837,
1469 HTMLObjectElementGetter = 1838, 1469 HTMLObjectElementGetter = 1838,
1470 HTMLObjectElementSetter = 1839, 1470 HTMLObjectElementSetter = 1839,
1471 HTMLEmbedElementGetter = 1840, 1471 HTMLEmbedElementGetter = 1840,
1472 HTMLEmbedElementSetter = 1841, 1472 HTMLEmbedElementSetter = 1841,
1473 TransformUsesBoxSizeOnSVG = 1842,
1473 1474
1474 // Add new features immediately above this line. Don't change assigned 1475 // Add new features immediately above this line. Don't change assigned
1475 // numbers of any item, and don't reuse removed slots. 1476 // numbers of any item, and don't reuse removed slots.
1476 // Also, run update_use_counter_feature_enum.py in 1477 // Also, run update_use_counter_feature_enum.py in
1477 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. 1478 // chromium/src/tools/metrics/histograms/ to update the UMA mapping.
1478 NumberOfFeatures, // This enum value must be last. 1479 NumberOfFeatures, // This enum value must be last.
1479 }; 1480 };
1480 1481
1481 // An interface to observe UseCounter changes. Note that this is never 1482 // An interface to observe UseCounter changes. Note that this is never
1482 // notified when the counter is disabled by |m_muteCount| or 1483 // notified when the counter is disabled by |m_muteCount| or
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
1572 // Tracks what features/properties need to be reported to the legacy 1573 // Tracks what features/properties need to be reported to the legacy
1573 // histograms. 1574 // histograms.
1574 BitVector m_featureBits; 1575 BitVector m_featureBits;
1575 BitVector m_CSSBits; 1576 BitVector m_CSSBits;
1576 } m_legacyCounter; 1577 } m_legacyCounter;
1577 }; 1578 };
1578 1579
1579 } // namespace blink 1580 } // namespace blink
1580 1581
1581 #endif // UseCounter_h 1582 #endif // UseCounter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698