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

Unified Diff: third_party/WebKit/Source/core/loader/ImageLoader.h

Issue 2202473002: DO NOT COMMIT: Experimental removal of encoded image data Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (rebase) Created 4 years, 3 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: third_party/WebKit/Source/core/loader/ImageLoader.h
diff --git a/third_party/WebKit/Source/core/loader/ImageLoader.h b/third_party/WebKit/Source/core/loader/ImageLoader.h
index 4898446af2cdcee88aef2c42cc7d63b547deb88d..28b59a5fe33da80dafb6697b9dd228343c14c9b7 100644
--- a/third_party/WebKit/Source/core/loader/ImageLoader.h
+++ b/third_party/WebKit/Source/core/loader/ImageLoader.h
@@ -64,7 +64,9 @@ public:
// This forces the image to update its intrinsic size, even if the image source has not changed.
UpdateSizeChanged,
// This force the image to refetch and reload the image source, even if it has not changed.
- UpdateForcedReload
+ UpdateForcedReload,
+
+ UpdateMyReload,
};
enum BypassMainWorldBehavior {
@@ -108,6 +110,9 @@ public:
static void dispatchPendingErrorEvents();
bool getImageAnimationPolicy(ImageAnimationPolicy&) final;
+
+ void requireReloading() override;
+
protected:
void imageNotifyFinished(ImageResource*) override;
@@ -166,6 +171,7 @@ private:
bool m_loadingImageDocument : 1;
bool m_elementIsProtected : 1;
bool m_suppressErrorEvents : 1;
+ bool m_suppressEvents : 1;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLDocument.cpp ('k') | third_party/WebKit/Source/core/loader/ImageLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698