summaryrefslogtreecommitdiffstats
path: root/lib/web_engine_context.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix the GPU process launch.Jocelyn Turcotte2013-07-291-0/+1
| | | | | | | | base::FILE_EXE isn't used by this process and we therefore also need to set the kBrowserSubprocessPath switch. Change-Id: I5a5e721c765cc1990d155f6c6d9ac1b442dc44b0 Reviewed-by: Andras Becsi <andras.becsi@digia.com>
* Use command line switch identifiers instead of string constants.Jocelyn Turcotte2013-07-291-9/+6
| | | | | Change-Id: I36007b0c0fbf194df1941e72ae2a93adf5ed6d0b Reviewed-by: Andras Becsi <andras.becsi@digia.com>
* Fix BrowserContextQt::GetPath() to return path to user data directoryAndras Becsi2013-07-261-9/+1
| | | | | | | | | Besides returning a proper application specific user data directory, this patch removes the duplicate definition of GetPath() which was added by accident with the recent chromium update. Change-Id: Ia30d598e3ef99eb88000498ef3a00ccae0593ff8 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* Do not leak singletons in WebEngineContextAndras Becsi2013-07-091-14/+10
| | | | | | | | | Prevent leaking ContentMainDelegateQt, ContentMainRunner and BrowserMainRunner in WebEngineContext so that resources are cleaned up and corresponding notifications are executed. Change-Id: Ib4a13b5e739ed0e60c90bf721a943a3ad19c206c Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
* Refactor process initialization codeAndras Becsi2013-07-091-113/+14
| | | | | | | | | Move parts of the initialization from the WebEngineContext ctor to ContentMainDelegateQt and BrowserMainPartsQt members so that they are executed in their respective stages of startup. Change-Id: Iefa288c6bf775ac530f183c0dcfebb6a3230d68d Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
* Get rid of or upstream chrome_path patch for zygoteAndras Becsi2013-07-091-28/+21
| | | | | | | | | | | | | Override base::FILE_EXE in ContentMainDelegateQt::PreSandboxStartup() with the path to our child process and get rid of the command line argument and the content::CHILD_PROCESS_EXE override. This reduces 0001-My-local-fixes.patch to export ContentMainRunner so the patch can be renamed to better reflect it's purpose. This hunk is still needed since we need to access ContentMainRunner's Initialize() to set our ContentMainDelegate. Change-Id: I808cb114100300a33f8cb1b154c6cde89cbf5d98 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
* Disable plugins for nowAndras Becsi2013-07-041-0/+1
| | | | | | | | Do not start the plugin process since pages with flash content do not load. We need to look into plugin support at some point. Change-Id: Ia888fc07531d1b904d43dd4e1e97b7a0f5dcf443 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* Support QApplication command line argsPierre Rossi2013-06-141-6/+9
|
* Quick cleanup.Jocelyn Turcotte2013-06-121-4/+1
|
* Rename remaining references of blinq to QtWebEngine.Jocelyn Turcotte2013-06-111-4/+4
|
* Get rid of BlinqApplication.Jocelyn Turcotte2013-06-111-0/+277
Rename the class to WebEngineContext and keep it as a ref-counted member of pages instead. Also: - Change the user-agent product to QtWebEngine - Don't pass actual command line arguments to Chromium anymore - Allow attaching to the event loop through Before/AfterRun instead of blocking