mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
- Add off-screen rendering support on Windows. This involves a number of new CefBrowser and CefHandler methods. See the "Off-Screen Rendering Example" in cefclient for example usage.
- Add CefRunMessageLoop() for efficient message loop usage and modify cefclient to use it. - Add CefHandler::HandleNavStateChange() for back/forward state notifications and modify cefclient to use it. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@208 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
33
patch/patches/base.patch
Normal file
33
patch/patches/base.patch
Normal file
@@ -0,0 +1,33 @@
|
||||
Index: message_loop.cc
|
||||
===================================================================
|
||||
--- message_loop.cc (revision 74933)
|
||||
+++ message_loop.cc (working copy)
|
||||
@@ -287,9 +287,13 @@
|
||||
}
|
||||
|
||||
void MessageLoop::AssertIdle() const {
|
||||
+ DCHECK(IsIdle());
|
||||
+}
|
||||
+
|
||||
+bool MessageLoop::IsIdle() const {
|
||||
// We only check |incoming_queue_|, since we don't want to lock |work_queue_|.
|
||||
base::AutoLock lock(incoming_queue_lock_);
|
||||
- DCHECK(incoming_queue_.empty());
|
||||
+ return incoming_queue_.empty();
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
Index: message_loop.h
|
||||
===================================================================
|
||||
--- message_loop.h (revision 74933)
|
||||
+++ message_loop.h (working copy)
|
||||
@@ -318,6 +318,9 @@
|
||||
// Asserts that the MessageLoop is "idle".
|
||||
void AssertIdle() const;
|
||||
|
||||
+ // Returns true if the MessageLoop is "idle".
|
||||
+ bool IsIdle() const;
|
||||
+
|
||||
//----------------------------------------------------------------------------
|
||||
protected:
|
||||
struct RunState {
|
Reference in New Issue
Block a user