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

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

Issue 2721463004: Added use counters for HTML[Embed | Object]Element getter and setter (Closed)
Patch Set: Rebase update 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
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLPlugInElementCustom.cpp ('k') | no next file » | 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 1448 matching lines...) Expand 10 before | Expand all | Expand 10 after
1459 DocumentOrigin = 1828, 1459 DocumentOrigin = 1828,
1460 SubtleCryptoOnlyStrictSecureContextCheckFailed = 1829, 1460 SubtleCryptoOnlyStrictSecureContextCheckFailed = 1829,
1461 Canvas2DFilter = 1830, 1461 Canvas2DFilter = 1830,
1462 Canvas2DImageSmoothingQuality = 1831, 1462 Canvas2DImageSmoothingQuality = 1831,
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,
1470 HTMLObjectElementSetter = 1839,
1471 HTMLEmbedElementGetter = 1840,
1472 HTMLEmbedElementSetter = 1841,
1469 1473
1470 // Add new features immediately above this line. Don't change assigned 1474 // Add new features immediately above this line. Don't change assigned
1471 // numbers of any item, and don't reuse removed slots. 1475 // numbers of any item, and don't reuse removed slots.
1472 // Also, run update_use_counter_feature_enum.py in 1476 // Also, run update_use_counter_feature_enum.py in
1473 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. 1477 // chromium/src/tools/metrics/histograms/ to update the UMA mapping.
1474 NumberOfFeatures, // This enum value must be last. 1478 NumberOfFeatures, // This enum value must be last.
1475 }; 1479 };
1476 1480
1477 // An interface to observe UseCounter changes. Note that this is never 1481 // An interface to observe UseCounter changes. Note that this is never
1478 // notified when the counter is disabled by |m_muteCount| or 1482 // notified when the counter is disabled by |m_muteCount| or
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
1568 // Tracks what features/properties need to be reported to the legacy 1572 // Tracks what features/properties need to be reported to the legacy
1569 // histograms. 1573 // histograms.
1570 BitVector m_featureBits; 1574 BitVector m_featureBits;
1571 BitVector m_CSSBits; 1575 BitVector m_CSSBits;
1572 } m_legacyCounter; 1576 } m_legacyCounter;
1573 }; 1577 };
1574 1578
1575 } // namespace blink 1579 } // namespace blink
1576 1580
1577 #endif // UseCounter_h 1581 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLPlugInElementCustom.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698