diff options
author | Andras Becsi <andras.becsi@digia.com> | 2014-09-12 16:26:08 +0200 |
---|---|---|
committer | Andras Becsi <andras.becsi@digia.com> | 2014-09-15 18:53:29 +0200 |
commit | 04e7b2f41541bb6bf6e944bbe596c3b582c6daf7 (patch) | |
tree | 5225e9052f646972f55165f51f43f84a523256eb /src/core/web_engine_context.cpp | |
parent | 12916ced18021768158214e2c4fc877eecb7b9a6 (diff) |
Fix the build for embedded android
Change-Id: I1edd16e6875198d7480897e7b2e2fbf68b245883
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'src/core/web_engine_context.cpp')
-rw-r--r-- | src/core/web_engine_context.cpp | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/core/web_engine_context.cpp b/src/core/web_engine_context.cpp index 669beccb4..7c0a45b68 100644 --- a/src/core/web_engine_context.cpp +++ b/src/core/web_engine_context.cpp @@ -58,6 +58,7 @@ #include "content/utility/in_process_utility_thread.h" #include "gpu/command_buffer/service/gpu_switches.h" #include "ui/events/event_switches.h" +#include "ui/native_theme/native_theme_switches.h" #include "ui/gl/gl_switches.h" #if defined(OS_WIN) #include "sandbox/win/src/sandbox_types.h" @@ -144,23 +145,18 @@ WebEngineContext::WebEngineContext() #if defined(QTWEBENGINE_MOBILE_SWITCHES) // Inspired from the Android port's default switches - parsedCommandLine->AppendSwitch(switches::kEnableOverlayScrollbars); + parsedCommandLine->AppendSwitch(switches::kEnableOverlayScrollbar); parsedCommandLine->AppendSwitch(switches::kEnableGestureTapHighlight); parsedCommandLine->AppendSwitch(switches::kEnablePinch); parsedCommandLine->AppendSwitch(switches::kEnableViewport); parsedCommandLine->AppendSwitch(switches::kEnableViewportMeta); parsedCommandLine->AppendSwitch(switches::kEnableSmoothScrolling); - parsedCommandLine->AppendSwitch(switches::kDisableAcceleratedVideo); - parsedCommandLine->AppendSwitch(switches::kDisableAudio); + parsedCommandLine->AppendSwitch(switches::kDisableAcceleratedVideoDecode); parsedCommandLine->AppendSwitch(switches::kEnableAcceleratedOverflowScroll); parsedCommandLine->AppendSwitch(switches::kEnableCompositingForFixedPosition); - parsedCommandLine->AppendSwitch(switches::kEnableAcceleratedScrollableFrames); - parsedCommandLine->AppendSwitch(switches::kEnableCompositedScrollingForFrames); - parsedCommandLine->AppendSwitch(switches::kForceCompositingMode); parsedCommandLine->AppendSwitch(switches::kDisableGpuShaderDiskCache); parsedCommandLine->AppendSwitch(switches::kDisable2dCanvasAntialiasing); - parsedCommandLine->AppendSwitch(switches::kEnableDeadlineScheduling); - parsedCommandLine->AppendSwitch(cc::switches::kEnableImplSidePainting); + parsedCommandLine->AppendSwitch(switches::kEnableImplSidePainting); parsedCommandLine->AppendSwitch(cc::switches::kDisableCompositedAntialiasing); parsedCommandLine->AppendSwitchASCII(switches::kProfilerTiming, switches::kProfilerTimingDisabledValue); @@ -170,7 +166,6 @@ WebEngineContext::WebEngineContext() // On eAndroid we use this to get the native display // from Qt in GLSurfaceEGL::InitializeOneOff. m_surfaceFactory.reset(new SurfaceFactoryQt()); - gfx::SurfaceFactoryOzone::SetInstance(m_surfaceFactory.get()); #endif GLContextHelper::initialize(); |