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

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

Issue 2379923002: Implement "appinstalled" event on Android. (Closed)
Patch Set: Rebase. Created 4 years 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 1365 matching lines...) Expand 10 before | Expand all | Expand 10 after
1376 // The above items are available in M56 branch. 1376 // The above items are available in M56 branch.
1377 1377
1378 CSSFlexibleBox = 1692, 1378 CSSFlexibleBox = 1692,
1379 CSSGridLayout = 1693, 1379 CSSGridLayout = 1693,
1380 V8BarcodeDetector_Detect_Method = 1694, 1380 V8BarcodeDetector_Detect_Method = 1694,
1381 V8FaceDetector_Detect_Method = 1695, 1381 V8FaceDetector_Detect_Method = 1695,
1382 FullscreenAllowedByOrientationChange = 1696, 1382 FullscreenAllowedByOrientationChange = 1696,
1383 ServiceWorkerRespondToNavigationRequestWithRedirectedResponse = 1697, 1383 ServiceWorkerRespondToNavigationRequestWithRedirectedResponse = 1697,
1384 V8AudioContext_Constructor = 1698, 1384 V8AudioContext_Constructor = 1698,
1385 V8OfflineAudioContext_Constructor = 1699, 1385 V8OfflineAudioContext_Constructor = 1699,
1386 AppInstalledEventAddListener = 1700,
1386 1387
1387 // Add new features immediately above this line. Don't change assigned 1388 // Add new features immediately above this line. Don't change assigned
1388 // numbers of any item, and don't reuse removed slots. 1389 // numbers of any item, and don't reuse removed slots.
1389 // Also, run update_use_counter_feature_enum.py in 1390 // Also, run update_use_counter_feature_enum.py in
1390 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. 1391 // chromium/src/tools/metrics/histograms/ to update the UMA mapping.
1391 NumberOfFeatures, // This enum value must be last. 1392 NumberOfFeatures, // This enum value must be last.
1392 }; 1393 };
1393 1394
1394 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 1395 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
1395 static void count(const Frame*, Feature); 1396 static void count(const Frame*, Feature);
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
1454 // Tracks what features/properties need to be reported to the legacy 1455 // Tracks what features/properties need to be reported to the legacy
1455 // histograms. 1456 // histograms.
1456 BitVector m_featureBits; 1457 BitVector m_featureBits;
1457 BitVector m_CSSBits; 1458 BitVector m_CSSBits;
1458 } m_legacyCounter; 1459 } m_legacyCounter;
1459 }; 1460 };
1460 1461
1461 } // namespace blink 1462 } // namespace blink
1462 1463
1463 #endif // UseCounter_h 1464 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/events/EventTypeNames.in ('k') | third_party/WebKit/Source/modules/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698