Changeset 54928 in webkit
- Timestamp:
- Feb 17, 2010 9:38:26 PM (14 years ago)
- Location:
- trunk/WebKit/chromium
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/chromium/ChangeLog
r54923 r54928 1 2010-02-17 Evan Martin <evan@chromium.org> 2 3 Reviewed by Eric Seidel. 4 5 [chromium] expose cache-bypass flag in reload() API 6 https://bugs.webkit.org/show_bug.cgi?id=34969 7 8 This flag is used to force a reload to ignore caches. 9 (Aka "shift-reload".) 10 11 * public/WebFrame.h: 12 * src/WebFrameImpl.cpp: 13 (WebKit::WebFrameImpl::reload): 14 * src/WebFrameImpl.h: 15 1 16 2010-02-17 Kent Tamura <tkent@chromium.org> 2 17 -
trunk/WebKit/chromium/public/WebFrame.h
r54270 r54928 242 242 243 243 // Reload the current document. 244 virtual void reload() = 0; 244 // True |ignoreCache| explicitly bypasses caches. 245 // False |ignoreCache| revalidates any existing cache entries. 246 virtual void reload(bool ignoreCache = false) = 0; 245 247 246 248 // Load the given URL. -
trunk/WebKit/chromium/src/WebFrameImpl.cpp
r54270 r54928 714 714 } 715 715 716 void WebFrameImpl::reload( )716 void WebFrameImpl::reload(bool ignoreCache) 717 717 { 718 718 m_frame->loader()->history()->saveDocumentAndScrollState(); 719 719 720 720 stopLoading(); // Make sure existing activity stops. 721 m_frame->loader()->reload(); 721 722 m_frame->loader()->reload(ignoreCache); 722 723 } 723 724 -
trunk/WebKit/chromium/src/WebFrameImpl.h
r54270 r54928 104 104 #endif 105 105 virtual bool insertStyleText(const WebString& css, const WebString& id); 106 virtual void reload( );106 virtual void reload(bool ignoreCache); 107 107 virtual void loadRequest(const WebURLRequest&); 108 108 virtual void loadHistoryItem(const WebHistoryItem&);
Note: See TracChangeset
for help on using the changeset viewer.