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

Unified Diff: public/web/WebLocalFrame.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 side-by-side diff with in-line comments
Download patch
« public/web/WebContextMenuData.h ('K') | « public/web/WebContextMenuData.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebLocalFrame.h
diff --git a/public/web/WebLocalFrame.h b/public/web/WebLocalFrame.h
index 475c38bc99a0c0a8ccf276bf61d2926d5b00cbb8..588446e3f25ea9d4fccb2558f614acfb8d761e7b 100644
--- a/public/web/WebLocalFrame.h
+++ b/public/web/WebLocalFrame.h
@@ -16,6 +16,7 @@ class WebContentSettingsClient;
class WebDevToolsAgent;
class WebDevToolsAgentClient;
class WebFrameClient;
+class WebNode;
class WebScriptExecutionCallback;
class WebSuspendableTask;
struct WebPrintPresetOptions;
@@ -132,6 +133,11 @@ public:
// The implementation can request the embedder to cancel the call by setting
// |cancel| to true.
virtual void willShowInstallBannerPrompt(const WebVector<WebString>& platforms, WebAppBannerPromptReply*) = 0;
+
+ // Image reload -----------------------------------------------------------
+
+ // If the provided node is an image, reload the image bypassing the cache.
+ virtual void reloadImage(const WebNode&) = 0;
esprehn 2015/07/15 20:53:58 This should be on WebElement
};
} // namespace blink
« public/web/WebContextMenuData.h ('K') | « public/web/WebContextMenuData.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698