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

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

Issue 2088453002: Implement the inert attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dmazzoni comments Created 3 years, 11 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 1423 matching lines...) Expand 10 before | Expand all | Expand 10 after
1434 CSSSelectorInternalMediaControlsTextTrackListItem = 1773, 1434 CSSSelectorInternalMediaControlsTextTrackListItem = 1773,
1435 CSSSelectorInternalMediaControlsTextTrackListItemInput = 1774, 1435 CSSSelectorInternalMediaControlsTextTrackListItemInput = 1774,
1436 CSSSelectorInternalMediaControlsTextTrackListKindCaptions = 1775, 1436 CSSSelectorInternalMediaControlsTextTrackListKindCaptions = 1775,
1437 CSSSelectorInternalMediaControlsTextTrackListKindSubtitles = 1776, 1437 CSSSelectorInternalMediaControlsTextTrackListKindSubtitles = 1776,
1438 ScrollbarUseVerticalScrollbarButton = 1777, 1438 ScrollbarUseVerticalScrollbarButton = 1777,
1439 ScrollbarUseVerticalScrollbarThumb = 1778, 1439 ScrollbarUseVerticalScrollbarThumb = 1778,
1440 ScrollbarUseVerticalScrollbarTrack = 1779, 1440 ScrollbarUseVerticalScrollbarTrack = 1779,
1441 ScrollbarUseHorizontalScrollbarButton = 1780, 1441 ScrollbarUseHorizontalScrollbarButton = 1780,
1442 ScrollbarUseHorizontalScrollbarThumb = 1781, 1442 ScrollbarUseHorizontalScrollbarThumb = 1781,
1443 ScrollbarUseHorizontalScrollbarTrack = 1782, 1443 ScrollbarUseHorizontalScrollbarTrack = 1782,
1444 InertAttribute = 1783,
1444 1445
1445 // Add new features immediately above this line. Don't change assigned 1446 // Add new features immediately above this line. Don't change assigned
1446 // numbers of any item, and don't reuse removed slots. 1447 // numbers of any item, and don't reuse removed slots.
1447 // Also, run update_use_counter_feature_enum.py in 1448 // Also, run update_use_counter_feature_enum.py in
1448 // chromium/src/tools/metrics/histograms/ to update the UMA mapping. 1449 // chromium/src/tools/metrics/histograms/ to update the UMA mapping.
1449 NumberOfFeatures, // This enum value must be last. 1450 NumberOfFeatures, // This enum value must be last.
1450 }; 1451 };
1451 1452
1452 // "count" sets the bit for this feature to 1. Repeated calls are ignored. 1453 // "count" sets the bit for this feature to 1. Repeated calls are ignored.
1453 static void count(const Frame*, Feature); 1454 static void count(const Frame*, Feature);
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
1522 // Tracks what features/properties need to be reported to the legacy 1523 // Tracks what features/properties need to be reported to the legacy
1523 // histograms. 1524 // histograms.
1524 BitVector m_featureBits; 1525 BitVector m_featureBits;
1525 BitVector m_CSSBits; 1526 BitVector m_CSSBits;
1526 } m_legacyCounter; 1527 } m_legacyCounter;
1527 }; 1528 };
1528 1529
1529 } // namespace blink 1530 } // namespace blink
1530 1531
1531 #endif // UseCounter_h 1532 #endif // UseCounter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698