| 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 v8::Local<v8::Function>, | 120 v8::Local<v8::Function>, |
| 121 v8::Local<v8::Value>, | 121 v8::Local<v8::Value>, |
| 122 int argc, | 122 int argc, |
| 123 v8::Local<v8::Value> argv[]) override; | 123 v8::Local<v8::Value> argv[]) override; |
| 124 v8::Local<v8::Context> mainWorldScriptContext() const override; | 124 v8::Local<v8::Context> mainWorldScriptContext() const override; |
| 125 void reload(bool ignoreCache) override; | 125 void reload(bool ignoreCache) override; |
| 126 void reloadWithOverrideURL(const WebURL& overrideUrl, bool ignoreCache) over
ride; | 126 void reloadWithOverrideURL(const WebURL& overrideUrl, bool ignoreCache) over
ride; |
| 127 void reloadImage(const WebNode&) override; | 127 void reloadImage(const WebNode&) override; |
| 128 void reloadLoFiImages() override; | 128 void reloadLoFiImages() override; |
| 129 void loadRequest(const WebURLRequest&) override; | 129 void loadRequest(const WebURLRequest&) override; |
| 130 void loadHistoryItem(const WebHistoryItem&, WebHistoryLoadType, WebURLReques
t::CachePolicy) override; | 130 void loadHistoryItem(const WebHistoryItem&, WebHistoryLoadType, WebCachePoli
cy) override; |
| 131 void loadHTMLString( | 131 void loadHTMLString( |
| 132 const WebData& html, const WebURL& baseURL, const WebURL& unreachableURL
, | 132 const WebData& html, const WebURL& baseURL, const WebURL& unreachableURL
, |
| 133 bool replace) override; | 133 bool replace) override; |
| 134 void stopLoading() override; | 134 void stopLoading() override; |
| 135 WebDataSource* provisionalDataSource() const override; | 135 WebDataSource* provisionalDataSource() const override; |
| 136 WebDataSource* dataSource() const override; | 136 WebDataSource* dataSource() const override; |
| 137 void enableViewSourceMode(bool enable) override; | 137 void enableViewSourceMode(bool enable) override; |
| 138 bool isViewSourceModeEnabled() const override; | 138 bool isViewSourceModeEnabled() const override; |
| 139 void setReferrerForRequest(WebURLRequest&, const WebURL& referrer) override; | 139 void setReferrerForRequest(WebURLRequest&, const WebURL& referrer) override; |
| 140 void dispatchWillSendRequest(WebURLRequest&) override; | 140 void dispatchWillSendRequest(WebURLRequest&) override; |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 // WebLocalFrame methods: | 207 // WebLocalFrame methods: |
| 208 void setAutofillClient(WebAutofillClient*) override; | 208 void setAutofillClient(WebAutofillClient*) override; |
| 209 WebAutofillClient* autofillClient() override; | 209 WebAutofillClient* autofillClient() override; |
| 210 void setDevToolsAgentClient(WebDevToolsAgentClient*) override; | 210 void setDevToolsAgentClient(WebDevToolsAgentClient*) override; |
| 211 WebDevToolsAgent* devToolsAgent() override; | 211 WebDevToolsAgent* devToolsAgent() override; |
| 212 void setFrameOwnerProperties(const WebFrameOwnerProperties&) override; | 212 void setFrameOwnerProperties(const WebFrameOwnerProperties&) override; |
| 213 WebLocalFrameImpl* localRoot() override; | 213 WebLocalFrameImpl* localRoot() override; |
| 214 WebLocalFrame* traversePreviousLocal(bool wrap) const override; | 214 WebLocalFrame* traversePreviousLocal(bool wrap) const override; |
| 215 WebLocalFrame* traverseNextLocal(bool wrap) const override; | 215 WebLocalFrame* traverseNextLocal(bool wrap) const override; |
| 216 void sendPings(const WebNode& contextNode, const WebURL& destinationURL) ove
rride; | 216 void sendPings(const WebNode& contextNode, const WebURL& destinationURL) ove
rride; |
| 217 WebURLRequest requestFromHistoryItem(const WebHistoryItem&, WebURLRequest::C
achePolicy) | 217 WebURLRequest requestFromHistoryItem(const WebHistoryItem&, WebCachePolicy)
const override; |
| 218 const override; | |
| 219 WebURLRequest requestForReload(WebFrameLoadType, const WebURL&) const overri
de; | 218 WebURLRequest requestForReload(WebFrameLoadType, const WebURL&) const overri
de; |
| 220 void load(const WebURLRequest&, WebFrameLoadType, const WebHistoryItem&, | 219 void load(const WebURLRequest&, WebFrameLoadType, const WebHistoryItem&, |
| 221 WebHistoryLoadType, bool isClientRedirect) override; | 220 WebHistoryLoadType, bool isClientRedirect) override; |
| 222 void loadData( | 221 void loadData( |
| 223 const WebData&, const WebString& mimeType, const WebString& textEncoding
, | 222 const WebData&, const WebString& mimeType, const WebString& textEncoding
, |
| 224 const WebURL& baseURL, const WebURL& unreachableURL, bool replace, WebFr
ameLoadType, | 223 const WebURL& baseURL, const WebURL& unreachableURL, bool replace, WebFr
ameLoadType, |
| 225 const WebHistoryItem&, WebHistoryLoadType, bool isClientRedirect) overri
de; | 224 const WebHistoryItem&, WebHistoryLoadType, bool isClientRedirect) overri
de; |
| 226 bool isLoading() const override; | 225 bool isLoading() const override; |
| 227 bool isResourceLoadInProgress() const override; | 226 bool isResourceLoadInProgress() const override; |
| 228 bool isNavigationScheduledWithin(double interval) const override; | 227 bool isNavigationScheduledWithin(double interval) const override; |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 408 // cleared upon close(). | 407 // cleared upon close(). |
| 409 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; | 408 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; |
| 410 #endif | 409 #endif |
| 411 }; | 410 }; |
| 412 | 411 |
| 413 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); | 412 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); |
| 414 | 413 |
| 415 } // namespace blink | 414 } // namespace blink |
| 416 | 415 |
| 417 #endif | 416 #endif |
| OLD | NEW |