From 5a88112aa68cd3edb2fbaf6b83ea3e4de708d3e8 Mon Sep 17 00:00:00 2001 From: Sanghyup Lee Date: Thu, 4 Apr 2013 22:35:52 +0900 Subject: [PATCH] Add link effect that play beep sound when touch the combobox. [Title] Add link effect that play beep sound when touch the combobox. [Issue#] P130329-9011 [Problem] There is no touch sound after tapping on combobox. [Cause] Touch event did not call link effect. [Solution] Added link effect when touch the combobox. Change-Id: I7ac5eb7556aaf3f74d3a723419e111f73009beaa --- Source/WebKit2/WebProcess/WebCoreSupport/WebPopupMenu.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Source/WebKit2/WebProcess/WebCoreSupport/WebPopupMenu.cpp b/Source/WebKit2/WebProcess/WebCoreSupport/WebPopupMenu.cpp index 2f80c6b..2464d17 100644 --- a/Source/WebKit2/WebProcess/WebCoreSupport/WebPopupMenu.cpp +++ b/Source/WebKit2/WebProcess/WebCoreSupport/WebPopupMenu.cpp @@ -30,6 +30,10 @@ #include #include +#if ENABLE(TIZEN_LINK_EFFECT) +#include +#endif + using namespace WebCore; namespace WebKit { @@ -116,6 +120,9 @@ Vector WebPopupMenu::populateItems() void WebPopupMenu::show(const IntRect& rect, FrameView* view, int index) { +#if ENABLE(TIZEN_LINK_EFFECT) + TizenLinkEffect::playLinkEffect(); +#endif TIZEN_LOGI(""); // FIXME: We should probably inform the client to also close the menu. Vector items = populateItems(); -- 2.7.4