From ffb769b385f11aa9598fd11893fe5c267c5ab01c Mon Sep 17 00:00:00 2001 From: Andras Becsi Date: Wed, 23 Apr 2014 17:08:45 +0200 Subject: Update eAndroid for new snapshot This patch adds configurations and updates command line switches. Change-Id: I0223695cc3a743bb2364a73e56fe5391dc43663d Reviewed-by: Zeno Albisser --- src/core/web_engine_context.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/core/web_engine_context.cpp') diff --git a/src/core/web_engine_context.cpp b/src/core/web_engine_context.cpp index faf40f1ce..e6c9f70cf 100644 --- a/src/core/web_engine_context.cpp +++ b/src/core/web_engine_context.cpp @@ -60,6 +60,7 @@ #include "content/utility/in_process_utility_thread.h" #include "content/renderer/in_process_renderer_thread.h" #include "content/gpu/in_process_gpu_thread.h" +#include "ui/events/event_switches.h" #include "ui/gl/gl_switches.h" #include "gpu/command_buffer/service/gpu_switches.h" #include "sandbox/win/src/sandbox_types.h" @@ -136,8 +137,10 @@ WebEngineContext::WebEngineContext() parsedCommandLine->AppendSwitch(switches::kEnableOverlayScrollbars); parsedCommandLine->AppendSwitch(switches::kEnableGestureTapHighlight); parsedCommandLine->AppendSwitch(switches::kEnablePinch); - parsedCommandLine->AppendSwitch(switches::kEnableFixedLayout); parsedCommandLine->AppendSwitch(switches::kEnableViewport); + parsedCommandLine->AppendSwitch(switches::kEnableViewportMeta); + parsedCommandLine->AppendSwitch(switches::kEnableScrollPrediction); + parsedCommandLine->AppendSwitch(switches::kEnableSmoothScrolling); parsedCommandLine->AppendSwitch(switches::kDisableAcceleratedVideo); parsedCommandLine->AppendSwitch(switches::kDisableAudio); parsedCommandLine->AppendSwitch(switches::kEnableAcceleratedOverflowScroll); @@ -150,7 +153,8 @@ WebEngineContext::WebEngineContext() parsedCommandLine->AppendSwitch(switches::kEnableDeadlineScheduling); parsedCommandLine->AppendSwitch(cc::switches::kDisableImplSidePainting); parsedCommandLine->AppendSwitch(cc::switches::kDisableCompositedAntialiasing); - parsedCommandLine->AppendSwitch(cc::switches::kDisable4444Textures); + + parsedCommandLine->AppendSwitchASCII(switches::kProfilerTiming, switches::kProfilerTimingDisabledValue); #endif GLContextHelper::initialize(); -- cgit v1.2.3