• Home
  • Raw
  • Download

Lines Matching refs:state_

144     : state_(NULL),  in MessagePumpForUI()
190 state.run_depth = state_ ? state_->run_depth + 1 : 1; in RunWithDispatcher()
193 RunState* previous_state = state_; in RunWithDispatcher()
194 state_ = &state; in RunWithDispatcher()
211 if (state_->should_quit) in RunWithDispatcher()
214 more_work_is_plausible |= state_->delegate->DoWork(); in RunWithDispatcher()
215 if (state_->should_quit) in RunWithDispatcher()
219 state_->delegate->DoDelayedWork(&delayed_work_time_); in RunWithDispatcher()
220 if (state_->should_quit) in RunWithDispatcher()
226 more_work_is_plausible = state_->delegate->DoIdleWork(); in RunWithDispatcher()
227 if (state_->should_quit) in RunWithDispatcher()
231 state_ = previous_state; in RunWithDispatcher()
243 if (state_ && // state_ may be null during tests. in HandlePrepare()
244 state_->has_work) in HandlePrepare()
253 if (!state_) // state_ may be null during tests. in HandleCheck()
267 state_->has_work = true; in HandleCheck()
270 if (state_->has_work) in HandleCheck()
283 state_->has_work = false; in HandleDispatch()
284 if (state_->delegate->DoWork()) { in HandleDispatch()
289 state_->has_work = true; in HandleDispatch()
292 if (state_->should_quit) in HandleDispatch()
295 state_->delegate->DoDelayedWork(&delayed_work_time_); in HandleDispatch()
308 if (state_ && state_->dispatcher) { // state_ may be null during tests. in DispatchEvents()
309 if (!state_->dispatcher->Dispatch(event)) in DispatchEvents()
310 state_->should_quit = true; in DispatchEvents()
322 if (state_) { in Quit()
323 state_->should_quit = true; in Quit()
347 return state_ ? state_->dispatcher : NULL; in GetDispatcher()