Chromium Code Reviews| Index: public/web/WebContextMenuData.h |
| diff --git a/public/web/WebContextMenuData.h b/public/web/WebContextMenuData.h |
| index 66e4d802b6a683fbf19f663e1570020c476fb572..718260c157909c89953cf06ff932df74558f8fcc 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 |
|
esprehn
2015/07/15 20:53:58
mediaType and hasImageContents
|
| + // this contains the image's WebURLResponse::ExtraData. |
| + WebURLResponse::ExtraData* imageResponseExtraData; |
| + |
| // The absolute URL of the page in context. |
| WebURL pageURL; |
| @@ -174,6 +179,7 @@ struct WebContextMenuData { |
| WebContextMenuData() |
| : mediaType(MediaTypeNone) |
| , hasImageContents(true) |
| + , imageResponseExtraData(nullptr) |
| , mediaFlags(MediaNone) |
| , isSpellCheckingEnabled(false) |
| , misspellingHash(0) |