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

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

Issue 2380703002: Adjust use counters for editing and legacy events. (Closed)
Patch Set: Rebase 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 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 TextEncoderConstructor = 429, 340 TextEncoderConstructor = 429,
341 TextEncoderEncode = 430, 341 TextEncoderEncode = 430,
342 TextDecoderConstructor = 431, 342 TextDecoderConstructor = 431,
343 TextDecoderDecode = 432, 343 TextDecoderDecode = 432,
344 FocusInOutEvent = 433, 344 FocusInOutEvent = 433,
345 MouseEventMovementX = 434, 345 MouseEventMovementX = 434,
346 MouseEventMovementY = 435, 346 MouseEventMovementY = 435,
347 DocumentFonts = 440, 347 DocumentFonts = 440,
348 MixedContentFormsSubmitted = 441, 348 MixedContentFormsSubmitted = 441,
349 FormsSubmitted = 442, 349 FormsSubmitted = 442,
350 TextInputEventOnInput = 443,
351 TextInputEventOnTextArea = 444,
352 TextInputEventOnContentEditable = 445,
353 TextInputEventOnNotNode = 446,
354 WebkitBeforeTextInsertedOnInput = 447,
355 WebkitBeforeTextInsertedOnTextArea = 448,
356 WebkitBeforeTextInsertedOnContentEditable = 449,
357 WebkitBeforeTextInsertedOnNotNode = 450,
358 WebkitEditableContentChangedOnInput = 451,
359 WebkitEditableContentChangedOnTextArea = 452,
360 WebkitEditableContentChangedOnContentEditable = 453,
361 WebkitEditableContentChangedOnNotNode = 454,
362 HTMLImports = 455, 350 HTMLImports = 455,
363 ElementCreateShadowRoot = 456, 351 ElementCreateShadowRoot = 456,
364 DocumentRegisterElement = 457, 352 DocumentRegisterElement = 457,
365 EditingAppleInterchangeNewline = 458, 353 EditingAppleInterchangeNewline = 458,
366 EditingAppleConvertedSpace = 459, 354 EditingAppleConvertedSpace = 459,
367 EditingApplePasteAsQuotation = 460, 355 EditingApplePasteAsQuotation = 460,
368 EditingAppleStyleSpanClass = 461, 356 EditingAppleStyleSpanClass = 461,
369 EditingAppleTabSpanClass = 462, 357 EditingAppleTabSpanClass = 462,
370 HTMLImportsAsyncAttribute = 463, 358 HTMLImportsAsyncAttribute = 463,
371 XMLHttpRequestSynchronous = 465, 359 XMLHttpRequestSynchronous = 465,
(...skipping 946 matching lines...) Expand 10 before | Expand all | Expand 10 after
1318 CSSZoomDocument = 1579, 1306 CSSZoomDocument = 1579,
1319 PaymentAddressCareOf = 1580, 1307 PaymentAddressCareOf = 1580,
1320 XSSAuditorBlockedScript = 1581, 1308 XSSAuditorBlockedScript = 1581,
1321 XSSAuditorBlockedEntirePage = 1582, 1309 XSSAuditorBlockedEntirePage = 1582,
1322 XSSAuditorDisabled = 1583, 1310 XSSAuditorDisabled = 1583,
1323 XSSAuditorEnabledFilter = 1584, 1311 XSSAuditorEnabledFilter = 1584,
1324 XSSAuditorEnabledBlock = 1585, 1312 XSSAuditorEnabledBlock = 1585,
1325 XSSAuditorInvalid = 1586, 1313 XSSAuditorInvalid = 1586,
1326 SVGCursorElement = 1587, 1314 SVGCursorElement = 1587,
1327 SVGCursorElementHasClient = 1588, 1315 SVGCursorElementHasClient = 1588,
1316 TextInputEventOnInput = 1589,
1317 TextInputEventOnTextArea = 1590,
1318 TextInputEventOnContentEditable = 1591,
1319 TextInputEventOnNotNode = 1592,
1320 WebkitBeforeTextInsertedOnInput = 1593,
1321 WebkitBeforeTextInsertedOnTextArea = 1594,
1322 WebkitBeforeTextInsertedOnContentEditable = 1595,
1323 WebkitBeforeTextInsertedOnNotNode = 1596,
1324 WebkitEditableContentChangedOnInput = 1597,
1325 WebkitEditableContentChangedOnTextArea = 1598,
1326 WebkitEditableContentChangedOnContentEditable = 1599,
1327 WebkitEditableContentChangedOnNotNode = 1600,
1328 1328
1329 // Add new features immediately above this line. Don't change assigned 1329 // Add new features immediately above this line. Don't change assigned
1330 // numbers of any item, and don't reuse removed slots. 1330 // numbers of any item, and don't reuse removed slots.
1331 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 1331 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
1332 // to update the UMA mapping. 1332 // to update the UMA mapping.
1333 NumberOfFeatures, // This enum value must be last. 1333 NumberOfFeatures, // This enum value must be last.
1334 }; 1334 };
1335 1335
1336 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 1336 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
1337 static void count(const Frame*, Feature); 1337 static void count(const Frame*, Feature);
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
1400 private: 1400 private:
1401 // Tracks what features/properties need to be reported to the legacy his tograms. 1401 // Tracks what features/properties need to be reported to the legacy his tograms.
1402 BitVector m_featureBits; 1402 BitVector m_featureBits;
1403 BitVector m_CSSBits; 1403 BitVector m_CSSBits;
1404 } m_legacyCounter; 1404 } m_legacyCounter;
1405 }; 1405 };
1406 1406
1407 } // namespace blink 1407 } // namespace blink
1408 1408
1409 #endif // UseCounter_h 1409 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/events/EventTarget.cpp ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698