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

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

Issue 2778693004: Remove navigator.vibrate without user gesture. (Closed)
Patch Set: rebase 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 1560 matching lines...) Expand 10 before | Expand all | Expand 10 after
1571 kMediaStreamConstraintsGoogDAEchoCancellation = 1958, 1571 kMediaStreamConstraintsGoogDAEchoCancellation = 1958,
1572 kMediaStreamConstraintsGoogNoiseReduction = 1959, 1572 kMediaStreamConstraintsGoogNoiseReduction = 1959,
1573 kMediaStreamConstraintsGoogPowerLineFrequency = 1960, 1573 kMediaStreamConstraintsGoogPowerLineFrequency = 1960,
1574 // The above items are available in M59 branch. 1574 // The above items are available in M59 branch.
1575 1575
1576 kViewportFixedPositionUnderFilter = 1961, 1576 kViewportFixedPositionUnderFilter = 1961,
1577 kRequestMIDIAccessWithSysExOption = 1962, 1577 kRequestMIDIAccessWithSysExOption = 1962,
1578 kRequestMIDIAccessIframeWithSysExOption = 1963, 1578 kRequestMIDIAccessIframeWithSysExOption = 1963,
1579 kGamepadAxes = 1964, 1579 kGamepadAxes = 1964,
1580 kGamepadButtons = 1965, 1580 kGamepadButtons = 1965,
1581 kVibrateWithoutUserGesture = 1966,
1581 1582
1582 // Add new features immediately above this line. Don't change assigned 1583 // Add new features immediately above this line. Don't change assigned
1583 // numbers of any item, and don't reuse removed slots. 1584 // numbers of any item, and don't reuse removed slots.
1584 // Also, run update_use_counter_feature_enum.py in 1585 // Also, run update_use_counter_feature_enum.py in
1585 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. 1586 // chromium/src/tools/metrics/histograms/ to update the UMA mapping.
1586 kNumberOfFeatures, // This enum value must be last. 1587 kNumberOfFeatures, // This enum value must be last.
1587 }; 1588 };
1588 1589
1589 // An interface to observe UseCounter changes. Note that this is never 1590 // An interface to observe UseCounter changes. Note that this is never
1590 // notified when the counter is disabled by |m_muteCount| or 1591 // notified when the counter is disabled by |m_muteCount| or
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
1690 // Tracks what features/properties need to be reported to the legacy 1691 // Tracks what features/properties need to be reported to the legacy
1691 // histograms. 1692 // histograms.
1692 BitVector feature_bits_; 1693 BitVector feature_bits_;
1693 BitVector css_bits_; 1694 BitVector css_bits_;
1694 } legacy_counter_; 1695 } legacy_counter_;
1695 }; 1696 };
1696 1697
1697 } // namespace blink 1698 } // namespace blink
1698 1699
1699 #endif // UseCounter_h 1700 #endif // UseCounter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698