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

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

Issue 2888283006: CSS: Use count position values with 3 parts (Closed)
Patch Set: rebase Created 3 years, 7 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 1590 matching lines...) Expand 10 before | Expand all | Expand 10 after
1601 kShapeDetection_FaceDetectorConstructor = 1992, 1601 kShapeDetection_FaceDetectorConstructor = 1992,
1602 kShapeDetection_TextDetectorConstructor = 1993, 1602 kShapeDetection_TextDetectorConstructor = 1993,
1603 kCredentialManagerCredentialRequestOptionsOnlyUnmediated = 1994, 1603 kCredentialManagerCredentialRequestOptionsOnlyUnmediated = 1994,
1604 // TODO(aboxhall): Reuse value 1995 when 1604 // TODO(aboxhall): Reuse value 1995 when
1605 // https://codereview.chromium.org/2088453002 is relanded. 1605 // https://codereview.chromium.org/2088453002 is relanded.
1606 kPluginInstanceAccessFromIsolatedWorld = 1996, 1606 kPluginInstanceAccessFromIsolatedWorld = 1996,
1607 kPluginInstanceAccessFromMainWorld = 1997, 1607 kPluginInstanceAccessFromMainWorld = 1997,
1608 kRequestFullscreenForDialogElement = 1998, 1608 kRequestFullscreenForDialogElement = 1998,
1609 kRequestFullscreenForDialogElementInTopLayer = 1999, 1609 kRequestFullscreenForDialogElementInTopLayer = 1999,
1610 kShowModalForElementInFullscreenStack = 2000, 1610 kShowModalForElementInFullscreenStack = 2000,
1611 kThreeValuedPositionBackground = 2001,
1612 kThreeValuedPositionBasicShape = 2002,
1613 kThreeValuedPositionGradient = 2003,
1614 kThreeValuedPositionObjectPosition = 2004,
1615 kThreeValuedPositionPerspectiveOrigin = 2005,
1611 1616
1612 // Add new features immediately above this line. Don't change assigned 1617 // Add new features immediately above this line. Don't change assigned
1613 // numbers of any item, and don't reuse removed slots. 1618 // numbers of any item, and don't reuse removed slots.
1614 // Also, run update_use_counter_feature_enum.py in 1619 // Also, run update_use_counter_feature_enum.py in
1615 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. 1620 // chromium/src/tools/metrics/histograms/ to update the UMA mapping.
1616 kNumberOfFeatures, // This enum value must be last. 1621 kNumberOfFeatures, // This enum value must be last.
1617 }; 1622 };
1618 1623
1619 // An interface to observe UseCounter changes. Note that this is never 1624 // An interface to observe UseCounter changes. Note that this is never
1620 // notified when the counter is disabled by |m_muteCount| or when |m_context| 1625 // notified when the counter is disabled by |m_muteCount| or when |m_context|
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
1718 // Tracks what features/properties need to be reported to the legacy 1723 // Tracks what features/properties need to be reported to the legacy
1719 // histograms. 1724 // histograms.
1720 BitVector feature_bits_; 1725 BitVector feature_bits_;
1721 BitVector css_bits_; 1726 BitVector css_bits_;
1722 } legacy_counter_; 1727 } legacy_counter_;
1723 }; 1728 };
1724 1729
1725 } // namespace blink 1730 } // namespace blink
1726 1731
1727 #endif // UseCounter_h 1732 #endif // UseCounter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698