| 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 "WebFrame.h" | 8 #include "WebFrame.h" |
| 9 | 9 |
| 10 namespace blink { | 10 namespace blink { |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 | 34 |
| 35 // Navigation Transitions --------------------------------------------- | 35 // Navigation Transitions --------------------------------------------- |
| 36 virtual void addStyleSheetByURL(const WebString& url) = 0; | 36 virtual void addStyleSheetByURL(const WebString& url) = 0; |
| 37 virtual void navigateToSandboxedMarkup(const WebData& markup) = 0; | 37 virtual void navigateToSandboxedMarkup(const WebData& markup) = 0; |
| 38 | 38 |
| 39 virtual void sendPings(const WebNode& linkNode, const WebURL& destinationURL
) = 0; | 39 virtual void sendPings(const WebNode& linkNode, const WebURL& destinationURL
) = 0; |
| 40 | 40 |
| 41 | 41 |
| 42 // Navigation State ------------------------------------------------------- | 42 // Navigation State ------------------------------------------------------- |
| 43 | 43 |
| 44 // Returns true if the current frame's load event has not completed. |
| 45 virtual bool isLoading() const = 0; |
| 46 |
| 44 // Returns true if any resource load is currently in progress. Exposed | 47 // Returns true if any resource load is currently in progress. Exposed |
| 45 // primarily for use in layout tests. You probably want isLoading() | 48 // primarily for use in layout tests. You probably want isLoading() |
| 46 // instead. | 49 // instead. |
| 47 virtual bool isResourceLoadInProgress() const = 0; | 50 virtual bool isResourceLoadInProgress() const = 0; |
| 48 }; | 51 }; |
| 49 | 52 |
| 50 } // namespace blink | 53 } // namespace blink |
| 51 | 54 |
| 52 #endif // WebLocalFrame_h | 55 #endif // WebLocalFrame_h |
| OLD | NEW |