diff options
author | Jocelyn Turcotte <jocelyn.turcotte@digia.com> | 2013-06-11 15:40:30 +0200 |
---|---|---|
committer | Jocelyn Turcotte <jocelyn.turcotte@digia.com> | 2013-06-11 15:51:23 +0200 |
commit | e67c21a033121618bfe4cf62686d009d0bacd8c3 (patch) | |
tree | 74675f8f098fdcb2352770b15bb8c24194f4acd4 /patches/0002-Add-WebEngineContext-to-RunLoop-s-friends.patch | |
parent | e80719ed2714779cd4afac099916be069742fe77 (diff) |
Get rid of BlinqApplication.
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
Diffstat (limited to 'patches/0002-Add-WebEngineContext-to-RunLoop-s-friends.patch')
-rw-r--r-- | patches/0002-Add-WebEngineContext-to-RunLoop-s-friends.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/patches/0002-Add-WebEngineContext-to-RunLoop-s-friends.patch b/patches/0002-Add-WebEngineContext-to-RunLoop-s-friends.patch new file mode 100644 index 000000000..c822c0162 --- /dev/null +++ b/patches/0002-Add-WebEngineContext-to-RunLoop-s-friends.patch @@ -0,0 +1,33 @@ +From 1f686ea3aafa4d950d92a7f945cfec5b6fb02dfd Mon Sep 17 00:00:00 2001 +From: Jocelyn Turcotte <jocelyn.turcotte@digia.com> +Date: Tue, 11 Jun 2013 15:44:26 +0200 +Subject: [PATCH 2/2] Add WebEngineContext to RunLoop's friends. + +--- + base/run_loop.h | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/base/run_loop.h b/base/run_loop.h +index 380c8bf..12f810a 100644 +--- a/base/run_loop.h ++++ b/base/run_loop.h +@@ -10,6 +10,8 @@ + #include "base/memory/weak_ptr.h" + #include "base/message_loop.h" + ++class WebEngineContext; ++ + namespace base { + #if defined(OS_ANDROID) + class MessagePumpForUI; +@@ -74,6 +76,7 @@ class BASE_EXPORT RunLoop { + + private: + friend class MessageLoop; ++ friend class ::WebEngineContext; + #if defined(OS_ANDROID) + // Android doesn't support the blocking MessageLoop::Run, so it calls + // BeforeRun and AfterRun directly. +-- +1.8.3 + |