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

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

Issue 1112513005: Reload image bypassing the cache (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: nit Created 5 years, 7 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 class KURL; 51 class KURL;
52 class Range; 52 class Range;
53 class SharedWorkerRepositoryClientImpl; 53 class SharedWorkerRepositoryClientImpl;
54 class TextFinder; 54 class TextFinder;
55 class WebAutofillClient; 55 class WebAutofillClient;
56 class WebDataSourceImpl; 56 class WebDataSourceImpl;
57 class WebDevToolsAgentImpl; 57 class WebDevToolsAgentImpl;
58 class WebDevToolsFrontendImpl; 58 class WebDevToolsFrontendImpl;
59 class WebFrameClient; 59 class WebFrameClient;
60 class WebFrameWidgetImpl; 60 class WebFrameWidgetImpl;
61 class WebNode;
61 class WebPerformance; 62 class WebPerformance;
62 class WebPlugin; 63 class WebPlugin;
63 class WebPluginContainerImpl; 64 class WebPluginContainerImpl;
64 class WebScriptExecutionCallback; 65 class WebScriptExecutionCallback;
65 class WebSuspendableTask; 66 class WebSuspendableTask;
66 class WebView; 67 class WebView;
67 class WebViewImpl; 68 class WebViewImpl;
68 struct FrameLoadRequest; 69 struct FrameLoadRequest;
69 struct WebPrintParams; 70 struct WebPrintParams;
70 71
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 int worldID, const WebScriptSource* sourceIn, unsigned numSources, 126 int worldID, const WebScriptSource* sourceIn, unsigned numSources,
126 int extensionGroup, bool userGesture, WebScriptExecutionCallback*) overr ide; 127 int extensionGroup, bool userGesture, WebScriptExecutionCallback*) overr ide;
127 virtual v8::Local<v8::Value> callFunctionEvenIfScriptDisabled( 128 virtual v8::Local<v8::Value> callFunctionEvenIfScriptDisabled(
128 v8::Local<v8::Function>, 129 v8::Local<v8::Function>,
129 v8::Local<v8::Value>, 130 v8::Local<v8::Value>,
130 int argc, 131 int argc,
131 v8::Local<v8::Value> argv[]) override; 132 v8::Local<v8::Value> argv[]) override;
132 virtual v8::Local<v8::Context> mainWorldScriptContext() const override; 133 virtual v8::Local<v8::Context> mainWorldScriptContext() const override;
133 virtual void reload(bool ignoreCache) override; 134 virtual void reload(bool ignoreCache) override;
134 virtual void reloadWithOverrideURL(const WebURL& overrideUrl, bool ignoreCac he) override; 135 virtual void reloadWithOverrideURL(const WebURL& overrideUrl, bool ignoreCac he) override;
136 virtual void reloadImage(const WebNode&) override;
135 virtual void loadRequest(const WebURLRequest&) override; 137 virtual void loadRequest(const WebURLRequest&) override;
136 virtual void loadHistoryItem(const WebHistoryItem&, WebHistoryLoadType, WebU RLRequest::CachePolicy) override; 138 virtual void loadHistoryItem(const WebHistoryItem&, WebHistoryLoadType, WebU RLRequest::CachePolicy) override;
137 virtual void loadData( 139 virtual void loadData(
138 const WebData&, const WebString& mimeType, const WebString& textEncoding , 140 const WebData&, const WebString& mimeType, const WebString& textEncoding ,
139 const WebURL& baseURL, const WebURL& unreachableURL, bool replace) overr ide; 141 const WebURL& baseURL, const WebURL& unreachableURL, bool replace) overr ide;
140 virtual void loadHTMLString( 142 virtual void loadHTMLString(
141 const WebData& html, const WebURL& baseURL, const WebURL& unreachableURL , 143 const WebData& html, const WebURL& baseURL, const WebURL& unreachableURL ,
142 bool replace) override; 144 bool replace) override;
143 virtual void stopLoading() override; 145 virtual void stopLoading() override;
144 virtual WebDataSource* provisionalDataSource() const override; 146 virtual WebDataSource* provisionalDataSource() const override;
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 GC_PLUGIN_IGNORE("340522") 393 GC_PLUGIN_IGNORE("340522")
392 Persistent<WebLocalFrameImpl> m_selfKeepAlive; 394 Persistent<WebLocalFrameImpl> m_selfKeepAlive;
393 #endif 395 #endif
394 }; 396 };
395 397
396 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 398 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
397 399
398 } // namespace blink 400 } // namespace blink
399 401
400 #endif 402 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698