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

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

Issue 2379923002: Implement "appinstalled" event on Android. (Closed)
Patch Set: Minor refactor. Created 4 years, 2 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 1324 matching lines...) Expand 10 before | Expand all | Expand 10 after
1335 EncryptedMediaCapabilityNotProvided = 1614, 1335 EncryptedMediaCapabilityNotProvided = 1614,
1336 LongTaskObserver = 1615, 1336 LongTaskObserver = 1615,
1337 CSSMotionInEffect = 1616, 1337 CSSMotionInEffect = 1616,
1338 CSSOffsetInEffect = 1617, 1338 CSSOffsetInEffect = 1617,
1339 VRGetDisplaysInsecureOrigin = 1618, 1339 VRGetDisplaysInsecureOrigin = 1618,
1340 VRRequestPresent = 1619, 1340 VRRequestPresent = 1619,
1341 VRRequestPresentInsecureOrigin = 1620, 1341 VRRequestPresentInsecureOrigin = 1620,
1342 VRDeprecatedFieldOfView = 1621, 1342 VRDeprecatedFieldOfView = 1621,
1343 VideoInCanvas = 1622, 1343 VideoInCanvas = 1622,
1344 HiddenAutoplayedVideoInCanvas = 1623, 1344 HiddenAutoplayedVideoInCanvas = 1623,
1345 // The above items are available in M55 branch
1346
1347 AppInstalledEventAddListener = 1624,
1348
1345 // Add new features immediately above this line. Don't change assigned 1349 // Add new features immediately above this line. Don't change assigned
1346 // numbers of any item, and don't reuse removed slots. 1350 // numbers of any item, and don't reuse removed slots.
1347 // Also, run update_use_counter_feature_enum.py in 1351 // Also, run update_use_counter_feature_enum.py in
1348 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. 1352 // chromium/src/tools/metrics/histograms/ to update the UMA mapping.
1349 NumberOfFeatures, // This enum value must be last. 1353 NumberOfFeatures, // This enum value must be last.
1350 }; 1354 };
1351 1355
1352 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 1356 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
1353 static void count(const Frame*, Feature); 1357 static void count(const Frame*, Feature);
1354 static void count(const Document&, Feature); 1358 static void count(const Document&, Feature);
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
1422 // Tracks what features/properties need to be reported to the legacy 1426 // Tracks what features/properties need to be reported to the legacy
1423 // histograms. 1427 // histograms.
1424 BitVector m_featureBits; 1428 BitVector m_featureBits;
1425 BitVector m_CSSBits; 1429 BitVector m_CSSBits;
1426 } m_legacyCounter; 1430 } m_legacyCounter;
1427 }; 1431 };
1428 1432
1429 } // namespace blink 1433 } // namespace blink
1430 1434
1431 #endif // UseCounter_h 1435 #endif // UseCounter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698