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

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

Issue 2894693002: Add UseCounter to measure edits to text fields by security state (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
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1569 matching lines...) Expand 10 before | Expand all | Expand 10 after
1580 kAnchorClickDispatchForNonConnectedNode = 1971, 1580 kAnchorClickDispatchForNonConnectedNode = 1971,
1581 kHTMLParseErrorNestedForm = 1972, 1581 kHTMLParseErrorNestedForm = 1972,
1582 kFontShapingNotDefGlyphObserved = 1973, 1582 kFontShapingNotDefGlyphObserved = 1973,
1583 kPostMessageOutgoingWouldBeBlockedByConnectSrc = 1974, 1583 kPostMessageOutgoingWouldBeBlockedByConnectSrc = 1974,
1584 kPostMessageIncomingWouldBeBlockedByConnectSrc = 1975, 1584 kPostMessageIncomingWouldBeBlockedByConnectSrc = 1975,
1585 kPaymentRequestNetworkNameInSupportedMethods = 1976, 1585 kPaymentRequestNetworkNameInSupportedMethods = 1976,
1586 kCrossOriginPropertyAccess = 1977, 1586 kCrossOriginPropertyAccess = 1977,
1587 kCrossOriginPropertyAccessFromOpener = 1978, 1587 kCrossOriginPropertyAccessFromOpener = 1978,
1588 kCredentialManagerCreate = 1979, 1588 kCredentialManagerCreate = 1979,
1589 kWebDatabaseCreateDropFTS3Table = 1980, 1589 kWebDatabaseCreateDropFTS3Table = 1980,
1590 kFieldEditInSecureContext = 1981,
1591 kFieldEditInNonSecureContext = 1982,
1590 1592
1591 // Add new features immediately above this line. Don't change assigned 1593 // Add new features immediately above this line. Don't change assigned
1592 // numbers of any item, and don't reuse removed slots. 1594 // numbers of any item, and don't reuse removed slots.
1593 // Also, run update_use_counter_feature_enum.py in 1595 // Also, run update_use_counter_feature_enum.py in
1594 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. 1596 // chromium/src/tools/metrics/histograms/ to update the UMA mapping.
1595 kNumberOfFeatures, // This enum value must be last. 1597 kNumberOfFeatures, // This enum value must be last.
1596 }; 1598 };
1597 1599
1598 // An interface to observe UseCounter changes. Note that this is never 1600 // An interface to observe UseCounter changes. Note that this is never
1599 // notified when the counter is disabled by |m_muteCount| or 1601 // notified when the counter is disabled by |m_muteCount| or
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
1699 // Tracks what features/properties need to be reported to the legacy 1701 // Tracks what features/properties need to be reported to the legacy
1700 // histograms. 1702 // histograms.
1701 BitVector feature_bits_; 1703 BitVector feature_bits_;
1702 BitVector css_bits_; 1704 BitVector css_bits_;
1703 } legacy_counter_; 1705 } legacy_counter_;
1704 }; 1706 };
1705 1707
1706 } // namespace blink 1708 } // namespace blink
1707 1709
1708 #endif // UseCounter_h 1710 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698