Searched refs:dispatcher (Results 1 - 25 of 316) sorted by relevance

1234567891011>>

/external/chromium_org/ppapi/proxy/
H A Dppb_var_deprecated_proxy.cc35 // exception is set, returns NULL. Otherwise, computes the dispatcher for the
47 // Get the dispatcher for the object.
48 PluginDispatcher* dispatcher = local
51 if (dispatcher)
52 return dispatcher;
55 // The object is invalid. This means we can't figure out which dispatcher
70 Dispatcher* dispatcher = CheckExceptionAndGetDispatcher(var, exception); local
71 if (!dispatcher)
74 ReceiveSerializedException se(dispatcher, exception);
77 dispatcher
89 Dispatcher* dispatcher = CheckExceptionAndGetDispatcher(var, exception); local
108 Dispatcher* dispatcher = CheckExceptionAndGetDispatcher(var, exception); local
128 Dispatcher* dispatcher = CheckExceptionAndGetDispatcher(var, exception); local
151 Dispatcher* dispatcher = CheckExceptionAndGetDispatcher(var, exception); local
169 Dispatcher* dispatcher = CheckExceptionAndGetDispatcher(var, exception); local
189 Dispatcher* dispatcher = CheckExceptionAndGetDispatcher(object, exception); local
213 Dispatcher* dispatcher = CheckExceptionAndGetDispatcher(object, exception); local
235 Dispatcher* dispatcher = CheckExceptionAndGetDispatcher(var, NULL); local
254 Dispatcher* dispatcher = PluginDispatcher::GetForInstance(instance); local
279 CreateVarDeprecatedProxy(Dispatcher* dispatcher) argument
285 PPB_Var_Deprecated_Proxy( Dispatcher* dispatcher) argument
[all...]
H A Dinterface_proxy.cc8 #include "ppapi/proxy/dispatcher.h"
13 InterfaceProxy::InterfaceProxy(Dispatcher* dispatcher) argument
14 : dispatcher_(dispatcher) {
H A Dppp_text_input_proxy.cc20 proxy::HostDispatcher* dispatcher = local
22 if (!dispatcher) {
23 // The dispatcher should always be valid.
28 dispatcher->Send(new PpapiMsg_PPPTextInput_RequestSurroundingText(
47 PPP_TextInput_Proxy::PPP_TextInput_Proxy(Dispatcher* dispatcher) argument
48 : InterfaceProxy(dispatcher),
50 if (dispatcher->IsPlugin()) {
52 dispatcher->local_get_interface()(PPP_TEXTINPUT_DEV_INTERFACE));
60 if (!dispatcher()->IsPlugin())
H A Dppp_instance_private_proxy.cc23 Dispatcher* dispatcher = HostDispatcher::GetForInstance(instance); local
24 if (!dispatcher->permissions().HasPermission(PERMISSION_PRIVATE))
28 dispatcher->Send(new PpapiMsg_PPPInstancePrivate_GetInstanceObject(
30 return result.Return(dispatcher);
37 InterfaceProxy* CreateInstancePrivateProxy(Dispatcher* dispatcher) { argument
38 return new PPP_Instance_Private_Proxy(dispatcher);
43 PPP_Instance_Private_Proxy::PPP_Instance_Private_Proxy(Dispatcher* dispatcher) argument
44 : InterfaceProxy(dispatcher),
46 if (dispatcher->IsPlugin()) {
48 dispatcher
[all...]
H A Dppp_messaging_proxy.cc26 HostDispatcher* dispatcher = HostDispatcher::GetForInstance(instance); local
27 if (!dispatcher || (message_data.type == PP_VARTYPE_OBJECT)) {
28 // The dispatcher should always be valid, and the browser should never send
34 dispatcher->Send(new PpapiMsg_PPPMessaging_HandleMessage(
37 SerializedVarSendInputShmem(dispatcher, message_data, instance)));
48 InterfaceProxy* CreateMessagingProxy(Dispatcher* dispatcher) { argument
49 return new PPP_Messaging_Proxy(dispatcher);
54 PPP_Messaging_Proxy::PPP_Messaging_Proxy(Dispatcher* dispatcher) argument
55 : InterfaceProxy(dispatcher),
57 if (dispatcher
[all...]
H A Dppp_graphics_3d_proxy.cc32 InterfaceProxy* CreateGraphics3DProxy(Dispatcher* dispatcher) { argument
33 return new PPP_Graphics3D_Proxy(dispatcher);
38 PPP_Graphics3D_Proxy::PPP_Graphics3D_Proxy(Dispatcher* dispatcher) argument
39 : InterfaceProxy(dispatcher),
41 if (dispatcher->IsPlugin()) {
43 dispatcher->local_get_interface()(PPP_GRAPHICS_3D_INTERFACE));
63 if (!dispatcher()->IsPlugin())
H A Dppp_mouse_lock_proxy.cc19 HostDispatcher* dispatcher = HostDispatcher::GetForInstance(instance); local
20 if (!dispatcher) {
21 // The dispatcher should always be valid.
26 dispatcher->Send(new PpapiMsg_PPPMouseLock_MouseLockLost(
38 InterfaceProxy* CreateMouseLockProxy(Dispatcher* dispatcher) { argument
39 return new PPP_MouseLock_Proxy(dispatcher);
44 PPP_MouseLock_Proxy::PPP_MouseLock_Proxy(Dispatcher* dispatcher) argument
45 : InterfaceProxy(dispatcher),
47 if (dispatcher->IsPlugin()) {
49 dispatcher
[all...]
H A Dppp_input_event_proxy.cc31 HostDispatcher* dispatcher = HostDispatcher::GetForInstance(instance); local
32 if (!dispatcher) {
40 dispatcher->Send(new PpapiMsg_PPPInputEvent_HandleFilteredInputEvent(
43 dispatcher->Send(new PpapiMsg_PPPInputEvent_HandleInputEvent(
57 InterfaceProxy* CreateInputEventProxy(Dispatcher* dispatcher) { argument
58 return new PPP_InputEvent_Proxy(dispatcher);
63 PPP_InputEvent_Proxy::PPP_InputEvent_Proxy(Dispatcher* dispatcher) argument
64 : InterfaceProxy(dispatcher),
66 if (dispatcher->IsPlugin()) {
68 dispatcher
[all...]
H A Dppp_class_proxy.cc10 #include "ppapi/proxy/dispatcher.h"
28 : dispatcher(d),
33 Dispatcher* dispatcher; member in struct:ppapi::proxy::__anon9484::ObjectProxy
40 if (!obj || !obj->dispatcher)
42 if (!obj->dispatcher->permissions().HasPermission(PERMISSION_DEV))
53 ReceiveSerializedException se(obj->dispatcher, exception);
54 obj->dispatcher->Send(new PpapiMsg_PPPClass_HasProperty(
56 SerializedVarSendInput(obj->dispatcher, name), &se, &result));
66 ReceiveSerializedException se(obj->dispatcher, exception);
67 obj->dispatcher
207 PPP_Class_Proxy(Dispatcher* dispatcher) argument
215 Create(Dispatcher* dispatcher) argument
220 CreateProxiedObject(const PPB_Var_Deprecated* var, Dispatcher* dispatcher, PP_Instance instance_id, int64 ppp_class, int64 class_data) argument
[all...]
H A Dppp_content_decryptor_private_proxy.cc42 HostDispatcher* dispatcher,
45 if (!dispatcher || resource == 0 || !shared_mem_handle)
63 *shared_mem_handle = dispatcher->ShareHandleWithRemote(platform_file, false);
70 PP_Var ExtractReceivedVarAndAddRef(Dispatcher* dispatcher, argument
72 PP_Var var = serialized_var->Get(dispatcher);
78 HostDispatcher* dispatcher,
101 if (ShareHostBufferResourceToPlugin(dispatcher,
116 HostDispatcher* dispatcher = HostDispatcher::GetForInstance(instance); local
117 if (!dispatcher) {
122 dispatcher
41 ShareHostBufferResourceToPlugin( HostDispatcher* dispatcher, PP_Resource resource, base::SharedMemoryHandle* shared_mem_handle) argument
77 InitializePppDecryptorBuffer(PP_Instance instance, HostDispatcher* dispatcher, PP_Resource resource, PPPDecryptor_Buffer* buffer) argument
135 HostDispatcher* dispatcher = HostDispatcher::GetForInstance(instance); local
151 HostDispatcher* dispatcher = HostDispatcher::GetForInstance(instance); local
167 HostDispatcher* dispatcher = HostDispatcher::GetForInstance(instance); local
205 HostDispatcher* dispatcher = HostDispatcher::GetForInstance(instance); local
243 HostDispatcher* dispatcher = HostDispatcher::GetForInstance(instance); local
281 HostDispatcher* dispatcher = HostDispatcher::GetForInstance(instance); local
298 HostDispatcher* dispatcher = HostDispatcher::GetForInstance(instance); local
316 HostDispatcher* dispatcher = HostDispatcher::GetForInstance(instance); local
365 PPP_ContentDecryptor_Private_Proxy( Dispatcher* dispatcher) argument
[all...]
H A Dinterface_proxy.h25 typedef InterfaceProxy* (*Factory)(Dispatcher* dispatcher);
32 // getting the proxied interface on the source side (see dispatcher.h for
47 Dispatcher* dispatcher() const { return dispatcher_; } function in class:ppapi::proxy::InterfaceProxy
56 // Creates the given interface associated with the given dispatcher. The
57 // dispatcher manages our lifetime.
58 InterfaceProxy(Dispatcher* dispatcher);
/external/chromium_org/chrome/test/webdriver/
H A Dwebdriver_server.cc78 void InitCallbacks(Dispatcher* dispatcher, argument
81 dispatcher->AddShutdown("/shutdown", shutdown_event);
82 dispatcher->AddStatus("/status");
83 dispatcher->AddLog("/log");
85 dispatcher->Add<CreateSession>("/session");
88 dispatcher->Add<FindOneElementCommand>( "/session/*/element");
89 dispatcher->Add<FindManyElementsCommand>("/session/*/elements");
90 dispatcher->Add<ActiveElementCommand>( "/session/*/element/active");
91 dispatcher->Add<FindOneElementCommand>( "/session/*/element/*/element");
92 dispatcher
[all...]
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DEventDispatchMediator.cpp49 bool EventDispatchMediator::dispatchEvent(EventDispatcher* dispatcher) const
51 ASSERT(m_event.get() == dispatcher->event());
52 return dispatcher->dispatch();
H A DFocusEvent.cpp80 bool FocusEventDispatchMediator::dispatchEvent(EventDispatcher* dispatcher) const
82 EventRetargeter::adjustForFocusEvent(dispatcher->node(), *event());
83 return EventDispatchMediator::dispatchEvent(dispatcher);
96 bool BlurEventDispatchMediator::dispatchEvent(EventDispatcher* dispatcher) const
98 EventRetargeter::adjustForFocusEvent(dispatcher->node(), *event());
99 return EventDispatchMediator::dispatchEvent(dispatcher);
112 bool FocusInEventDispatchMediator::dispatchEvent(EventDispatcher* dispatcher) const
114 EventRetargeter::adjustForFocusEvent(dispatcher->node(), *event());
115 return EventDispatchMediator::dispatchEvent(dispatcher);
128 bool FocusOutEventDispatchMediator::dispatchEvent(EventDispatcher* dispatcher) cons
[all...]
/external/chromium_org/content/child/indexed_db/
H A Dproxy_webidbfactory_impl.cc30 IndexedDBDispatcher* dispatcher = local
32 dispatcher->RequestIDBFactoryGetDatabaseNames(callbacks,
43 IndexedDBDispatcher* dispatcher = local
45 dispatcher->RequestIDBFactoryOpen(name,
57 IndexedDBDispatcher* dispatcher = local
59 dispatcher->RequestIDBFactoryDeleteDatabase(
/external/chromium_org/content/renderer/
H A Dmouse_lock_dispatcher_browsertest.cc46 MouseLockDispatcher* dispatcher() { return view()->mouse_lock_dispatcher(); } function in class:content::__anon8026::MouseLockDispatcherTest
84 EXPECT_FALSE(dispatcher()->IsMouseLockedTo(NULL));
85 EXPECT_FALSE(dispatcher()->IsMouseLockedTo(target_));
88 EXPECT_TRUE(dispatcher()->LockMouse(target_));
90 EXPECT_TRUE(dispatcher()->IsMouseLockedTo(target_));
93 dispatcher()->WillHandleMouseEvent(WebKit::WebMouseEvent());
96 dispatcher()->UnlockMouse(target_);
98 EXPECT_FALSE(dispatcher()->IsMouseLockedTo(target_));
101 EXPECT_TRUE(dispatcher()->LockMouse(target_));
103 EXPECT_FALSE(dispatcher()
[all...]
/external/chromium_org/chrome/renderer/extensions/
H A Dchrome_v8_extension.cc15 #include "chrome/renderer/extensions/dispatcher.h"
28 ChromeV8Extension::ChromeV8Extension(Dispatcher* dispatcher, argument
31 dispatcher_(dispatcher) {
32 CHECK(dispatcher);
H A Dcontext_menus_custom_bindings.h15 ContextMenusCustomBindings(Dispatcher* dispatcher, ChromeV8Context* context);
H A Dcontext_menus_custom_bindings.cc27 Dispatcher* dispatcher, ChromeV8Context* context)
28 : ChromeV8Extension(dispatcher, context) {
26 ContextMenusCustomBindings( Dispatcher* dispatcher, ChromeV8Context* context) argument
H A Dtts_custom_bindings.cc16 Dispatcher* dispatcher, ChromeV8Context* context)
17 : ChromeV8Extension(dispatcher, context) {
15 TTSCustomBindings( Dispatcher* dispatcher, ChromeV8Context* context) argument
/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-2539.js31 var dispatcher = {};
32 dispatcher.func = C;
40 dispatcher.func.apply(this, arguments);
/external/chromium_org/content/renderer/media/
H A Dmedia_stream_dispatcher_unittest.cc89 scoped_ptr<MediaStreamDispatcher> dispatcher(new MediaStreamDispatcher(NULL));
95 int ipc_request_id1 = dispatcher->next_ipc_id_;
96 dispatcher->GenerateStream(kRequestId1, handler.get()->AsWeakPtr(),
98 int ipc_request_id2 = dispatcher->next_ipc_id_;
100 dispatcher->GenerateStream(kRequestId2, handler.get()->AsWeakPtr(),
102 EXPECT_EQ(dispatcher->requests_.size(), size_t(2));
120 dispatcher->OnMessageReceived(MediaStreamMsg_StreamGenerated(
128 dispatcher->OnMessageReceived(MediaStreamMsg_StreamGenerated(
134 EXPECT_EQ(dispatcher->requests_.size(), size_t(0));
135 EXPECT_EQ(dispatcher
[all...]
/external/chromium_org/base/message_loop/
H A Dmessage_pump_ozone.cc34 MessagePumpDispatcher* dispatcher) {
37 dispatcher_.insert(dispatcher_.begin(),dispatcher);
41 MessagePumpDispatcher* dispatcher) {
53 // This code assumes that the caller tracks the lifetime of the |dispatcher|.
55 Delegate* delegate, MessagePumpDispatcher* dispatcher) {
56 dispatcher_.push_back(dispatcher);
33 AddDispatcherForRootWindow( MessagePumpDispatcher* dispatcher) argument
40 RemoveDispatcherForRootWindow( MessagePumpDispatcher* dispatcher) argument
54 RunWithDispatcher( Delegate* delegate, MessagePumpDispatcher* dispatcher) argument
H A Dmessage_pump_ozone.h28 // Add/Remove the root window dispatcher.
29 void AddDispatcherForRootWindow(MessagePumpDispatcher* dispatcher);
30 void RemoveDispatcherForRootWindow(MessagePumpDispatcher* dispatcher);
32 void RunWithDispatcher(Delegate* delegate, MessagePumpDispatcher* dispatcher);
/external/chromium_org/content/child/fileapi/
H A Dfile_system_dispatcher.cc27 CallbackDispatcher* dispatcher = new CallbackDispatcher; local
28 dispatcher->status_callback_ = callback;
29 dispatcher->error_callback_ = callback;
30 return dispatcher;
34 CallbackDispatcher* dispatcher = new CallbackDispatcher; local
35 dispatcher->metadata_callback_ = callback;
36 dispatcher->error_callback_ = error_callback;
37 return dispatcher;
41 CallbackDispatcher* dispatcher = new CallbackDispatcher; local
42 dispatcher
48 CallbackDispatcher* dispatcher = new CallbackDispatcher; local
55 CallbackDispatcher* dispatcher = new CallbackDispatcher; local
62 CallbackDispatcher* dispatcher = new CallbackDispatcher; local
69 CallbackDispatcher* dispatcher = new CallbackDispatcher; local
142 CallbackDispatcher* dispatcher = iter.GetCurrentValue(); local
342 CallbackDispatcher* dispatcher = dispatchers_.Lookup(request_id); local
349 CallbackDispatcher* dispatcher = dispatchers_.Lookup(request_id); local
357 CallbackDispatcher* dispatcher = dispatchers_.Lookup(request_id); local
366 CallbackDispatcher* dispatcher = dispatchers_.Lookup(request_id); local
376 CallbackDispatcher* dispatcher = dispatchers_.Lookup(request_id); local
384 CallbackDispatcher* dispatcher = dispatchers_.Lookup(request_id); local
392 CallbackDispatcher* dispatcher = dispatchers_.Lookup(request_id); local
404 CallbackDispatcher* dispatcher = dispatchers_.Lookup(request_id); local
[all...]

Completed in 360 milliseconds

1234567891011>>