23 lines
898 B
Diff
23 lines
898 B
Diff
|
From: uazo <uazo@users.noreply.github.com>
|
||
|
Date: Sat, 3 Jun 2023 15:39:31 +0000
|
||
|
Subject: WIN Disable search for image
|
||
|
|
||
|
---
|
||
|
components/renderer_context_menu/context_menu_content_type.cc | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/components/renderer_context_menu/context_menu_content_type.cc b/components/renderer_context_menu/context_menu_content_type.cc
|
||
|
--- a/components/renderer_context_menu/context_menu_content_type.cc
|
||
|
+++ b/components/renderer_context_menu/context_menu_content_type.cc
|
||
|
@@ -99,7 +99,7 @@ bool ContextMenuContentType::SupportsGroupInternal(int group) {
|
||
|
|
||
|
case ITEM_GROUP_SEARCHWEBFORIMAGE:
|
||
|
// Image menu items imply search web for image item.
|
||
|
- return SupportsGroupInternal(ITEM_GROUP_MEDIA_IMAGE);
|
||
|
+ return false;
|
||
|
|
||
|
case ITEM_GROUP_MEDIA_VIDEO:
|
||
|
return params_.media_type == ContextMenuDataMediaType::kVideo;
|
||
|
--
|
||
|
2.25.1
|