summaryrefslogtreecommitdiffstats
path: root/base/run_loop.cc
Commit message (Collapse)AuthorAgeFilesLines
* Nukes MessageLoop::Dispatcher (2)sky@chromium.org2014-01-171-1/+5
| | | | | | | | | | | | | | There is no point in this typedef now that MessagePumpDispatcher is its own class. BUG=none TEST=none R=darin@chromium.org TBR=darin@chromium.org Review URL: https://codereview.chromium.org/135563004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245387 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 245226 "Nukes MessageLoop::Dispatcher"sky@chromium.org2014-01-161-5/+1
| | | | | | | | | | | | | | | | | | | > Nukes MessageLoop::Dispatcher > > There is no point in this typedef now that MessagePumpDispatcher is > its own class. > > BUG=none > TEST=none > R=ben@chromium.org, darin@chromium.org > > Review URL: https://codereview.chromium.org/139593002 TBR=sky@chromium.org Review URL: https://codereview.chromium.org/138433008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245239 0039d316-1c4b-4281-b951-d872f2087c98
* Nukes MessageLoop::Dispatchersky@chromium.org2014-01-161-1/+5
| | | | | | | | | | | | | There is no point in this typedef now that MessagePumpDispatcher is its own class. BUG=none TEST=none R=ben@chromium.org, darin@chromium.org Review URL: https://codereview.chromium.org/139593002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245226 0039d316-1c4b-4281-b951-d872f2087c98
* Make aura_demo work on Macccameron@chromium.org2014-01-071-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Fix a few instances where !Windows is assumed to be Linux. Chang many instances of !USE_GTK_MESSAGE_PUMP && !OS_MACOSX && !OS_ANDROID to just USE_AURA (they are equivalent now). Add a very minimal RootWindowHostMac. Of note is that building with Aura requires running "gyp_chromium --no-circular-check" (the circular check is only enabled on Mac, and doesn't work with Aura). Also note that the demo does not work properly unless BGRA support is disabled (in FeatureInfo::InitializeBasicState these extensions can be disabled). BUG=331669 Review URL: https://codereview.chromium.org/110283005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243392 0039d316-1c4b-4281-b951-d872f2087c98
* Fix some WeakPtrFactory members that aren't lastdmichael@chromium.org2013-10-081-4/+4
| | | | | | | | BUG=303818 Review URL: https://codereview.chromium.org/26308002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227566 0039d316-1c4b-4281-b951-d872f2087c98
* gtk: Some code cleanup for the message-pump.sadrul@chromium.org2013-09-071-2/+4
| | | | | | | | | | | | | | | | GTK message-pump defines its own observer, but it has the same name as the message-pump observers used in other platforms. So rename the GTK version to MessagePumpGdkObserver. Also, GTK version of message-pump dispatcher is never used, so get rid of that. BUG=145600 R=piman@chromium.org, thakis@chromium.org Review URL: https://codereview.chromium.org/23537016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221846 0039d316-1c4b-4281-b951-d872f2087c98
* Add base::RunLoop and update ui_test_utils to use it to reduce flakinessjbates@chromium.org2012-06-281-0/+94
Timeout flakiness has been observed in multiple tests that use Quit. This changes various test utility APIs to use QuitNow via base::RunLoop instead. Some instances of Quit are left as-is where it appears they may have a use case. The ui_test_utils QuitThisRunLoop function does a safer form of MessageLoop::QuitWhenIdle that allows a few generations of tasks to run before actually quitting the MessageLoop. This addresses the design assumptions of many existing tests while hopefully reducing flaky timeouts by moving away from QuitWhenIdle. This fixes throughput_tests.cc which is currently timing out on Mac. BUG=124906,130141,131220,128305,132932 Review URL: https://chromiumcodereview.appspot.com/10479018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144824 0039d316-1c4b-4281-b951-d872f2087c98