Hi,
Is there any way to determine whether the browser has more work to do? So that I don't need to call DoMessageLoopWork too often and prevent starving the rest of the application where the browser has been integrated into?
thanks,
Patrick
CefDoMessageLoopWork returns when Chromium feels that the message loop is idle.
ryanmolden wrote:CefDoMessageLoopWork returns when Chromium feels that the message loop is idle.
So it runs a (nested) message pump until it clears all pending messages in the thread's message queue?
Effectively yes (OS messages, timers, tasks, etc). The message pump runs until DoIdleWork() is called, at which time CEF calls |pump_->Quit()|. You can see the code here (it works the same for both CEF1 and CEF3):
In regards to the depot_tools problem, try using a shorter path for your Chromium checkout. I use c:\code\chromium on Windows and run gclient from cmd.exe. It works fine for me. I also check out depot_tools using svn (must be version 1.6) instead of using the zip -- not sure if that matters.
Users browsing this forum: No registered users and 208 guests