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

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: testharness.js 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
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 1131 matching lines...) Expand 10 before | Expand all | Expand 10 after
1142 DurableStoragePersist = 1369, 1142 DurableStoragePersist = 1369,
1143 DurableStoragePersisted = 1370, 1143 DurableStoragePersisted = 1370,
1144 DurableStorageEstimate = 1371, 1144 DurableStorageEstimate = 1371,
1145 UntrustedEventDefaultHandled = 1372, 1145 UntrustedEventDefaultHandled = 1372,
1146 CSSDeepCombinatorAndShadow = 1375, 1146 CSSDeepCombinatorAndShadow = 1375,
1147 OpacityWithPreserve3DQuirk = 1376, 1147 OpacityWithPreserve3DQuirk = 1376,
1148 CSSSelectorPseudoReadOnly = 1377, 1148 CSSSelectorPseudoReadOnly = 1377,
1149 CSSSelectorPseudoReadWrite = 1378, 1149 CSSSelectorPseudoReadWrite = 1378,
1150 // The above items are available in M52 branch 1150 // The above items are available in M52 branch
1151 1151
1152 UnloadHandler_Navigation = 1379,
1153 TouchStartUserGestureUtilized = 1380, 1152 TouchStartUserGestureUtilized = 1380,
1154 TouchMoveUserGestureUtilized = 1381, 1153 TouchMoveUserGestureUtilized = 1381,
1155 TouchEndDuringScrollUserGestureUtilized = 1382, 1154 TouchEndDuringScrollUserGestureUtilized = 1382,
1156 CSSSelectorPseudoDefined = 1383, 1155 CSSSelectorPseudoDefined = 1383,
1157 RTCPeerConnectionAddIceCandidatePromise = 1384, 1156 RTCPeerConnectionAddIceCandidatePromise = 1384,
1158 RTCPeerConnectionAddIceCandidateLegacy = 1385, 1157 RTCPeerConnectionAddIceCandidateLegacy = 1385,
1159 RTCIceCandidateDefaultSdpMLineIndex = 1386, 1158 RTCIceCandidateDefaultSdpMLineIndex = 1386,
1160 MediaStreamConstraintsOldAndNew = 1389, 1159 MediaStreamConstraintsOldAndNew = 1389,
1161 V8ArrayProtectorDirtied = 1390, 1160 V8ArrayProtectorDirtied = 1390,
1162 V8ArraySpeciesModified = 1391, 1161 V8ArraySpeciesModified = 1391,
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
1371 friend class UseCounterTest; 1370 friend class UseCounterTest;
1372 unsigned m_muteCount; 1371 unsigned m_muteCount;
1373 1372
1374 CountBits m_countBits; 1373 CountBits m_countBits;
1375 BitVector m_CSSFeatureBits; 1374 BitVector m_CSSFeatureBits;
1376 }; 1375 };
1377 1376
1378 } // namespace blink 1377 } // namespace blink
1379 1378
1380 #endif // UseCounter_h 1379 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/History.cpp ('k') | third_party/WebKit/Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698