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

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

Issue 2682073004: Added a UseCounter for hover:on-demand media query parsing. (Closed)
Patch Set: Created 3 years, 10 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 1435 matching lines...) Expand 10 before | Expand all | Expand 10 after
1446 SelectionAddRangeIntersect = 1786, 1446 SelectionAddRangeIntersect = 1786,
1447 V8MediaSession_Metadata_AttributeGetter = 1788, 1447 V8MediaSession_Metadata_AttributeGetter = 1788,
1448 V8MediaSession_Metadata_AttributeSetter = 1789, 1448 V8MediaSession_Metadata_AttributeSetter = 1789,
1449 V8MediaSession_PlaybackState_AttributeGetter = 1790, 1449 V8MediaSession_PlaybackState_AttributeGetter = 1790,
1450 V8MediaSession_PlaybackState_AttributeSetter = 1791, 1450 V8MediaSession_PlaybackState_AttributeSetter = 1791,
1451 V8MediaSession_SetActionHandler_Method = 1792, 1451 V8MediaSession_SetActionHandler_Method = 1792,
1452 AudioParamCancelAndHoldAtTime = 1797, 1452 AudioParamCancelAndHoldAtTime = 1797,
1453 CSSValueUserModifyReadOnly = 1798, 1453 CSSValueUserModifyReadOnly = 1798,
1454 CSSValueUserModifyReadWrite = 1799, 1454 CSSValueUserModifyReadWrite = 1799,
1455 CSSValueUserModifyReadWritePlaintextOnly = 1800, 1455 CSSValueUserModifyReadWritePlaintextOnly = 1800,
1456 CSSValueOnDemand = 1802,
1456 1457
1457 // Add new features immediately above this line. Don't change assigned 1458 // Add new features immediately above this line. Don't change assigned
1458 // numbers of any item, and don't reuse removed slots. 1459 // numbers of any item, and don't reuse removed slots.
1459 // Also, run update_use_counter_feature_enum.py in 1460 // Also, run update_use_counter_feature_enum.py in
1460 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. 1461 // chromium/src/tools/metrics/histograms/ to update the UMA mapping.
1461 NumberOfFeatures, // This enum value must be last. 1462 NumberOfFeatures, // This enum value must be last.
1462 }; 1463 };
1463 1464
1464 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 1465 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
1465 static void count(const Frame*, Feature); 1466 static void count(const Frame*, Feature);
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
1534 // Tracks what features/properties need to be reported to the legacy 1535 // Tracks what features/properties need to be reported to the legacy
1535 // histograms. 1536 // histograms.
1536 BitVector m_featureBits; 1537 BitVector m_featureBits;
1537 BitVector m_CSSBits; 1538 BitVector m_CSSBits;
1538 } m_legacyCounter; 1539 } m_legacyCounter;
1539 }; 1540 };
1540 1541
1541 } // namespace blink 1542 } // namespace blink
1542 1543
1543 #endif // UseCounter_h 1544 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698