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

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

Issue 1145233006: Sync the Screen interface with CSSOM View (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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/frame/Screen.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 678 matching lines...) Expand 10 before | Expand all | Expand 10 after
689 V8SVGSVGElement_ScreenPixelToMillimeterX_AttributeGetter = 776, 689 V8SVGSVGElement_ScreenPixelToMillimeterX_AttributeGetter = 776,
690 V8SVGSVGElement_ScreenPixelToMillimeterY_AttributeGetter = 777, 690 V8SVGSVGElement_ScreenPixelToMillimeterY_AttributeGetter = 777,
691 V8SVGSVGElement_GetElementById_Method = 778, 691 V8SVGSVGElement_GetElementById_Method = 778,
692 ElementCreateShadowRootMultiple = 779, 692 ElementCreateShadowRootMultiple = 779,
693 V8MessageChannel_Constructor = 780, 693 V8MessageChannel_Constructor = 780,
694 V8MessagePort_PostMessage_Method = 781, 694 V8MessagePort_PostMessage_Method = 781,
695 V8MessagePort_Start_Method = 782, 695 V8MessagePort_Start_Method = 782,
696 V8MessagePort_Close_Method = 783, 696 V8MessagePort_Close_Method = 783,
697 MessagePortsTransferred = 784, 697 MessagePortsTransferred = 784,
698 CSSKeyframesRuleAnonymousIndexedGetter = 785, 698 CSSKeyframesRuleAnonymousIndexedGetter = 785,
699 V8Screen_AvailLeft_AttributeGetter = 786,
700 V8Screen_AvailTop_AttributeGetter = 787,
699 701
700 // Add new features immediately above this line. Don't change assigned 702 // Add new features immediately above this line. Don't change assigned
701 // numbers of any item, and don't reuse removed slots. 703 // numbers of any item, and don't reuse removed slots.
702 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 704 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
703 // to update the UMA mapping. 705 // to update the UMA mapping.
704 NumberOfFeatures, // This enum value must be last. 706 NumberOfFeatures, // This enum value must be last.
705 }; 707 };
706 708
707 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 709 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
708 static void count(const Frame*, Feature); 710 static void count(const Frame*, Feature);
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
792 794
793 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR ecordedMeasurement(feature); } 795 bool hasRecordedMeasurement(Feature feature) const { return m_countBits.hasR ecordedMeasurement(feature); }
794 796
795 CountBits m_countBits; 797 CountBits m_countBits;
796 BitVector m_CSSFeatureBits; 798 BitVector m_CSSFeatureBits;
797 }; 799 };
798 800
799 } // namespace blink 801 } // namespace blink
800 802
801 #endif // UseCounter_h 803 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « Source/core/frame/Screen.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698