OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef WebLoadingBehaviorFlag_h | 5 #ifndef WebLoadingBehaviorFlag_h |
6 #define WebLoadingBehaviorFlag_h | 6 #define WebLoadingBehaviorFlag_h |
7 | 7 |
8 namespace blink { | 8 namespace blink { |
9 | 9 |
10 // This enum tracks certain behavior Blink exhibits when loading a page. This is | 10 // This enum tracks certain behavior Blink exhibits when loading a page. This is |
(...skipping 10 matching lines...) Expand all Loading... |
21 WebLoadingBehaviorServiceWorkerControlled = 1 << 1, | 21 WebLoadingBehaviorServiceWorkerControlled = 1 << 1, |
22 // Indicates that the page has a synchronous, cross-origin document.written | 22 // Indicates that the page has a synchronous, cross-origin document.written |
23 // script. | 23 // script. |
24 WebLoadingBehaviorDocumentWriteBlock = 1 << 2, | 24 WebLoadingBehaviorDocumentWriteBlock = 1 << 2, |
25 // Indicates that the page is a reload and has a synchronous, cross-origin | 25 // Indicates that the page is a reload and has a synchronous, cross-origin |
26 // document.written script. | 26 // document.written script. |
27 WebLoadingBehaviorDocumentWriteBlockReload = 1 << 3, | 27 WebLoadingBehaviorDocumentWriteBlockReload = 1 << 3, |
28 // The page loaded external CSS that generated a PreloadRequest via the | 28 // The page loaded external CSS that generated a PreloadRequest via the |
29 // CSSPreloaderResourceClient. | 29 // CSSPreloaderResourceClient. |
30 WebLoadingBehaviorCSSPreloadFound = 1 << 4, | 30 WebLoadingBehaviorCSSPreloadFound = 1 << 4, |
| 31 // Indicates that the page has a synchronous, same-origin document.written |
| 32 // script with different protocol. |
| 33 WebLoadingBehaviorDocumentWriteBlockDifferentScheme = 1 << 5 |
31 }; | 34 }; |
32 | 35 |
33 } // namespace blink | 36 } // namespace blink |
34 | 37 |
35 #endif // WebLoadingBehaviorFlag_h | 38 #endif // WebLoadingBehaviorFlag_h |
OLD | NEW |