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

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

Issue 1291613010: Implement referrerpolicy attribute for img elements (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: yoav comments Created 5 years, 4 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 67edf93352c895755d90fcd73d807aaf2b539da1..e14a9cdbc8870eac6389a76fe0389ca173ec10c8 100644
--- a/Source/core/html/HTMLImageElement.h
+++ b/Source/core/html/HTMLImageElement.h
@@ -170,6 +170,9 @@ private:
unsigned m_intrinsicSizingViewportDependant : 1;
unsigned m_useFallbackContent : 1;
unsigned m_isFallbackImage : 1;
+
+ // Referrer policy parsed from the 'referrerpolicy' attribute.
Yoav Weiss 2015/08/18 21:09:21 Nit: Not sure this comment adds much value, but yo
estark 2015/08/19 02:53:22 Done.
+ ReferrerPolicy m_referrerPolicy;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698