From f35a64e243ade8fa8be61594b53fff80b172b6b2 Mon Sep 17 00:00:00 2001 From: Manjeet Date: Fri, 8 Mar 2024 14:07:37 +0530 Subject: [PATCH] fixup! [M120 Migration] Selection & Context menu controller This patch avoids creation of additional menu runner from views/directory, which is not needed for our browser and webapps, since we have our own context menu. Reference: https://review.tizen.org/gerrit/293300/ Change-Id: Ied1282196c73fe6815af9184c3d4fcbffe643e47 Signed-off-by: Manjeet --- ui/views/views_delegate.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/views/views_delegate.cc b/ui/views/views_delegate.cc index e3895dc..b977838 100644 --- a/ui/views/views_delegate.cc +++ b/ui/views/views_delegate.cc @@ -32,7 +32,8 @@ ViewsDelegate::ViewsDelegate() ui::TouchEditingControllerFactory::SetInstance( editing_controller_factory_.get()); -#if BUILDFLAG(ENABLE_DESKTOP_AURA) || BUILDFLAG(IS_CHROMEOS_ASH) +#if (BUILDFLAG(ENABLE_DESKTOP_AURA) || BUILDFLAG(IS_CHROMEOS_ASH)) && \ + !BUILDFLAG(IS_EFL) // TouchSelectionMenuRunnerViews is not supported on Mac or Cast. // It is also not used on Ash (the ChromeViewsDelegate() for Ash will // immediately replace this). But tests running without the Chrome layer -- 2.7.4