Searched defs:delegate (Results 126 - 150 of 1356) sorted by path

1234567891011>>

/external/chromium_org/base/message_loop/
H A Dmessage_pump_android.cc26 base::MessagePump::Delegate* delegate = local
28 DCHECK(delegate);
35 bool did_work = delegate->DoWork();
60 did_work |= delegate->DoDelayedWork(&next_delayed_work_time);
81 delegate->DoIdleWork();
93 void MessagePumpForUI::Run(Delegate* delegate) { argument
98 void MessagePumpForUI::Start(Delegate* delegate) { argument
112 env, reinterpret_cast<intptr_t>(delegate)));
H A Dmessage_pump_default.cc24 void MessagePumpDefault::Run(Delegate* delegate) { argument
32 bool did_work = delegate->DoWork();
36 did_work |= delegate->DoDelayedWork(&delayed_work_time_);
43 did_work = delegate->DoIdleWork();
64 // other than service each delegate method.
H A Dmessage_pump_glib.cc168 Delegate* delegate; member in struct:base::MessagePumpGlib::RunState
267 if (state_->delegate->DoWork()) {
278 state_->delegate->DoDelayedWork(&delayed_work_time_);
281 void MessagePumpGlib::Run(Delegate* delegate) { argument
287 state.delegate = delegate;
313 more_work_is_plausible |= state_->delegate->DoWork();
318 state_->delegate->DoDelayedWork(&delayed_work_time_);
325 more_work_is_plausible = state_->delegate->DoIdleWork();
H A Dmessage_pump_io_ios.cc79 Watcher *delegate) {
82 DCHECK(delegate);
145 controller->set_watcher(delegate);
74 WatchFileDescriptor( int fd, bool persistent, int mode, FileDescriptorWatcher *controller, Watcher *delegate) argument
H A Dmessage_pump_io_ios_unittest.cc80 StupidWatcher delegate; local
83 STDOUT_FILENO, false, MessageLoopForIO::WATCH_READ, &watcher, &delegate),
132 DeleteWatcher delegate(watcher);
134 false, MessagePumpIOSForIO::WATCH_READ_WRITE, watcher, &delegate);
167 StopWatcher delegate(&watcher, pump.get());
169 false, MessagePumpIOSForIO::WATCH_READ_WRITE, &watcher, &delegate);
178 StopWatcher delegate(&watcher, pump.get(), alternate_pipefds_[1]);
180 false, MessagePumpIOSForIO::WATCH_READ_WRITE, &watcher, &delegate);
H A Dmessage_pump_libevent.cc142 Watcher *delegate) {
145 DCHECK(delegate);
198 controller->set_watcher(delegate);
219 void MessagePumpLibevent::Run(Delegate* delegate) { argument
232 bool did_work = delegate->DoWork();
242 did_work |= delegate->DoDelayedWork(&delayed_work_time_);
249 did_work = delegate->DoIdleWork();
138 WatchFileDescriptor(int fd, bool persistent, int mode, FileDescriptorWatcher *controller, Watcher *delegate) argument
H A Dmessage_pump_libevent_unittest.cc78 StupidWatcher delegate; local
81 STDOUT_FILENO, false, MessageLoopForIO::WATCH_READ, &watcher, &delegate),
136 DeleteWatcher delegate(watcher);
138 false, MessagePumpLibevent::WATCH_READ_WRITE, watcher, &delegate);
160 StopWatcher delegate(&watcher);
162 false, MessagePumpLibevent::WATCH_READ_WRITE, &watcher, &delegate);
195 NestedPumpWatcher delegate; local
197 false, MessagePumpLibevent::WATCH_READ, &watcher, &delegate);
H A Dmessage_pump_win.cc39 Delegate* delegate, MessagePumpDispatcher* dispatcher) {
41 s.delegate = delegate;
202 more_work_is_plausible |= state_->delegate->DoWork();
207 state_->delegate->DoDelayedWork(&delayed_work_time_);
220 more_work_is_plausible = state_->delegate->DoIdleWork();
299 // Now give the delegate a chance to do some work. He'll let us know if he
301 if (state_->delegate->DoWork())
314 state_->delegate->DoDelayedWork(&delayed_work_time_);
479 bool more_work_is_plausible = state_->delegate
38 RunWithDispatcher( Delegate* delegate, MessagePumpDispatcher* dispatcher) argument
[all...]
H A Dmessage_pump_win.h31 void RunWithDispatcher(Delegate* delegate, MessagePumpDispatcher* dispatcher);
34 virtual void Run(Delegate* delegate) { RunWithDispatcher(delegate, NULL); } argument
39 Delegate* delegate; member in struct:base::MessagePumpWin::RunState
/external/chromium_org/base/posix/
H A Dfile_descriptor_shuffle.cc17 InjectiveMultimap* m, InjectionDelegate* delegate) {
42 if (!delegate->Duplicate(&temp_fd, i->dest))
66 if (!delegate->Move(i->source, i->dest))
71 delegate->Close(i->source);
75 delegate->Close(extra_fds[i]);
81 InjectionDelegate* delegate) {
83 return PerformInjectiveMultimapDestructive(&m, delegate);
16 PerformInjectiveMultimapDestructive( InjectiveMultimap* m, InjectionDelegate* delegate) argument
80 PerformInjectiveMultimap(const InjectiveMultimap& m_in, InjectionDelegate* delegate) argument
H A Dfile_descriptor_shuffle.h73 InjectionDelegate* delegate);
77 InjectionDelegate* delegate);
81 FileDescriptorTableInjection delegate; local
82 return PerformInjectiveMultimapDestructive(map, &delegate);
/external/chromium_org/base/test/expectations/
H A Dparser.cc11 Parser::Parser(Delegate* delegate, const std::string& input) argument
12 : delegate_(delegate),
/external/chromium_org/base/test/
H A Dtest_support_android.cc20 RunState(base::MessagePump::Delegate* delegate, int run_depth) argument
21 : delegate(delegate),
26 base::MessagePump::Delegate* delegate; member in struct:__anon2520::RunState
77 virtual void Start(base::MessagePump::Delegate* delegate) OVERRIDE {
82 virtual void Run(base::MessagePump::Delegate* delegate) OVERRIDE {
85 RunState state(delegate, g_state ? g_state->run_depth + 1 : 1);
99 more_work_is_plausible = g_state->delegate->DoWork();
105 g_state->delegate->DoDelayedWork(&delayed_work_time);
112 more_work_is_plausible = g_state->delegate
[all...]
/external/chromium_org/base/threading/
H A Dplatform_thread_posix.cc43 : delegate(NULL),
50 PlatformThread::Delegate* delegate; member in struct:base::__anon2547::ThreadParams
61 PlatformThread::Delegate* delegate = thread_params->delegate; local
80 delegate->ThreadMain();
91 PlatformThread::Delegate* delegate,
114 params.delegate = delegate;
203 bool PlatformThread::Create(size_t stack_size, Delegate* delegate, argument
207 delegate, thread_handl
90 CreateThread(size_t stack_size, bool joinable, PlatformThread::Delegate* delegate, PlatformThreadHandle* thread_handle, ThreadPriority priority) argument
211 CreateWithPriority(size_t stack_size, Delegate* delegate, PlatformThreadHandle* thread_handle, ThreadPriority priority) argument
220 CreateNonJoinable(size_t stack_size, Delegate* delegate) argument
[all...]
H A Dplatform_thread_win.cc47 PlatformThread::Delegate* delegate; member in struct:base::__anon2548::ThreadParams
53 PlatformThread::Delegate* delegate = thread_params->delegate; local
78 delegate->ThreadMain();
93 PlatformThread::Delegate* delegate,
103 params->delegate = delegate;
187 bool PlatformThread::Create(size_t stack_size, Delegate* delegate, argument
190 return CreateThreadInternal(stack_size, delegate, thread_handle);
194 bool PlatformThread::CreateWithPriority(size_t stack_size, Delegate* delegate, argument
92 CreateThreadInternal(size_t stack_size, PlatformThread::Delegate* delegate, PlatformThreadHandle* out_thread_handle) argument
204 CreateNonJoinable(size_t stack_size, Delegate* delegate) argument
[all...]
H A Dsimple_thread.cc63 DelegateSimpleThread::DelegateSimpleThread(Delegate* delegate, argument
66 delegate_(delegate) {
69 DelegateSimpleThread::DelegateSimpleThread(Delegate* delegate, argument
73 delegate_(delegate) {
80 DCHECK(delegate_) << "Tried to call Run without a delegate (called twice?)";
123 void DelegateSimpleThreadPool::AddWork(Delegate* delegate, int repeat_count) { argument
126 delegates_.push(delegate);
151 // A NULL delegate pointer signals us to quit.
/external/chromium_org/base/win/
H A Dobject_watcher.cc26 bool ObjectWatcher::StartWatching(HANDLE object, Delegate* delegate) { argument
27 CHECK(delegate);
40 delegate);
95 void ObjectWatcher::Signal(Delegate* delegate) { argument
96 // Signaling the delegate may result in our destruction or a nested call to
98 // watcher state before signaling the delegate.
101 delegate->OnObjectSignaled(object);
H A Dobject_watcher_unittest.cc45 QuitDelegate delegate; local
46 bool ok = watcher.StartWatching(event, &delegate);
66 QuitDelegate delegate; local
67 bool ok = watcher.StartWatching(event, &delegate);
81 DecrementCountDelegate delegate(&counter);
86 bool ok = watcher.StartWatching(event, &delegate);
98 // Our delegate should not have fired.
112 QuitDelegate delegate; local
113 bool ok = watcher.StartWatching(event, &delegate);
132 QuitDelegate delegate; local
[all...]
/external/chromium_org/cc/animation/
H A Dlayer_animation_controller.h111 void set_layer_animation_delegate(AnimationDelegate* delegate) { argument
112 layer_animation_delegate_ = delegate;
115 void remove_layer_animation_delegate(AnimationDelegate* delegate) { argument
116 if (layer_animation_delegate_ == delegate)
H A Dlayer_animation_controller_unittest.cc890 // on the impl thread controller's animation delegate.
899 FakeAnimationDelegate delegate; local
900 controller_impl->set_layer_animation_delegate(&delegate);
909 EXPECT_FALSE(delegate.started());
910 EXPECT_FALSE(delegate.finished());
915 EXPECT_TRUE(delegate.started());
916 EXPECT_FALSE(delegate.finished());
923 EXPECT_TRUE(delegate.started());
924 EXPECT_TRUE(delegate.finished());
/external/chromium_org/cc/blink/
H A Dweb_layer_impl.cc234 blink::WebCompositorAnimationDelegate* delegate) {
236 new WebToCCAnimationDelegateAdapter(delegate));
233 setAnimationDelegate( blink::WebCompositorAnimationDelegate* delegate) argument
H A Dweb_to_cc_animation_delegate_adapter.cc11 blink::WebCompositorAnimationDelegate* delegate)
12 : delegate_(delegate) {
10 WebToCCAnimationDelegateAdapter( blink::WebCompositorAnimationDelegate* delegate) argument
/external/chromium_org/cc/layers/
H A Dlayer.h410 void set_layer_animation_delegate(AnimationDelegate* delegate) { argument
411 layer_animation_controller_->set_layer_animation_delegate(delegate);
H A Dlayer_impl_unittest.cc519 ScrollDelegateIgnore delegate; local
521 delegate.set_fixed_offset(fixed_offset);
522 layer()->SetScrollOffsetDelegate(&delegate);
566 ScrollDelegateAccept delegate; local
567 layer()->SetScrollOffsetDelegate(&delegate);
618 ScrollDelegateIgnore delegate; local
619 delegate.set_fixed_offset(fixed_offset);
620 layer()->SetScrollOffsetDelegate(&delegate);
640 ScrollDelegateAccept delegate; local
641 layer()->SetScrollOffsetDelegate(&delegate);
[all...]
/external/chromium_org/cc/trees/
H A Dlayer_tree_host_common_unittest.cc64 ContentLayerClient* delegate) {
65 scoped_refptr<ContentLayer> to_return = ContentLayer::Create(delegate);
4036 ContentLayerClient* delegate) {
4038 NoScaleContentLayer::Create(delegate);
4045 MockContentLayerClient delegate; local
4048 scoped_refptr<ContentLayer> parent = CreateDrawableContentLayer(&delegate);
4057 scoped_refptr<ContentLayer> child = CreateDrawableContentLayer(&delegate);
4067 CreateDrawableContentLayer(&delegate);
4077 CreateNoScaleDrawableContentLayer(&delegate);
4181 MockContentLayerClient delegate; local
63 CreateDrawableContentLayer( ContentLayerClient* delegate) argument
4035 CreateNoScaleDrawableContentLayer( ContentLayerClient* delegate) argument
4293 MockContentLayerClient delegate; local
4406 MockContentLayerClient delegate; local
4590 MockContentLayerClient delegate; local
4694 MockContentLayerClient delegate; local
4783 MockContentLayerClient delegate; local
4984 MockContentLayerClient delegate; local
5186 MockContentLayerClient delegate; local
5263 MockContentLayerClient delegate; local
5314 MockContentLayerClient delegate; local
5449 MockContentLayerClient delegate; local
[all...]

Completed in 822 milliseconds

1234567891011>>