Searched refs:target_loop_ (Results 1 - 8 of 8) sorted by relevance

/external/chromium_org/ppapi/shared_impl/
H A Dthread_aware_callback.cc34 : target_loop_(PpapiGlobals::Get()->GetCurrentMessageLoop()),
36 DCHECK(target_loop_.get());
48 if (target_loop_.get() != PpapiGlobals::Get()->GetCurrentMessageLoop()) {
49 target_loop_->PostClosure(
H A Dtracked_callback.h80 // (as determined by target_loop_). If invoked on a different thread, the
81 // callback will be scheduled to run later on target_loop_.
114 MessageLoopShared* target_loop() const { return target_loop_.get(); }
139 bool has_null_target_loop() const { return target_loop_.get() == NULL; }
175 scoped_refptr<MessageLoopShared> target_loop_; member in class:ppapi::TrackedCallback
H A Dtracked_callback.cc51 target_loop_(PpapiGlobals::Get()->GetCurrentMessageLoop()),
53 // Note that target_loop_ may be NULL at this point, if the plugin has not
127 // If there's a target_loop_, and we're not on the right thread, we need to
128 // post to target_loop_.
129 if (target_loop_.get() &&
130 target_loop_.get() != PpapiGlobals::Get()->GetCurrentMessageLoop()) {
170 if (target_loop_.get()) {
171 target_loop_->PostClosure(FROM_HERE, callback_closure, 0);
174 // classes protect against having a null target_loop_ otherwise).
H A Dthread_aware_callback.h32 scoped_refptr<MessageLoopShared> target_loop_; member in class:ppapi::internal::ThreadAwareCallbackBase
/external/chromium_org/content/renderer/input/
H A Dinput_event_filter.cc50 target_loop_(target_loop),
53 DCHECK(target_loop_.get());
128 target_loop_->PostTask(
144 DCHECK(target_loop_->BelongsToCurrentThread());
206 DCHECK(target_loop_->BelongsToCurrentThread());
H A Dinput_event_filter.h86 // The handler_ only gets Run on the thread corresponding to target_loop_.
87 scoped_refptr<base::MessageLoopProxy> target_loop_; member in class:content::InputEventFilter
/external/chromium_org/ppapi/tests/
H A Dtest_utils.h168 void set_target_loop(const pp::MessageLoop& loop) { target_loop_ = loop; }
187 pp::MessageLoop target_loop_; member in class:TestCompletionCallback
H A Dtest_utils.cc366 target_loop_ = pp::MessageLoop::GetCurrent();
396 if (callback->target_loop_ != pp::MessageLoop::GetCurrent()) {

Completed in 161 milliseconds