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

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

Issue 2860093003: Implement device-ram client hints header (Closed)
Patch Set: Rebase UseCounter.h Created 3 years, 6 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 1603 matching lines...) Expand 10 before | Expand all | Expand 10 after
1614 kUnitlessZeroAngleOffsetRotate = 2009, 1614 kUnitlessZeroAngleOffsetRotate = 2009,
1615 kUnitlessZeroAngleTransform = 2010, 1615 kUnitlessZeroAngleTransform = 2010,
1616 kHTMLOListElementStartGetterReversedWithoutStartAttribute = 2011, 1616 kHTMLOListElementStartGetterReversedWithoutStartAttribute = 2011,
1617 kCredentialManagerPreventSilentAccess = 2012, 1617 kCredentialManagerPreventSilentAccess = 2012,
1618 kNetInfoEffectiveType = 2013, 1618 kNetInfoEffectiveType = 2013,
1619 kV8SpeechRecognition_Start_Method = 2014, 1619 kV8SpeechRecognition_Start_Method = 2014,
1620 kTableRowDirectionDifferentFromTable = 2015, 1620 kTableRowDirectionDifferentFromTable = 2015,
1621 kTableSectionDirectionDifferentFromTable = 2016, 1621 kTableSectionDirectionDifferentFromTable = 2016,
1622 // The above items are available in M60 branch. 1622 // The above items are available in M60 branch.
1623 1623
1624 kClientHintsDeviceRAM = 2017,
1624 // Add new features immediately above this line. Don't change assigned 1625 // Add new features immediately above this line. Don't change assigned
1625 // numbers of any item, and don't reuse removed slots. 1626 // numbers of any item, and don't reuse removed slots.
1626 // Also, run update_use_counter_feature_enum.py in 1627 // Also, run update_use_counter_feature_enum.py in
1627 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. 1628 // chromium/src/tools/metrics/histograms/ to update the UMA mapping.
1628 kNumberOfFeatures, // This enum value must be last. 1629 kNumberOfFeatures, // This enum value must be last.
1629 }; 1630 };
1630 1631
1631 // An interface to observe UseCounter changes. Note that this is never 1632 // An interface to observe UseCounter changes. Note that this is never
1632 // notified when the counter is disabled by |m_muteCount| or when |m_context| 1633 // notified when the counter is disabled by |m_muteCount| or when |m_context|
1633 // is kDisabledContext. 1634 // is kDisabledContext.
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
1730 // Tracks what features/properties need to be reported to the legacy 1731 // Tracks what features/properties need to be reported to the legacy
1731 // histograms. 1732 // histograms.
1732 BitVector feature_bits_; 1733 BitVector feature_bits_;
1733 BitVector css_bits_; 1734 BitVector css_bits_;
1734 } legacy_counter_; 1735 } legacy_counter_;
1735 }; 1736 };
1736 1737
1737 } // namespace blink 1738 } // namespace blink
1738 1739
1739 #endif // UseCounter_h 1740 #endif // UseCounter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698