summaryrefslogtreecommitdiffstats
path: root/src/core/web_engine_context.cpp
diff options
context:
space:
mode:
authorAndras Becsi <andras.becsi@digia.com>2014-04-23 17:08:45 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-04-24 14:30:13 +0200
commitffb769b385f11aa9598fd11893fe5c267c5ab01c (patch)
tree861528e3756044256caba118a6c65d73aa8dc688 /src/core/web_engine_context.cpp
parent76f2298dffdafb73d80cb21b49a7ed7ea1b7830c (diff)
Update eAndroid for new snapshot
This patch adds configurations and updates command line switches. Change-Id: I0223695cc3a743bb2364a73e56fe5391dc43663d Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
Diffstat (limited to 'src/core/web_engine_context.cpp')
-rw-r--r--src/core/web_engine_context.cpp8
1 files changed, 6 insertions, 2 deletions
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();