Lines Matching refs:loop
20 // This class injects dummy "events" into the GLib loop. When "handled" these
137 // Quits the current message loop.
142 // Returns a new task that quits the main loop.
147 // Posts a task on the current message loop.
170 MessageLoop* loop() const { return loop_; }
188 loop()->PostTask(FROM_HERE, NewQuitTask());
189 loop()->Run();
195 loop()->Run();
214 loop()->Run();
224 loop()->Run();
233 loop()->PostTask(FROM_HERE, NewRunnableFunction(IncrementInt, &task_count));
237 loop()->PostTask(
240 loop()->Run();
248 loop()->PostDelayedTask(
255 loop()->PostDelayedTask(
258 loop()->Run();
279 loop()->Run();
287 // It will quit the main loop once enough tasks and events have been processed,
355 loop()->PostTask(
357 loop()->PostTask(
360 loop()->Run();
371 // Then add an event that will quit the main loop.
388 loop()->PostTask(
390 loop()->Run();
402 // Then add an event that will quit the main loop.
419 loop()->PostTask(
421 loop()->Run();
428 // Helper class that lets us run the GLib message loop.
484 // Run a nested, straight GLib message loop.
515 // Run a nested, straight Gtk message loop.
527 // loop is not run by MessageLoop::Run() but by a straight GLib loop.
530 loop()->PostTask(FROM_HERE,
532 loop()->Run();
537 // looploop.
540 loop()->PostTask(FROM_HERE,
542 loop()->Run();