| 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 947 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 958 | 958 |
| 959 void WebLocalFrameImpl::reloadImage(const WebNode& webNode) | 959 void WebLocalFrameImpl::reloadImage(const WebNode& webNode) |
| 960 { | 960 { |
| 961 const Node* node = webNode.constUnwrap<Node>(); | 961 const Node* node = webNode.constUnwrap<Node>(); |
| 962 if (isHTMLImageElement(*node)) { | 962 if (isHTMLImageElement(*node)) { |
| 963 const HTMLImageElement& imageElement = toHTMLImageElement(*node); | 963 const HTMLImageElement& imageElement = toHTMLImageElement(*node); |
| 964 imageElement.forceReload(); | 964 imageElement.forceReload(); |
| 965 } | 965 } |
| 966 } | 966 } |
| 967 | 967 |
| 968 void WebLocalFrameImpl::reloadLoFiImages() |
| 969 { |
| 970 frame()->document()->fetcher()->reloadLoFiImages(); |
| 971 } |
| 972 |
| 968 void WebLocalFrameImpl::loadRequest(const WebURLRequest& request) | 973 void WebLocalFrameImpl::loadRequest(const WebURLRequest& request) |
| 969 { | 974 { |
| 970 // TODO(clamy): Remove this function once RenderFrame calls load for all | 975 // TODO(clamy): Remove this function once RenderFrame calls load for all |
| 971 // requests. | 976 // requests. |
| 972 load(request, WebFrameLoadType::Standard, WebHistoryItem(), WebHistoryDiffer
entDocumentLoad, false); | 977 load(request, WebFrameLoadType::Standard, WebHistoryItem(), WebHistoryDiffer
entDocumentLoad, false); |
| 973 } | 978 } |
| 974 | 979 |
| 975 void WebLocalFrameImpl::loadHistoryItem(const WebHistoryItem& item, WebHistoryLo
adType loadType, | 980 void WebLocalFrameImpl::loadHistoryItem(const WebHistoryItem& item, WebHistoryLo
adType loadType, |
| 976 WebURLRequest::CachePolicy cachePolicy) | 981 WebURLRequest::CachePolicy cachePolicy) |
| 977 { | 982 { |
| (...skipping 1274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2252 return WebSandboxFlags::None; | 2257 return WebSandboxFlags::None; |
| 2253 return static_cast<WebSandboxFlags>(frame()->loader().effectiveSandboxFlags(
)); | 2258 return static_cast<WebSandboxFlags>(frame()->loader().effectiveSandboxFlags(
)); |
| 2254 } | 2259 } |
| 2255 | 2260 |
| 2256 void WebLocalFrameImpl::forceSandboxFlags(WebSandboxFlags flags) | 2261 void WebLocalFrameImpl::forceSandboxFlags(WebSandboxFlags flags) |
| 2257 { | 2262 { |
| 2258 frame()->loader().forceSandboxFlags(static_cast<SandboxFlags>(flags)); | 2263 frame()->loader().forceSandboxFlags(static_cast<SandboxFlags>(flags)); |
| 2259 } | 2264 } |
| 2260 | 2265 |
| 2261 } // namespace blink | 2266 } // namespace blink |
| OLD | NEW |