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

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

Issue 2614073004: Add UserCounter for Top Navigation in sandbox (Closed)
Patch Set: Fix a compile error. Created 3 years, 11 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 | « third_party/WebKit/Source/core/frame/Frame.cpp ('k') | tools/metrics/histograms/histograms.xml » ('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 1401 matching lines...) Expand 10 before | Expand all | Expand 10 after
1412 ConfirmEngagementLow = 1739, 1412 ConfirmEngagementLow = 1739,
1413 ConfirmEngagementMedium = 1740, 1413 ConfirmEngagementMedium = 1740,
1414 ConfirmEngagementHigh = 1741, 1414 ConfirmEngagementHigh = 1741,
1415 ConfirmEngagementMax = 1742, 1415 ConfirmEngagementMax = 1742,
1416 PromptEngagementNone = 1743, 1416 PromptEngagementNone = 1743,
1417 PromptEngagementMinimal = 1744, 1417 PromptEngagementMinimal = 1744,
1418 PromptEngagementLow = 1745, 1418 PromptEngagementLow = 1745,
1419 PromptEngagementMedium = 1746, 1419 PromptEngagementMedium = 1746,
1420 PromptEngagementHigh = 1747, 1420 PromptEngagementHigh = 1747,
1421 PromptEngagementMax = 1748, 1421 PromptEngagementMax = 1748,
1422 TopNavInSandbox = 1749,
1423 TopNavInSandboxWithoutGesture = 1750,
1424 TopNavInSandboxWithPerm = 1751,
1425 TopNavInSandboxWithPermButNoGesture = 1752,
1422 1426
1423 // Add new features immediately above this line. Don't change assigned 1427 // Add new features immediately above this line. Don't change assigned
1424 // numbers of any item, and don't reuse removed slots. 1428 // numbers of any item, and don't reuse removed slots.
1425 // Also, run update_use_counter_feature_enum.py in 1429 // Also, run update_use_counter_feature_enum.py in
1426 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. 1430 // chromium/src/tools/metrics/histograms/ to update the UMA mapping.
1427 NumberOfFeatures, // This enum value must be last. 1431 NumberOfFeatures, // This enum value must be last.
1428 }; 1432 };
1429 1433
1430 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 1434 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
1431 static void count(const Frame*, Feature); 1435 static void count(const Frame*, Feature);
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
1500 // Tracks what features/properties need to be reported to the legacy 1504 // Tracks what features/properties need to be reported to the legacy
1501 // histograms. 1505 // histograms.
1502 BitVector m_featureBits; 1506 BitVector m_featureBits;
1503 BitVector m_CSSBits; 1507 BitVector m_CSSBits;
1504 } m_legacyCounter; 1508 } m_legacyCounter;
1505 }; 1509 };
1506 1510
1507 } // namespace blink 1511 } // namespace blink
1508 1512
1509 #endif // UseCounter_h 1513 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/Frame.cpp ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698