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

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

Issue 2795673002: Added UseCounter for clearing browsing context name on cross-origin name (Closed)
Patch Set: CR changes Created 3 years, 8 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 1508 matching lines...) Expand 10 before | Expand all | Expand 10 after
1519 AccelerometerConstructor = 1899, 1519 AccelerometerConstructor = 1899,
1520 AbsoluteOrientationSensorConstructor = 1900, 1520 AbsoluteOrientationSensorConstructor = 1900,
1521 AmbientLightSensorConstructor = 1901, 1521 AmbientLightSensorConstructor = 1901,
1522 GenericSensorOnActivate = 1902, 1522 GenericSensorOnActivate = 1902,
1523 GenericSensorOnChange = 1903, 1523 GenericSensorOnChange = 1903,
1524 GenericSensorOnError = 1904, 1524 GenericSensorOnError = 1904,
1525 GenericSensorState = 1905, 1525 GenericSensorState = 1905,
1526 GyroscopeConstructor = 1906, 1526 GyroscopeConstructor = 1906,
1527 MagnetometerConstructor = 1907, 1527 MagnetometerConstructor = 1907,
1528 OrientationSensorPopulateMatrix = 1908, 1528 OrientationSensorPopulateMatrix = 1908,
1529 CrossOriginMainFrameNulledNameAccessed = 1909,
1529 1530
1530 // Add new features immediately above this line. Don't change assigned 1531 // Add new features immediately above this line. Don't change assigned
1531 // numbers of any item, and don't reuse removed slots. 1532 // numbers of any item, and don't reuse removed slots.
1532 // Also, run update_use_counter_feature_enum.py in 1533 // Also, run update_use_counter_feature_enum.py in
1533 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. 1534 // chromium/src/tools/metrics/histograms/ to update the UMA mapping.
1534 NumberOfFeatures, // This enum value must be last. 1535 NumberOfFeatures, // This enum value must be last.
1535 }; 1536 };
1536 1537
1537 // An interface to observe UseCounter changes. Note that this is never 1538 // An interface to observe UseCounter changes. Note that this is never
1538 // notified when the counter is disabled by |m_muteCount| or 1539 // notified when the counter is disabled by |m_muteCount| or
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
1638 // Tracks what features/properties need to be reported to the legacy 1639 // Tracks what features/properties need to be reported to the legacy
1639 // histograms. 1640 // histograms.
1640 BitVector m_featureBits; 1641 BitVector m_featureBits;
1641 BitVector m_CSSBits; 1642 BitVector m_CSSBits;
1642 } m_legacyCounter; 1643 } m_legacyCounter;
1643 }; 1644 };
1644 1645
1645 } // namespace blink 1646 } // namespace blink
1646 1647
1647 #endif // UseCounter_h 1648 #endif // UseCounter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698