| 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 #include "WebFrameLoadType.h" | 9 #include "WebFrameLoadType.h" |
| 10 | 10 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 // Creates a provisional, semi-attached frame that will be fully | 53 // Creates a provisional, semi-attached frame that will be fully |
| 54 // swapped into the frame tree if it commits. | 54 // swapped into the frame tree if it commits. |
| 55 virtual void initializeToReplaceRemoteFrame(WebRemoteFrame*, const WebString
& name, WebSandboxFlags) = 0; | 55 virtual void initializeToReplaceRemoteFrame(WebRemoteFrame*, const WebString
& name, WebSandboxFlags) = 0; |
| 56 | 56 |
| 57 virtual void setAutofillClient(WebAutofillClient*) = 0; | 57 virtual void setAutofillClient(WebAutofillClient*) = 0; |
| 58 virtual WebAutofillClient* autofillClient() = 0; | 58 virtual WebAutofillClient* autofillClient() = 0; |
| 59 virtual void setDevToolsAgentClient(WebDevToolsAgentClient*) = 0; | 59 virtual void setDevToolsAgentClient(WebDevToolsAgentClient*) = 0; |
| 60 virtual WebDevToolsAgent* devToolsAgent() = 0; | 60 virtual WebDevToolsAgent* devToolsAgent() = 0; |
| 61 | 61 |
| 62 // Navigation Ping -------------------------------------------------------- | 62 // Navigation Ping -------------------------------------------------------- |
| 63 virtual void sendPings(const WebNode& linkNode, const WebURL& destinationURL
) = 0; | 63 virtual void sendPings(const WebNode& contextNode, const WebURL& destination
URL) = 0; |
| 64 | 64 |
| 65 // Navigation ---------------------------------------------------------- | 65 // Navigation ---------------------------------------------------------- |
| 66 | 66 |
| 67 // Returns a WebURLRequest corresponding to the load of the WebHistoryItem. | 67 // Returns a WebURLRequest corresponding to the load of the WebHistoryItem. |
| 68 virtual WebURLRequest requestFromHistoryItem(const WebHistoryItem&, WebURLRe
quest::CachePolicy) | 68 virtual WebURLRequest requestFromHistoryItem(const WebHistoryItem&, WebURLRe
quest::CachePolicy) |
| 69 const = 0; | 69 const = 0; |
| 70 | 70 |
| 71 // Returns a WebURLRequest corresponding to the reload of the current | 71 // Returns a WebURLRequest corresponding to the reload of the current |
| 72 // HistoryItem. | 72 // HistoryItem. |
| 73 virtual WebURLRequest requestForReload(WebFrameLoadType, | 73 virtual WebURLRequest requestForReload(WebFrameLoadType, |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 // Returns the effective sandbox flags which are inherited from their parent
frame. | 164 // Returns the effective sandbox flags which are inherited from their parent
frame. |
| 165 virtual WebSandboxFlags effectiveSandboxFlags() const = 0; | 165 virtual WebSandboxFlags effectiveSandboxFlags() const = 0; |
| 166 | 166 |
| 167 protected: | 167 protected: |
| 168 explicit WebLocalFrame(WebTreeScopeType scope) : WebFrame(scope) { } | 168 explicit WebLocalFrame(WebTreeScopeType scope) : WebFrame(scope) { } |
| 169 }; | 169 }; |
| 170 | 170 |
| 171 } // namespace blink | 171 } // namespace blink |
| 172 | 172 |
| 173 #endif // WebLocalFrame_h | 173 #endif // WebLocalFrame_h |
| OLD | NEW |