| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 bool selectionStartHasSpellingMarkerFor(int from, int length) const override
; | 196 bool selectionStartHasSpellingMarkerFor(int from, int length) const override
; |
| 197 WebString layerTreeAsText(bool showDebugInfo = false) const override; | 197 WebString layerTreeAsText(bool showDebugInfo = false) const override; |
| 198 | 198 |
| 199 WebFrameImplBase* toImplBase() override { return this; } | 199 WebFrameImplBase* toImplBase() override { return this; } |
| 200 | 200 |
| 201 // WebLocalFrame methods: | 201 // WebLocalFrame methods: |
| 202 void setAutofillClient(WebAutofillClient*) override; | 202 void setAutofillClient(WebAutofillClient*) override; |
| 203 WebAutofillClient* autofillClient() override; | 203 WebAutofillClient* autofillClient() override; |
| 204 void setDevToolsAgentClient(WebDevToolsAgentClient*) override; | 204 void setDevToolsAgentClient(WebDevToolsAgentClient*) override; |
| 205 WebDevToolsAgent* devToolsAgent() override; | 205 WebDevToolsAgent* devToolsAgent() override; |
| 206 void setFrameOwnerProperties(const WebFrameOwnerProperties&) override; | |
| 207 WebLocalFrameImpl* localRoot() override; | 206 WebLocalFrameImpl* localRoot() override; |
| 208 WebLocalFrame* traversePreviousLocal(bool wrap) const override; | 207 WebLocalFrame* traversePreviousLocal(bool wrap) const override; |
| 209 WebLocalFrame* traverseNextLocal(bool wrap) const override; | 208 WebLocalFrame* traverseNextLocal(bool wrap) const override; |
| 210 void sendPings(const WebURL& destinationURL) override; | 209 void sendPings(const WebURL& destinationURL) override; |
| 211 WebURLRequest requestFromHistoryItem(const WebHistoryItem&, WebCachePolicy)
const override; | 210 WebURLRequest requestFromHistoryItem(const WebHistoryItem&, WebCachePolicy)
const override; |
| 212 WebURLRequest requestForReload(WebFrameLoadType, const WebURL&) const overri
de; | 211 WebURLRequest requestForReload(WebFrameLoadType, const WebURL&) const overri
de; |
| 213 void load(const WebURLRequest&, WebFrameLoadType, const WebHistoryItem&, | 212 void load(const WebURLRequest&, WebFrameLoadType, const WebHistoryItem&, |
| 214 WebHistoryLoadType, bool isClientRedirect) override; | 213 WebHistoryLoadType, bool isClientRedirect) override; |
| 215 void loadData( | 214 void loadData( |
| 216 const WebData&, const WebString& mimeType, const WebString& textEncoding
, | 215 const WebData&, const WebString& mimeType, const WebString& textEncoding
, |
| (...skipping 28 matching lines...) Expand all Loading... |
| 245 WebFrameWidget* frameWidget() const override; | 244 WebFrameWidget* frameWidget() const override; |
| 246 | 245 |
| 247 // WebFrameImplBase methods: | 246 // WebFrameImplBase methods: |
| 248 void initializeCoreFrame(FrameHost*, FrameOwner*, const AtomicString& name,
const AtomicString& uniqueName) override; | 247 void initializeCoreFrame(FrameHost*, FrameOwner*, const AtomicString& name,
const AtomicString& uniqueName) override; |
| 249 LocalFrame* frame() const override { return m_frame.get(); } | 248 LocalFrame* frame() const override { return m_frame.get(); } |
| 250 | 249 |
| 251 void willBeDetached(); | 250 void willBeDetached(); |
| 252 void willDetachParent(); | 251 void willDetachParent(); |
| 253 | 252 |
| 254 static WebLocalFrameImpl* create(WebTreeScopeType, WebFrameClient*, WebFrame
* opener); | 253 static WebLocalFrameImpl* create(WebTreeScopeType, WebFrameClient*, WebFrame
* opener); |
| 255 static WebLocalFrameImpl* createProvisional(WebFrameClient*, WebRemoteFrame*
, WebSandboxFlags, const WebFrameOwnerProperties&); | 254 static WebLocalFrameImpl* createProvisional(WebFrameClient*, WebRemoteFrame*
, WebSandboxFlags); |
| 256 ~WebLocalFrameImpl() override; | 255 ~WebLocalFrameImpl() override; |
| 257 | 256 |
| 258 LocalFrame* createChildFrame(const FrameLoadRequest&, const AtomicString& na
me, HTMLFrameOwnerElement*); | 257 LocalFrame* createChildFrame(const FrameLoadRequest&, const AtomicString& na
me, HTMLFrameOwnerElement*); |
| 259 | 258 |
| 260 void didChangeContentsSize(const IntSize&); | 259 void didChangeContentsSize(const IntSize&); |
| 261 | 260 |
| 262 void createFrameView(); | 261 void createFrameView(); |
| 263 | 262 |
| 264 static WebLocalFrameImpl* fromFrame(LocalFrame*); | 263 static WebLocalFrameImpl* fromFrame(LocalFrame*); |
| 265 static WebLocalFrameImpl* fromFrame(LocalFrame&); | 264 static WebLocalFrameImpl* fromFrame(LocalFrame&); |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 392 // Accomplish that by keeping a self-referential Persistent<>. It is | 391 // Accomplish that by keeping a self-referential Persistent<>. It is |
| 393 // cleared upon close(). | 392 // cleared upon close(). |
| 394 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; | 393 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; |
| 395 }; | 394 }; |
| 396 | 395 |
| 397 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); | 396 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); |
| 398 | 397 |
| 399 } // namespace blink | 398 } // namespace blink |
| 400 | 399 |
| 401 #endif | 400 #endif |
| OLD | NEW |