Commit cf2e0769 authored by Fredrik Söderquist's avatar Fredrik Söderquist Committed by Commit Bot

Remove stray define in third_party/blink/public/web/web_context_menu_data.h

Change-Id: Ie303f3a7625cb31070afe4a17f1d67f04f565d8d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1690879Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Reviewed-by: default avatarIstiaque Ahmed <lazyboy@chromium.org>
Commit-Queue: Fredrik Söderquist <fs@opera.com>
Cr-Commit-Position: refs/heads/master@{#675662}
parent 64497b39
......@@ -118,11 +118,7 @@ bool ContextMenuContentType::SupportsGroupInternal(int group) {
return params_.media_type == WebContextMenuData::kMediaTypePlugin;
case ITEM_GROUP_MEDIA_FILE:
#if defined(WEBCONTEXT_MEDIATYPEFILE_DEFINED)
return params_.media_type == WebContextMenuData::kMediaTypeFile;
#else
return false;
#endif
case ITEM_GROUP_EDITABLE:
return params_.is_editable;
......
......@@ -40,8 +40,6 @@
#include "third_party/blink/public/platform/web_vector.h"
#include "third_party/blink/public/web/web_menu_item_info.h"
#define WEBCONTEXT_MEDIATYPEFILE_DEFINED
namespace blink {
// This struct is passed to WebViewClient::ShowContextMenu.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment