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

Unified Diff: third_party/WebKit/Source/core/css/CSSImageSetValue.h

Issue 2710113002: DO NOT SUBMIT really old prototype of sprite recognition for image replacement
Patch Set: Created 3 years, 10 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
« no previous file with comments | « net/http/http_cache_transaction.cc ('k') | third_party/WebKit/Source/core/css/CSSImageSetValue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/CSSImageSetValue.h
diff --git a/third_party/WebKit/Source/core/css/CSSImageSetValue.h b/third_party/WebKit/Source/core/css/CSSImageSetValue.h
index 1f92c4d3c82f27fc25b5f8199b2461868b5e7881..cb5eaa4bcdea3530741619481b606868fbf0f3d4 100644
--- a/third_party/WebKit/Source/core/css/CSSImageSetValue.h
+++ b/third_party/WebKit/Source/core/css/CSSImageSetValue.h
@@ -27,6 +27,7 @@
#define CSSImageSetValue_h
#include "core/css/CSSValueList.h"
+#include "core/fetch/ImageResource.h"
#include "platform/CrossOriginAttributeValue.h"
#include "platform/weborigin/Referrer.h"
#include "wtf/Allocator.h"
@@ -47,7 +48,7 @@ public:
bool isCachePending(float deviceScaleFactor) const;
StyleImage* cachedImage(float deviceScaleFactor) const;
- StyleImage* cacheImage(const Document&, float deviceScaleFactor, CrossOriginAttributeValue = CrossOriginAttributeNotSet);
+ StyleImage* cacheImage(const Document&, float deviceScaleFactor, CrossOriginAttributeValue = CrossOriginAttributeNotSet, ImageResource::PlaceholderRequestType = ImageResource::PlaceholderRequestType::DisallowPlaceholder);
String customCSSText() const;
« no previous file with comments | « net/http/http_cache_transaction.cc ('k') | third_party/WebKit/Source/core/css/CSSImageSetValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698