Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(363)

Side by Side Diff: Source/web/WebFrameImpl.h

Issue 123133006: Expose a cachePolicy parameter to loadHistoryItem. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 const WebString& name, 138 const WebString& name,
139 const WebString& path); 139 const WebString& path);
140 virtual v8::Handle<v8::Value> createFileEntry(WebFileSystemType, 140 virtual v8::Handle<v8::Value> createFileEntry(WebFileSystemType,
141 const WebString& fileSystemName, 141 const WebString& fileSystemName,
142 const WebString& fileSystemPath, 142 const WebString& fileSystemPath,
143 const WebString& filePath, 143 const WebString& filePath,
144 bool isDirectory); 144 bool isDirectory);
145 virtual void reload(bool ignoreCache); 145 virtual void reload(bool ignoreCache);
146 virtual void reloadWithOverrideURL(const WebURL& overrideUrl, bool ignoreCac he); 146 virtual void reloadWithOverrideURL(const WebURL& overrideUrl, bool ignoreCac he);
147 virtual void loadRequest(const WebURLRequest&); 147 virtual void loadRequest(const WebURLRequest&);
148 virtual void loadHistoryItem(const WebHistoryItem&); 148 virtual void loadHistoryItem(const WebHistoryItem&, WebURLRequest::CachePoli cy);
149 virtual void loadData( 149 virtual void loadData(
150 const WebData&, const WebString& mimeType, const WebString& textEncoding , 150 const WebData&, const WebString& mimeType, const WebString& textEncoding ,
151 const WebURL& baseURL, const WebURL& unreachableURL, bool replace); 151 const WebURL& baseURL, const WebURL& unreachableURL, bool replace);
152 virtual void loadHTMLString( 152 virtual void loadHTMLString(
153 const WebData& html, const WebURL& baseURL, const WebURL& unreachableURL , 153 const WebData& html, const WebURL& baseURL, const WebURL& unreachableURL ,
154 bool replace); 154 bool replace);
155 virtual bool isLoading() const; 155 virtual bool isLoading() const;
156 virtual void stopLoading(); 156 virtual void stopLoading();
157 virtual WebDataSource* provisionalDataSource() const; 157 virtual WebDataSource* provisionalDataSource() const;
158 virtual WebDataSource* dataSource() const; 158 virtual WebDataSource* dataSource() const;
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
524 // Stores the additional input events offset and scale when device metrics e mulation is enabled. 524 // Stores the additional input events offset and scale when device metrics e mulation is enabled.
525 WebCore::IntSize m_inputEventsOffsetForEmulation; 525 WebCore::IntSize m_inputEventsOffsetForEmulation;
526 float m_inputEventsScaleFactorForEmulation; 526 float m_inputEventsScaleFactorForEmulation;
527 }; 527 };
528 528
529 DEFINE_TYPE_CASTS(WebFrameImpl, WebFrame, frame, true, true); 529 DEFINE_TYPE_CASTS(WebFrameImpl, WebFrame, frame, true, true);
530 530
531 } // namespace blink 531 } // namespace blink
532 532
533 #endif 533 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698