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

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

Issue 2778693004: Remove navigator.vibrate without user gesture. (Closed)
Patch Set: Use the Deprecation class for warning 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 1556 matching lines...) Expand 10 before | Expand all | Expand 10 after
1567 kMediaStreamConstraintsGoogHighpassFilter = 1952, 1567 kMediaStreamConstraintsGoogHighpassFilter = 1952,
1568 kMediaStreamConstraintsGoogTypingNoiseDetection = 1953, 1568 kMediaStreamConstraintsGoogTypingNoiseDetection = 1953,
1569 kMediaStreamConstraintsGoogExperimentalNoiseSuppression = 1954, 1569 kMediaStreamConstraintsGoogExperimentalNoiseSuppression = 1954,
1570 kMediaStreamConstraintsGoogBeamforming = 1955, 1570 kMediaStreamConstraintsGoogBeamforming = 1955,
1571 kMediaStreamConstraintsGoogArrayGeometry = 1956, 1571 kMediaStreamConstraintsGoogArrayGeometry = 1956,
1572 kMediaStreamConstraintsGoogAudioMirroring = 1957, 1572 kMediaStreamConstraintsGoogAudioMirroring = 1957,
1573 kMediaStreamConstraintsGoogDAEchoCancellation = 1958, 1573 kMediaStreamConstraintsGoogDAEchoCancellation = 1958,
1574 kMediaStreamConstraintsGoogNoiseReduction = 1959, 1574 kMediaStreamConstraintsGoogNoiseReduction = 1959,
1575 kMediaStreamConstraintsGoogPowerLineFrequency = 1960, 1575 kMediaStreamConstraintsGoogPowerLineFrequency = 1960,
1576 kViewportFixedPositionUnderFilter = 1961, 1576 kViewportFixedPositionUnderFilter = 1961,
1577 kVibrateWithoutUserGesture = 1962,
1577 1578
1578 // Add new features immediately above this line. Don't change assigned 1579 // Add new features immediately above this line. Don't change assigned
1579 // numbers of any item, and don't reuse removed slots. 1580 // numbers of any item, and don't reuse removed slots.
1580 // Also, run update_use_counter_feature_enum.py in 1581 // Also, run update_use_counter_feature_enum.py in
1581 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. 1582 // chromium/src/tools/metrics/histograms/ to update the UMA mapping.
1582 kNumberOfFeatures, // This enum value must be last. 1583 kNumberOfFeatures, // This enum value must be last.
1583 }; 1584 };
1584 1585
1585 // An interface to observe UseCounter changes. Note that this is never 1586 // An interface to observe UseCounter changes. Note that this is never
1586 // notified when the counter is disabled by |m_muteCount| or 1587 // notified when the counter is disabled by |m_muteCount| or
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
1686 // Tracks what features/properties need to be reported to the legacy 1687 // Tracks what features/properties need to be reported to the legacy
1687 // histograms. 1688 // histograms.
1688 BitVector feature_bits_; 1689 BitVector feature_bits_;
1689 BitVector css_bits_; 1690 BitVector css_bits_;
1690 } legacy_counter_; 1691 } legacy_counter_;
1691 }; 1692 };
1692 1693
1693 } // namespace blink 1694 } // namespace blink
1694 1695
1695 #endif // UseCounter_h 1696 #endif // UseCounter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698