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

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

Issue 23861003: Enable srcset support in HTMLImageElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix issues raised in review Created 7 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: Source/core/html/HTMLImageElement.h
diff --git a/Source/core/html/HTMLImageElement.h b/Source/core/html/HTMLImageElement.h
index 590b0ec13e1906407e6bebc98504c5b1dcd513c5..bb0e90790e7c6aea1a1cd6d56cf3a8a5bfcc0164 100644
--- a/Source/core/html/HTMLImageElement.h
+++ b/Source/core/html/HTMLImageElement.h
@@ -79,6 +79,8 @@ public:
void addClient(ImageLoaderClient* client) { m_imageLoader.addClient(client); }
void removeClient(ImageLoaderClient* client) { m_imageLoader.removeClient(client); }
+ virtual const AtomicString imageSourceURL() const OVERRIDE;
abarth-chromium 2013/09/13 05:54:07 const AtomicString <--- no need for const.
+
protected:
HTMLImageElement(const QualifiedName&, Document*, HTMLFormElement* = 0);
@@ -112,6 +114,7 @@ private:
HTMLImageLoader m_imageLoader;
HTMLFormElement* m_form;
CompositeOperator m_compositeOperator;
+ AtomicString m_bestFitImageURL;
abarth-chromium 2013/09/13 05:54:07 If this is a URL, why not use the type KURL?
};
inline HTMLImageElement* toHTMLImageElement(Node* node)

Powered by Google App Engine
This is Rietveld 408576698