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

Unified Diff: public/web/WebContextMenuData.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: public/web/WebContextMenuData.h
diff --git a/public/web/WebContextMenuData.h b/public/web/WebContextMenuData.h
index 66e4d802b6a683fbf19f663e1570020c476fb572..b9002b6436456e912fa62e2226a6c0c7e0dcf9c5 100644
--- a/public/web/WebContextMenuData.h
+++ b/public/web/WebContextMenuData.h
@@ -35,6 +35,7 @@
#include "../platform/WebReferrerPolicy.h"
#include "../platform/WebString.h"
#include "../platform/WebURL.h"
+#include "../platform/WebURLResponse.h"
#include "../platform/WebVector.h"
#include "WebHistoryItem.h"
#include "WebMenuItemInfo.h"
@@ -78,6 +79,10 @@ struct WebContextMenuData {
// Whether the image in context is a null.
bool hasImageContents;
+ // If |media_type| is MediaTypeImage and |has_image_contents| is true, then
+ // this contains the image's WebURLResponse::ExtraData.
+ WebURLResponse::ExtraData* imageResponseExtraData;
Nate Chapin 2015/05/05 22:03:49 Initialize this to nullptr in constructor
megjablon 2015/05/06 18:33:02 Done.
+
// The absolute URL of the page in context.
WebURL pageURL;

Powered by Google App Engine
This is Rietveld 408576698