From 8aa8532a9e405944e15d115cc05552e00d0994d4 Mon Sep 17 00:00:00 2001 From: Grzegorz Czajkowski Date: Fri, 27 Nov 2015 19:58:20 +0900 Subject: [PATCH] Revert "Removal of appending mobile specific flags to TV" This reverts commit c5c83cabfe40a882b1fcf6765243506640e0f414. kUseMobileViewportStyle is not being passed to Renderer for Note4 resulting in not collecting view port style which defines layout width (980px) for desktop sites. Without it, desktop sites (google.com/wikipedia.org) have wrong layout. Secondly, we shouldn't propagate deskotop's mobile flags to TIZEN builds at all. Not just subset of them. If they are specific for some target they should be controlled within command_line_efl.cc. Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=14816 Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=15031 Reviewed by: a1.gomes, sns.park Change-Id: If383ae25aea687899949318e55798f5a60aa88bc Signed-off-by: Grzegorz Czajkowski --- tizen_src/ewk/ubrowser/main.cc | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/tizen_src/ewk/ubrowser/main.cc b/tizen_src/ewk/ubrowser/main.cc index ce929b2..57e47f9 100644 --- a/tizen_src/ewk/ubrowser/main.cc +++ b/tizen_src/ewk/ubrowser/main.cc @@ -15,22 +15,15 @@ #include "browser.h" #include "logger.h" -// Command line flags added by default when +// Default command line flags added by default when // ubrowser is started with --mobile|-m flag. const char* kMobileFlags[] = { -#if !defined(OS_TIZEN) - // These flags are specific to mobile and are applied by - // default from command_line_efl.cc for mobile builds. - // Hence, only apply them here if it is a desktop build - // to simulate mobile environment. "use-mobile-user-agent", "use-mobile-viewport-style", -#endif "enable-overlay-scrollbar", "enable-viewport", }; - extern int logger_show_trace; extern int logger_use_color; #if defined(OS_TIZEN) -- 2.7.4