Chromium Code Reviews| 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; |