| 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 26 matching lines...) Expand all Loading... |
| 37 BLINK_EXPORT static WebLocalFrame* fromFrameOwnerElement(const WebElement&); | 37 BLINK_EXPORT static WebLocalFrame* fromFrameOwnerElement(const WebElement&); |
| 38 | 38 |
| 39 // Initialization --------------------------------------------------------- | 39 // Initialization --------------------------------------------------------- |
| 40 | 40 |
| 41 // Used when we might swap from a remote frame to a local frame. | 41 // Used when we might swap from a remote frame to a local frame. |
| 42 // Creates a provisional, semi-attached frame that will be fully | 42 // Creates a provisional, semi-attached frame that will be fully |
| 43 // swapped into the frame tree if it commits. | 43 // swapped into the frame tree if it commits. |
| 44 virtual void initializeToReplaceRemoteFrame(WebRemoteFrame*) = 0; | 44 virtual void initializeToReplaceRemoteFrame(WebRemoteFrame*) = 0; |
| 45 | 45 |
| 46 virtual void setAutofillClient(WebAutofillClient*) = 0; | 46 virtual void setAutofillClient(WebAutofillClient*) = 0; |
| 47 virtual WebAutofillClient* autofillClient() = 0; |
| 47 | 48 |
| 48 | 49 |
| 49 // Navigation Ping -------------------------------------------------------- | 50 // Navigation Ping -------------------------------------------------------- |
| 50 virtual void sendPings(const WebNode& linkNode, const WebURL& destinationURL
) = 0; | 51 virtual void sendPings(const WebNode& linkNode, const WebURL& destinationURL
) = 0; |
| 51 | 52 |
| 52 | 53 |
| 53 // Navigation State ------------------------------------------------------- | 54 // Navigation State ------------------------------------------------------- |
| 54 | 55 |
| 55 // Returns true if the current frame's load event has not completed. | 56 // Returns true if the current frame's load event has not completed. |
| 56 virtual bool isLoading() const = 0; | 57 virtual bool isLoading() const = 0; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 | 105 |
| 105 // Moves the selection extent point. This function does not allow the | 106 // Moves the selection extent point. This function does not allow the |
| 106 // selection to collapse. If the new extent is set to the same position as | 107 // selection to collapse. If the new extent is set to the same position as |
| 107 // the current base, this function will do nothing. | 108 // the current base, this function will do nothing. |
| 108 virtual void moveRangeSelectionExtent(const WebPoint&) = 0; | 109 virtual void moveRangeSelectionExtent(const WebPoint&) = 0; |
| 109 }; | 110 }; |
| 110 | 111 |
| 111 } // namespace blink | 112 } // namespace blink |
| 112 | 113 |
| 113 #endif // WebLocalFrame_h | 114 #endif // WebLocalFrame_h |
| OLD | NEW |