From: HyeKyoung Hwang Date: Mon, 30 May 2016 01:04:13 +0000 (+0900) Subject: Disable the show/hide URI Bar X-Git-Tag: submit/tizen_mobile/20160530.024309~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4e24c6e96e821e22fe7b7736e9e8e8cde358a439;p=profile%2Fcommon%2Fapps%2Fweb%2Fbrowser.git Disable the show/hide URI Bar [Issue] Sometimes there is a scroll issue [Problem] Sometimes there is a scroll issue [Solution] Temporarily the show/hide URI is disable [Verify] The URI bar is always displayed Change-Id: Ib98f0b369cabb7e7db12be89d62deb055da0717a Signed-off-by: HyeKyoung Hwang --- diff --git a/services/WebPageUI/CMakeLists.txt b/services/WebPageUI/CMakeLists.txt old mode 100644 new mode 100755 index 02b325a8..7050cddc --- a/services/WebPageUI/CMakeLists.txt +++ b/services/WebPageUI/CMakeLists.txt @@ -53,7 +53,7 @@ install(TARGETS ${PROJECT_NAME} include(EDCCompile) if (${PROFILE} MATCHES "mobile") - ADD_DEFINITIONS(-DGESTURE=1) + ADD_DEFINITIONS(-DGESTURE=0) endif (${PROFILE} MATCHES "mobile") #please do not add edc/ directory diff --git a/services/WebPageUI/WebPageUI.cpp b/services/WebPageUI/WebPageUI.cpp old mode 100644 new mode 100755 index b4b8897f..d3f2bdb8 --- a/services/WebPageUI/WebPageUI.cpp +++ b/services/WebPageUI/WebPageUI.cpp @@ -379,13 +379,17 @@ void WebPageUI::orientationChanged() if (landscape) { if (*landscape) { elm_object_signal_emit(m_privateLayout, "show_incognito_landscape", "ui"); +#if GESTURE if (m_uriBarHidden) elm_object_signal_emit(m_mainLayout, "hide_uri_bar_landscape", "ui"); +#endif } else { elm_object_signal_emit(m_privateLayout, "show_incognito_vertical", "ui"); +#if GESTURE if (m_uriBarHidden) elm_object_signal_emit(m_mainLayout, "hide_uri_bar_vertical", "ui"); +#endif } } else