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

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

Issue 2798913002: [Sensors] Stop exposing sensor state (Closed)
Patch Set: Comments from Reilly 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 1500 matching lines...) Expand 10 before | Expand all | Expand 10 after
1511 WebBluetoothRemoteServiceGetCharacteristics = 1895, 1511 WebBluetoothRemoteServiceGetCharacteristics = 1895,
1512 HTMLContentElement = 1896, 1512 HTMLContentElement = 1896,
1513 HTMLShadowElement = 1897, 1513 HTMLShadowElement = 1897,
1514 HTMLSlotElement = 1898, 1514 HTMLSlotElement = 1898,
1515 AccelerometerConstructor = 1899, 1515 AccelerometerConstructor = 1899,
1516 AbsoluteOrientationSensorConstructor = 1900, 1516 AbsoluteOrientationSensorConstructor = 1900,
1517 AmbientLightSensorConstructor = 1901, 1517 AmbientLightSensorConstructor = 1901,
1518 GenericSensorOnActivate = 1902, 1518 GenericSensorOnActivate = 1902,
1519 GenericSensorOnChange = 1903, 1519 GenericSensorOnChange = 1903,
1520 GenericSensorOnError = 1904, 1520 GenericSensorOnError = 1904,
1521 GenericSensorState = 1905, 1521 GenericSensorActivated = 1905,
1522 GyroscopeConstructor = 1906, 1522 GyroscopeConstructor = 1906,
1523 MagnetometerConstructor = 1907, 1523 MagnetometerConstructor = 1907,
1524 OrientationSensorPopulateMatrix = 1908, 1524 OrientationSensorPopulateMatrix = 1908,
1525 WindowOpenWithInvalidURL = 1909, 1525 WindowOpenWithInvalidURL = 1909,
1526 CrossOriginMainFrameNulledNameAccessed = 1910, 1526 CrossOriginMainFrameNulledNameAccessed = 1910,
1527 1527
1528 // Add new features immediately above this line. Don't change assigned 1528 // Add new features immediately above this line. Don't change assigned
1529 // numbers of any item, and don't reuse removed slots. 1529 // numbers of any item, and don't reuse removed slots.
1530 // Also, run update_use_counter_feature_enum.py in 1530 // Also, run update_use_counter_feature_enum.py in
1531 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. 1531 // chromium/src/tools/metrics/histograms/ to update the UMA mapping.
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
1636 // Tracks what features/properties need to be reported to the legacy 1636 // Tracks what features/properties need to be reported to the legacy
1637 // histograms. 1637 // histograms.
1638 BitVector m_featureBits; 1638 BitVector m_featureBits;
1639 BitVector m_CSSBits; 1639 BitVector m_CSSBits;
1640 } m_legacyCounter; 1640 } m_legacyCounter;
1641 }; 1641 };
1642 1642
1643 } // namespace blink 1643 } // namespace blink
1644 1644
1645 #endif // UseCounter_h 1645 #endif // UseCounter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698