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

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

Issue 2206843003: Disable navigations in the unload handler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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 1158 matching lines...) Expand 10 before | Expand all | Expand 10 after
1169 UntrustedEventDefaultHandled = 1372, 1169 UntrustedEventDefaultHandled = 1372,
1170 // The following two items (FixedRasterScale*) are unused. 1170 // The following two items (FixedRasterScale*) are unused.
1171 FixedRasterScaleBlurryContent = 1373, 1171 FixedRasterScaleBlurryContent = 1373,
1172 FixedRasterScalePotentialPerformanceRegression = 1374, 1172 FixedRasterScalePotentialPerformanceRegression = 1374,
1173 CSSDeepCombinatorAndShadow = 1375, 1173 CSSDeepCombinatorAndShadow = 1375,
1174 OpacityWithPreserve3DQuirk = 1376, 1174 OpacityWithPreserve3DQuirk = 1376,
1175 CSSSelectorPseudoReadOnly = 1377, 1175 CSSSelectorPseudoReadOnly = 1377,
1176 CSSSelectorPseudoReadWrite = 1378, 1176 CSSSelectorPseudoReadWrite = 1378,
1177 // The above items are available in M52 branch 1177 // The above items are available in M52 branch
1178 1178
1179 UnloadHandler_Navigation = 1379,
1180 TouchStartUserGestureUtilized = 1380, 1179 TouchStartUserGestureUtilized = 1380,
1181 TouchMoveUserGestureUtilized = 1381, 1180 TouchMoveUserGestureUtilized = 1381,
1182 TouchEndDuringScrollUserGestureUtilized = 1382, 1181 TouchEndDuringScrollUserGestureUtilized = 1382,
1183 CSSSelectorPseudoDefined = 1383, 1182 CSSSelectorPseudoDefined = 1383,
1184 RTCPeerConnectionAddIceCandidatePromise = 1384, 1183 RTCPeerConnectionAddIceCandidatePromise = 1384,
1185 RTCPeerConnectionAddIceCandidateLegacy = 1385, 1184 RTCPeerConnectionAddIceCandidateLegacy = 1385,
1186 RTCIceCandidateDefaultSdpMLineIndex = 1386, 1185 RTCIceCandidateDefaultSdpMLineIndex = 1386,
1187 DocumentCreateEventSensorErrorEvent = 1387, 1186 DocumentCreateEventSensorErrorEvent = 1387,
1188 DocumentCreateEventSensorReadingEvent = 1388, 1187 DocumentCreateEventSensorReadingEvent = 1388,
1189 MediaStreamConstraintsOldAndNew = 1389, 1188 MediaStreamConstraintsOldAndNew = 1389,
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
1373 friend class UseCounterTest; 1372 friend class UseCounterTest;
1374 unsigned m_muteCount; 1373 unsigned m_muteCount;
1375 1374
1376 CountBits m_countBits; 1375 CountBits m_countBits;
1377 BitVector m_CSSFeatureBits; 1376 BitVector m_CSSFeatureBits;
1378 }; 1377 };
1379 1378
1380 } // namespace blink 1379 } // namespace blink
1381 1380
1382 #endif // UseCounter_h 1381 #endif // UseCounter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698