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

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

Issue 2327333003: Add a use counter of css clip of fixed-pos elements. (Closed)
Patch Set: Created 4 years, 3 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 | « no previous file | third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp » ('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 1286 matching lines...) Expand 10 before | Expand all | Expand 10 after
1297 UsbDeviceSelectAlternateInterface = 1526, 1297 UsbDeviceSelectAlternateInterface = 1526,
1298 UsbDeviceControlTransferIn = 1527, 1298 UsbDeviceControlTransferIn = 1527,
1299 UsbDeviceControlTransferOut = 1528, 1299 UsbDeviceControlTransferOut = 1528,
1300 UsbDeviceClearHalt = 1529, 1300 UsbDeviceClearHalt = 1529,
1301 UsbDeviceTransferIn = 1530, 1301 UsbDeviceTransferIn = 1530,
1302 UsbDeviceTransferOut = 1531, 1302 UsbDeviceTransferOut = 1531,
1303 UsbDeviceIsochronousTransferIn = 1532, 1303 UsbDeviceIsochronousTransferIn = 1532,
1304 UsbDeviceIsochronousTransferOut = 1533, 1304 UsbDeviceIsochronousTransferOut = 1533,
1305 UsbDeviceReset = 1534, 1305 UsbDeviceReset = 1534,
1306 1306
1307 ClipCssOfFixedPositionElement = 1552,
1307 // Add new features immediately above this line. Don't change assigned 1308 // Add new features immediately above this line. Don't change assigned
1308 // numbers of any item, and don't reuse removed slots. 1309 // numbers of any item, and don't reuse removed slots.
1309 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/ 1310 // Also, run update_use_counter_feature_enum.py in chromium/src/tools/me trics/histograms/
1310 // to update the UMA mapping. 1311 // to update the UMA mapping.
1311 NumberOfFeatures, // This enum value must be last. 1312 NumberOfFeatures, // This enum value must be last.
1312 }; 1313 };
1313 1314
1314 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 1315 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
1315 static void count(const Frame*, Feature); 1316 static void count(const Frame*, Feature);
1316 static void count(const Document&, Feature); 1317 static void count(const Document&, Feature);
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
1386 friend class UseCounterTest; 1387 friend class UseCounterTest;
1387 unsigned m_muteCount; 1388 unsigned m_muteCount;
1388 1389
1389 CountBits m_countBits; 1390 CountBits m_countBits;
1390 BitVector m_CSSFeatureBits; 1391 BitVector m_CSSFeatureBits;
1391 }; 1392 };
1392 1393
1393 } // namespace blink 1394 } // namespace blink
1394 1395
1395 #endif // UseCounter_h 1396 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698