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

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

Issue 431653003: Add UseCounters for non-standard MouseEvent IDL attributes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/events/MouseEvent.idl ('k') | no next file » | 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 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 WheelEventWheelDeltaY = 492, 482 WheelEventWheelDeltaY = 492,
483 WheelEventWheelDelta = 493, 483 WheelEventWheelDelta = 493,
484 SendBeacon = 494, 484 SendBeacon = 494,
485 SendBeaconQuotaExceeded = 495, 485 SendBeaconQuotaExceeded = 495,
486 HTMLHtmlElementVersion = 496, 486 HTMLHtmlElementVersion = 496,
487 HTMLMetaElementScheme = 497, 487 HTMLMetaElementScheme = 497,
488 HTMLObjectElementStandby = 498, 488 HTMLObjectElementStandby = 498,
489 HTMLTableCellElementChar = 499, 489 HTMLTableCellElementChar = 499,
490 HTMLTableCellElementCharOff = 500, 490 HTMLTableCellElementCharOff = 500,
491 SVGSMILElementInDocument = 501, 491 SVGSMILElementInDocument = 501,
492 MouseEventOffsetX = 502,
493 MouseEventOffsetY = 503,
494 MouseEventX = 504,
495 MouseEventY = 505,
496 MouseEventFromElement = 506,
497 MouseEventToElement = 507,
492 // Add new features immediately above this line. Don't change assigned 498 // Add new features immediately above this line. Don't change assigned
493 // numbers of any item, and don't reuse removed slots. 499 // numbers of any item, and don't reuse removed slots.
494 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 500 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
495 // to update the UMA mapping. 501 // to update the UMA mapping.
496 NumberOfFeatures, // This enum value must be last. 502 NumberOfFeatures, // This enum value must be last.
497 }; 503 };
498 504
499 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 505 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
500 static void count(const Document&, Feature); 506 static void count(const Document&, Feature);
501 // This doesn't count for ExecutionContexts for shared workers and service 507 // This doesn't count for ExecutionContexts for shared workers and service
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 558
553 void updateMeasurements(); 559 void updateMeasurements();
554 560
555 OwnPtr<BitVector> m_countBits; 561 OwnPtr<BitVector> m_countBits;
556 BitVector m_CSSFeatureBits; 562 BitVector m_CSSFeatureBits;
557 }; 563 };
558 564
559 } // namespace blink 565 } // namespace blink
560 566
561 #endif // UseCounter_h 567 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « Source/core/events/MouseEvent.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698