| 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 // Returns the frame inside a given frame or iframe element. Returns 0 if | 89 // Returns the frame inside a given frame or iframe element. Returns 0 if |
| 90 // the given element is not a frame, iframe or if the frame is empty. | 90 // the given element is not a frame, iframe or if the frame is empty. |
| 91 BLINK_EXPORT static WebLocalFrame* fromFrameOwnerElement(const WebElement&); | 91 BLINK_EXPORT static WebLocalFrame* fromFrameOwnerElement(const WebElement&); |
| 92 | 92 |
| 93 // Initialization --------------------------------------------------------- | 93 // Initialization --------------------------------------------------------- |
| 94 | 94 |
| 95 virtual void setAutofillClient(WebAutofillClient*) = 0; | 95 virtual void setAutofillClient(WebAutofillClient*) = 0; |
| 96 virtual WebAutofillClient* autofillClient() = 0; | 96 virtual WebAutofillClient* autofillClient() = 0; |
| 97 virtual void setDevToolsAgentClient(WebDevToolsAgentClient*) = 0; | 97 virtual void setDevToolsAgentClient(WebDevToolsAgentClient*) = 0; |
| 98 virtual WebDevToolsAgent* devToolsAgent() = 0; | 98 virtual WebDevToolsAgent* devToolsAgent() = 0; |
| 99 virtual void startAgents() = 0; |
| 99 | 100 |
| 100 // Hierarchy ---------------------------------------------------------- | 101 // Hierarchy ---------------------------------------------------------- |
| 101 | 102 |
| 102 // Get the highest-level LocalFrame in this frame's in-process subtree. | 103 // Get the highest-level LocalFrame in this frame's in-process subtree. |
| 103 virtual WebLocalFrame* localRoot() = 0; | 104 virtual WebLocalFrame* localRoot() = 0; |
| 104 | 105 |
| 105 // Navigation Ping -------------------------------------------------------- | 106 // Navigation Ping -------------------------------------------------------- |
| 106 | 107 |
| 107 virtual void sendPings(const WebURL& destinationURL) = 0; | 108 virtual void sendPings(const WebURL& destinationURL) = 0; |
| 108 | 109 |
| (...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 492 // to call these on a WebLocalFrame. | 493 // to call these on a WebLocalFrame. |
| 493 bool isWebLocalFrame() const override = 0; | 494 bool isWebLocalFrame() const override = 0; |
| 494 WebLocalFrame* toWebLocalFrame() override = 0; | 495 WebLocalFrame* toWebLocalFrame() override = 0; |
| 495 bool isWebRemoteFrame() const override = 0; | 496 bool isWebRemoteFrame() const override = 0; |
| 496 WebRemoteFrame* toWebRemoteFrame() override = 0; | 497 WebRemoteFrame* toWebRemoteFrame() override = 0; |
| 497 }; | 498 }; |
| 498 | 499 |
| 499 } // namespace blink | 500 } // namespace blink |
| 500 | 501 |
| 501 #endif // WebLocalFrame_h | 502 #endif // WebLocalFrame_h |
| OLD | NEW |