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 WebString layerTreeAsText(bool showDebugInfo = false) const override; | 196 WebString layerTreeAsText(bool showDebugInfo = false) const override; |
197 | 197 |
198 WebFrameImplBase* toImplBase() override { return this; } | 198 WebFrameImplBase* toImplBase() override { return this; } |
199 | 199 |
200 // WebLocalFrame methods: | 200 // WebLocalFrame methods: |
201 void setAutofillClient(WebAutofillClient*) override; | 201 void setAutofillClient(WebAutofillClient*) override; |
202 WebAutofillClient* autofillClient() override; | 202 WebAutofillClient* autofillClient() override; |
203 void setDevToolsAgentClient(WebDevToolsAgentClient*) override; | 203 void setDevToolsAgentClient(WebDevToolsAgentClient*) override; |
204 WebDevToolsAgent* devToolsAgent() override; | 204 WebDevToolsAgent* devToolsAgent() override; |
205 WebLocalFrameImpl* localRoot() override; | 205 WebLocalFrameImpl* localRoot() override; |
206 WebLocalFrame* traversePreviousLocal(bool wrap) const override; | |
207 WebLocalFrame* traverseNextLocal(bool wrap) const override; | |
208 void sendPings(const WebURL& destinationURL) override; | 206 void sendPings(const WebURL& destinationURL) override; |
209 bool dispatchBeforeUnloadEvent(bool) override; | 207 bool dispatchBeforeUnloadEvent(bool) override; |
210 WebURLRequest requestFromHistoryItem(const WebHistoryItem&, WebCachePolicy)
const override; | 208 WebURLRequest requestFromHistoryItem(const WebHistoryItem&, WebCachePolicy)
const override; |
211 WebURLRequest requestForReload(WebFrameLoadType, const WebURL&) const overri
de; | 209 WebURLRequest requestForReload(WebFrameLoadType, const WebURL&) const overri
de; |
212 void load(const WebURLRequest&, WebFrameLoadType, const WebHistoryItem&, | 210 void load(const WebURLRequest&, WebFrameLoadType, const WebHistoryItem&, |
213 WebHistoryLoadType, bool isClientRedirect) override; | 211 WebHistoryLoadType, bool isClientRedirect) override; |
214 void loadData( | 212 void loadData( |
215 const WebData&, const WebString& mimeType, const WebString& textEncoding
, | 213 const WebData&, const WebString& mimeType, const WebString& textEncoding
, |
216 const WebURL& baseURL, const WebURL& unreachableURL, bool replace, WebFr
ameLoadType, | 214 const WebURL& baseURL, const WebURL& unreachableURL, bool replace, WebFr
ameLoadType, |
217 const WebHistoryItem&, WebHistoryLoadType, bool isClientRedirect) overri
de; | 215 const WebHistoryItem&, WebHistoryLoadType, bool isClientRedirect) overri
de; |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 // Accomplish that by keeping a self-referential Persistent<>. It is | 396 // Accomplish that by keeping a self-referential Persistent<>. It is |
399 // cleared upon close(). | 397 // cleared upon close(). |
400 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; | 398 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; |
401 }; | 399 }; |
402 | 400 |
403 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); | 401 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); |
404 | 402 |
405 } // namespace blink | 403 } // namespace blink |
406 | 404 |
407 #endif | 405 #endif |
OLD | NEW |