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

Side by Side Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.h

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

Powered by Google App Engine
This is Rietveld 408576698