| OLD | NEW | 
|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 WebLocalFrame_h | 5 #ifndef WebLocalFrame_h | 
| 6 #define WebLocalFrame_h | 6 #define WebLocalFrame_h | 
| 7 | 7 | 
| 8 #include "WebCompositionUnderline.h" | 8 #include "WebCompositionUnderline.h" | 
| 9 #include "WebFrame.h" | 9 #include "WebFrame.h" | 
| 10 #include "WebFrameLoadType.h" | 10 #include "WebFrameLoadType.h" | 
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 121                         WebFrameLoadType = WebFrameLoadType::Standard, | 121                         WebFrameLoadType = WebFrameLoadType::Standard, | 
| 122                         const WebHistoryItem& = WebHistoryItem(), | 122                         const WebHistoryItem& = WebHistoryItem(), | 
| 123                         WebHistoryLoadType = WebHistoryDifferentDocumentLoad, | 123                         WebHistoryLoadType = WebHistoryDifferentDocumentLoad, | 
| 124                         bool isClientRedirect = false) = 0; | 124                         bool isClientRedirect = false) = 0; | 
| 125 | 125 | 
| 126   // Navigation State ------------------------------------------------------- | 126   // Navigation State ------------------------------------------------------- | 
| 127 | 127 | 
| 128   // Returns true if the current frame's load event has not completed. | 128   // Returns true if the current frame's load event has not completed. | 
| 129   virtual bool isLoading() const = 0; | 129   virtual bool isLoading() const = 0; | 
| 130 | 130 | 
|  | 131   // Returns true if the current frame is detaching/detached. crbug.com/654654 | 
|  | 132   virtual bool isDetached() const = 0; | 
|  | 133 | 
| 131   // Returns true if there is a pending redirect or location change | 134   // Returns true if there is a pending redirect or location change | 
| 132   // within specified interval (in seconds). This could be caused by: | 135   // within specified interval (in seconds). This could be caused by: | 
| 133   // * an HTTP Refresh header | 136   // * an HTTP Refresh header | 
| 134   // * an X-Frame-Options header | 137   // * an X-Frame-Options header | 
| 135   // * the respective http-equiv meta tags | 138   // * the respective http-equiv meta tags | 
| 136   // * window.location value being mutated | 139   // * window.location value being mutated | 
| 137   // * CSP policy block | 140   // * CSP policy block | 
| 138   // * reload | 141   // * reload | 
| 139   // * form submission | 142   // * form submission | 
| 140   virtual bool isNavigationScheduledWithin(double intervalInSeconds) const = 0; | 143   virtual bool isNavigationScheduledWithin(double intervalInSeconds) const = 0; | 
| (...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 449   // to call these on a WebLocalFrame. | 452   // to call these on a WebLocalFrame. | 
| 450   bool isWebLocalFrame() const override = 0; | 453   bool isWebLocalFrame() const override = 0; | 
| 451   WebLocalFrame* toWebLocalFrame() override = 0; | 454   WebLocalFrame* toWebLocalFrame() override = 0; | 
| 452   bool isWebRemoteFrame() const override = 0; | 455   bool isWebRemoteFrame() const override = 0; | 
| 453   WebRemoteFrame* toWebRemoteFrame() override = 0; | 456   WebRemoteFrame* toWebRemoteFrame() override = 0; | 
| 454 }; | 457 }; | 
| 455 | 458 | 
| 456 }  // namespace blink | 459 }  // namespace blink | 
| 457 | 460 | 
| 458 #endif  // WebLocalFrame_h | 461 #endif  // WebLocalFrame_h | 
| OLD | NEW | 
|---|