Disable the show/hide URI Bar 48/71948/1
authorHyeKyoung Hwang <cookie@samsung.com>
Mon, 30 May 2016 01:04:13 +0000 (10:04 +0900)
committerHyeKyoung Hwang <cookie@samsung.com>
Mon, 30 May 2016 01:04:13 +0000 (10:04 +0900)
[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 <cookie@samsung.com>
services/WebPageUI/CMakeLists.txt [changed mode: 0644->0755]
services/WebPageUI/WebPageUI.cpp [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 02b325a..7050cdd
@@ -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
old mode 100644 (file)
new mode 100755 (executable)
index b4b8897..d3f2bdb
@@ -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