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

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

Issue 2547413002: ShapeDetection: add UseCounter entry for detect() methods (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.idl » ('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 1366 matching lines...) Expand 10 before | Expand all | Expand 10 after
1377 ImageCaptureConstructor = 1686, 1377 ImageCaptureConstructor = 1686,
1378 V8Document_RootScroller_AttributeGetter = 1687, 1378 V8Document_RootScroller_AttributeGetter = 1687,
1379 V8Document_RootScroller_AttributeSetter = 1688, 1379 V8Document_RootScroller_AttributeSetter = 1688,
1380 CustomElementRegistryDefine = 1689, 1380 CustomElementRegistryDefine = 1689,
1381 LinkHeaderServiceWorker = 1690, 1381 LinkHeaderServiceWorker = 1690,
1382 CSSShadowPiercingDescendantCombinator = 1691, 1382 CSSShadowPiercingDescendantCombinator = 1691,
1383 // The above items are available in M56 branch. 1383 // The above items are available in M56 branch.
1384 1384
1385 CSSFlexibleBox = 1692, 1385 CSSFlexibleBox = 1692,
1386 CSSGridLayout = 1693, 1386 CSSGridLayout = 1693,
1387 V8BarcodeDetector_Detect_Method = 1694,
1388 V8FaceDetector_Detect_Method = 1695,
1387 1389
1388 // Add new features immediately above this line. Don't change assigned 1390 // Add new features immediately above this line. Don't change assigned
1389 // numbers of any item, and don't reuse removed slots. 1391 // numbers of any item, and don't reuse removed slots.
1390 // Also, run update_use_counter_feature_enum.py in 1392 // Also, run update_use_counter_feature_enum.py in
1391 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. 1393 // chromium/src/tools/metrics/histograms/ to update the UMA mapping.
1392 NumberOfFeatures, // This enum value must be last. 1394 NumberOfFeatures, // This enum value must be last.
1393 }; 1395 };
1394 1396
1395 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 1397 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
1396 static void count(const Frame*, Feature); 1398 static void count(const Frame*, Feature);
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
1465 // Tracks what features/properties need to be reported to the legacy 1467 // Tracks what features/properties need to be reported to the legacy
1466 // histograms. 1468 // histograms.
1467 BitVector m_featureBits; 1469 BitVector m_featureBits;
1468 BitVector m_CSSBits; 1470 BitVector m_CSSBits;
1469 } m_legacyCounter; 1471 } m_legacyCounter;
1470 }; 1472 };
1471 1473
1472 } // namespace blink 1474 } // namespace blink
1473 1475
1474 #endif // UseCounter_h 1476 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/shapedetection/BarcodeDetector.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698