command line flags specific to mobile like "use-mobile-user-agent" and
"use-mobile-viewport-style" are appended by default when we run ubrowser
on mobile and TV and also this results in duplication as these flags are
already present in command_line_efl.cc which is common to all apps like
mini_browser, efl_webview_app and ubrowser.
M42 patch: http://165.213.202.130/gerrit/#/c/84358/
Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=14816
Reviewed by: a1.gomes, sns.park
Change-Id: I916e4f270c182087e18d6bb022a7727d0e8e9590
Signed-off-by: uzair.jaleel <uzair.jaleel@samsung.com>
#include "browser.h"
#include "logger.h"
-// Default command line flags added by default when
+// 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",
};
+
extern int logger_show_trace;
extern int logger_use_color;
#if defined(OS_TIZEN)