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

Unified Diff: Source/core/html/HTMLImageElement.h

Issue 1112513005: Reload image bypassing the cache (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Using ExtraData 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
Index: Source/core/html/HTMLImageElement.h
diff --git a/Source/core/html/HTMLImageElement.h b/Source/core/html/HTMLImageElement.h
index bb2b283e38052c1f50d3107078d0f3a2e3f66581..17ab23c88991fe566039ce28eab3696cc385bc23 100644
--- a/Source/core/html/HTMLImageElement.h
+++ b/Source/core/html/HTMLImageElement.h
@@ -29,6 +29,7 @@
#include "core/html/HTMLImageLoader.h"
#include "core/html/canvas/CanvasImageSource.h"
#include "platform/graphics/GraphicsTypes.h"
+#include "platform/network/ResourceResponse.h"
#include "wtf/WeakPtr.h"
namespace blink {
@@ -109,6 +110,9 @@ public:
float sourceSize(Element&);
+ void forceReload() const;
+ const ResourceResponse& getResponse() const;
Nate Chapin 2015/05/05 22:03:49 Nit: blink style prefers not to prefix getters wit
megjablon 2015/05/06 18:33:01 Done.
+
protected:
explicit HTMLImageElement(Document&, HTMLFormElement* = 0, bool createdByParser = false);

Powered by Google App Engine
This is Rietveld 408576698