| 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 12 matching lines...) Expand all Loading... |
| 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 | 31 // Indicates that the page has a synchronous, same-origin document.written |
| 32 // script with different protocol. | 32 // script with different protocol. |
| 33 WebLoadingBehaviorDocumentWriteBlockDifferentScheme = 1 << 5 | 33 WebLoadingBehaviorDocumentWriteBlockDifferentScheme = 1 << 5, |
| 34 // Indicates that a subresource on the page matched the subresource filtering |
| 35 // rules. |
| 36 WebLoadingBehaviorSubresourceFilterMatch = 1 << 6 |
| 34 }; | 37 }; |
| 35 | 38 |
| 36 } // namespace blink | 39 } // namespace blink |
| 37 | 40 |
| 38 #endif // WebLoadingBehaviorFlag_h | 41 #endif // WebLoadingBehaviorFlag_h |
| OLD | NEW |