fixup! [M120 Migration] Selection & Context menu controller 43/307443/5
authorManjeet <manjeet.1@partner.samsung.com>
Fri, 8 Mar 2024 08:37:37 +0000 (14:07 +0530)
committerBot Blink <blinkbot@samsung.com>
Tue, 26 Mar 2024 17:11:50 +0000 (17:11 +0000)
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 <manjeet.1@partner.samsung.com>
ui/views/views_delegate.cc

index e3895dc..b977838 100644 (file)
@@ -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