Searched defs:handler (Results 251 - 275 of 732) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/content/renderer/input/
H A Dinput_event_filter.cc59 void InputEventFilter::SetBoundHandler(const Handler& handler) { argument
61 handler_ = handler;
/external/chromium_org/content/test/ppapi/
H A Dppapi_test.cc96 PPAPITestMessageHandler handler; local
97 JavascriptTestObserver observer(shell()->web_contents(), &handler);
100 ASSERT_TRUE(observer.Run()) << handler.error_message();
101 EXPECT_STREQ("PASS", handler.message().c_str());
/external/chromium_org/extensions/common/
H A Dextension_l10n_util_unittest.cc246 file_handler_title_tree->SetString("message", "file handler title");
441 base::DictionaryValue* handler = new base::DictionaryValue(); local
442 handlers->Append(handler);
443 handler->SetString(keys::kPageActionDefaultTitle,
459 ASSERT_TRUE(handler->GetString(keys::kPageActionDefaultTitle, &result));
460 EXPECT_EQ("file handler title", result);
/external/chromium_org/extensions/common/manifest_handlers/
H A Dfile_handler_info.cc23 const char kNotRecognized[] = "'%s' is not a recognized file handler property.";
52 FileHandlerInfo handler; local
54 handler.id = handler_id;
90 handler.types.insert(type);
104 handler.extensions.insert(file_extension);
108 file_handlers->push_back(handler);
138 const base::DictionaryValue* handler = NULL; local
139 if (iter.value().GetAsDictionary(&handler)) {
141 *handler,
/external/chromium_org/extensions/shell/browser/
H A Dshell_audio_controller_chromeos.cc104 chromeos::CrasAudioHandler* handler = chromeos::CrasAudioHandler::Get(); local
106 handler->GetAudioDevices(&devices);
119 if (best_input && best_input != handler->GetPrimaryActiveInputNode()) {
123 handler->SwitchToDevice(*device, true);
125 if (best_output && best_output != handler->GetPrimaryActiveOutputNode()) {
129 handler->SwitchToDevice(*device, true);
H A Dshell_network_controller_chromeos.cc148 chromeos::NetworkHandler* handler = chromeos::NetworkHandler::Get(); local
150 handler->network_state_handler()->GetVisibleNetworkListByType(
187 handler->network_connection_handler()->ConnectToNetwork(
/external/chromium_org/jingle/glue/
H A Dthread_wrapper_unittest.cc36 MATCHER_P3(MatchMessage, handler, message_id, data, "") {
37 return arg->phandler == handler &&
70 MockMessageHandler handler; local
72 EXPECT_CALL(handler, OnMessage(
73 MatchMessage(&handler, kTestMessage2, data)))
75 thread_->Send(&handler, kTestMessage2, data);
209 // Verify that the queue is cleared when a handler is destroyed.
213 MockMessageHandler handler; local
214 handler_ptr = &handler;
215 thread_->Post(&handler, kTestMessage
[all...]
/external/chromium_org/net/http/
H A Dhttp_auth_handler_digest_unittest.cc53 scoped_ptr<HttpAuthHandler> handler; local
55 // Create a handler for a particular challenge.
58 challenge, target, url_origin.GetOrigin(), BoundNetLog(), &handler);
59 if (rv_create != OK || handler.get() == NULL) {
60 ADD_FAILURE() << "Unable to create auth handler.";
73 int rv_generate = handler->GenerateAuthToken(
355 scoped_ptr<HttpAuthHandler> handler; local
360 &handler);
365 EXPECT_TRUE(handler.get() == NULL);
368 ASSERT_TRUE(handler
520 scoped_ptr<HttpAuthHandler> handler; local
547 scoped_ptr<HttpAuthHandler> handler; local
[all...]
H A Dhttp_auth_handler_factory.cc27 scoped_ptr<HttpAuthHandler>* handler) {
30 net_log, handler);
39 scoped_ptr<HttpAuthHandler>* handler) {
42 digest_nonce_count, net_log, handler);
182 scoped_ptr<HttpAuthHandler>* handler) {
185 handler->reset();
191 handler->reset();
196 digest_nonce_count, net_log, handler);
22 CreateAuthHandlerFromString( const std::string& challenge, HttpAuth::Target target, const GURL& origin, const BoundNetLog& net_log, scoped_ptr<HttpAuthHandler>* handler) argument
33 CreatePreemptiveAuthHandlerFromString( const std::string& challenge, HttpAuth::Target target, const GURL& origin, int digest_nonce_count, const BoundNetLog& net_log, scoped_ptr<HttpAuthHandler>* handler) argument
175 CreateAuthHandler( HttpAuthChallengeTokenizer* challenge, HttpAuth::Target target, const GURL& origin, CreateReason reason, int digest_nonce_count, const BoundNetLog& net_log, scoped_ptr<HttpAuthHandler>* handler) argument
H A Dhttp_auth_handler_mock.cc163 HttpAuthHandler* handler, HttpAuth::Target target) {
164 handlers_[target].push_back(handler);
174 scoped_ptr<HttpAuthHandler>* handler) {
183 handler->swap(tmp_handler);
162 AddMockHandler( HttpAuthHandler* handler, HttpAuth::Target target) argument
167 CreateAuthHandler( HttpAuthChallengeTokenizer* challenge, HttpAuth::Target target, const GURL& origin, CreateReason reason, int nonce_count, const BoundNetLog& net_log, scoped_ptr<HttpAuthHandler>* handler) argument
H A Dhttp_auth_handler_negotiate_unittest.cc178 scoped_ptr<HttpAuthHandlerNegotiate>* handler) {
187 // after creating the handler, and make sure that generic_handler
199 handler->reset(negotiate_handler);
175 CreateHandler(bool disable_cname_lookup, bool use_port, bool synchronous_resolve_mode, const std::string& url_string, scoped_ptr<HttpAuthHandlerNegotiate>* handler) argument
/external/chromium_org/ppapi/native_client/tests/nacl_browser/fault_injection/
H A Dfault_pm_nameservice_test.cc155 void (*handler)(const pp::Var& message_data, nacl::StringBuffer* out); member in struct:PostMessageHandlerDesc
185 fprintf(stderr, "Searching for handler for request \"%s\".\n",
191 kMsgHandlers[ix].handler(message_data, &sb);
/external/chromium_org/remoting/host/
H A Dcurtain_mode_mac.cc31 // Because the switch-in handler can only called on the main (UI) thread, this
32 // class installs the handler and detaches the current session from the console
48 // Detaches the session from the console and install the switch-in handler to
52 // Installs the switch-in handler.
55 // Removes the switch-in handler.
62 static OSStatus SessionActivateHandler(EventHandlerCallRef handler,
129 // Try to install the switch-in handler. Do this before switching out the
132 LOG(ERROR) << "Failed to install the switch-in handler.";
212 OSStatus SessionWatcher::SessionActivateHandler(EventHandlerCallRef handler, argument
/external/chromium_org/sync/android/java/src/org/chromium/sync/signin/
H A DAccountManagerDelegate.java26 boolean notifyAuthFailure, AccountManagerCallback<Bundle> callback, Handler handler);
29 Activity activity, AccountManagerCallback<Bundle> callback, Handler handler);
41 AccountManagerCallback<Boolean> callback, Handler handler);
50 Activity activity, AccountManagerCallback<Bundle> callback, Handler handler);
25 getAuthToken(Account account, String authTokenType, boolean notifyAuthFailure, AccountManagerCallback<Bundle> callback, Handler handler) argument
28 getAuthToken(Account account, String authTokenType, Bundle options, Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument
40 removeAccount(Account account, AccountManagerCallback<Boolean> callback, Handler handler) argument
49 confirmCredentials(Account account, Bundle bundle, Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument
H A DSystemAccountManagerDelegate.java40 boolean notifyAuthFailure, AccountManagerCallback<Bundle> callback, Handler handler) {
42 callback, handler);
48 Handler handler) {
50 handler);
77 AccountManagerCallback<Boolean> callback, Handler handler) {
78 return mAccountManager.removeAccount(account, callback, handler);
98 Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) {
99 return mAccountManager.confirmCredentials(account, bundle, activity, callback, handler);
39 getAuthToken(Account account, String authTokenType, boolean notifyAuthFailure, AccountManagerCallback<Bundle> callback, Handler handler) argument
46 getAuthToken(Account account, String authTokenType, Bundle options, Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument
76 removeAccount(Account account, AccountManagerCallback<Boolean> callback, Handler handler) argument
97 confirmCredentials(Account account, Bundle bundle, Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
H A DV8NPUtils.cpp133 ExceptionHandler handler; member in struct:blink::ExceptionHandlerInfo
139 void pushExceptionHandler(ExceptionHandler handler, void* data) argument
143 info->handler = handler;
168 topHandler->handler(topHandler->data, *v8::String::Utf8Value(m_tryCatch.Exception()));
/external/chromium_org/third_party/WebKit/Source/modules/mediastream/
H A DRTCDTMFSender.cpp49 OwnPtr<WebRTCDTMFSenderHandler> handler = adoptPtr(peerConnectionHandler->createDTMFSender(track->component())); local
50 if (!handler) {
55 RTCDTMFSender* dtmfSender = adoptRefCountedGarbageCollectedWillBeNoop(new RTCDTMFSender(context, track, handler.release()));
60 RTCDTMFSender::RTCDTMFSender(ExecutionContext* context, MediaStreamTrack* track, PassOwnPtr<WebRTCDTMFSenderHandler> handler) argument
65 , m_handler(handler)
/external/chromium_org/third_party/WebKit/Source/platform/text/
H A DDateTimeFormatTest.cpp166 TokenHandler handler; local
167 if (!DateTimeFormat::parse(formatString, handler))
169 return handler.tokens();
177 TokenHandler handler; local
178 if (!DateTimeFormat::parse(formatString, handler))
180 return handler.fieldType(0);
/external/chromium_org/third_party/android_crazy_linker/src/src/
H A Dcrazy_linker_rdebug.h160 // A callback handler is a static function, either AddEntryInternal() or
209 // Post handler for delayed execution. Return true if delayed execution
211 bool PostCallback(rdebug_callback_handler_t handler, link_map_t* entry);
213 // Run handler as a callback if enabled, otherwise immediately.
214 void RunOrDelay(rdebug_callback_handler_t handler, link_map_t* entry) { argument
215 if (!PostCallback(handler, entry))
216 (*handler)(this, entry);
/external/chromium_org/third_party/libevent/
H A Dsignal.c70 /* Callback for when the signal handler write a byte to our signaling socket */
101 * Our signal handler is going to write to one end of the socket
137 /* Helper: set the signal handler for evsignal to handler in base, so that
138 * we can restore the original handler when we clear the current one. */
141 int evsignal, void (*handler)(int))
152 * resize saved signal handler array up to the highest signal number.
172 /* allocate space for previous handler out of dynamic array */
179 /* save previous handler and setup new handler */
140 _evsignal_set_handler(struct event_base *base, int evsignal, void (*handler)(int)) argument
[all...]
/external/chromium_org/third_party/libjingle/source/talk/media/devices/
H A Dcarbonvideorenderer.cc53 OSStatus CarbonVideoRenderer::DrawEventHandler(EventHandlerCallRef handler, argument
174 LOG(LS_ERROR) << "Failed to install event handler, error code: " << err;
/external/chromium_org/third_party/webrtc/base/
H A Dcriticalsection_unittest.cc100 MessageHandler* handler) {
104 thread->Post(handler);
99 StartThreads(ScopedPtrCollection<Thread>* threads, MessageHandler* handler) argument
H A Dmessagequeue_unittest.cc107 DeletedMessageHandler *handler = new DeletedMessageHandler(&deleted); local
109 Dispose(handler);
111 Post(handler, 1);
137 DeletedMessageHandler* handler = new DeletedMessageHandler(&deleted); local
138 delete handler;
/external/chromium_org/third_party/webrtc/examples/android/media_demo/src/org/webrtc/webrtcdemo/
H A DWebRTCDemo.java78 private Handler handler; field in class:WebRTCDemo
215 handler = new Handler();
216 handler.postDelayed(startOrStopCallback, getCallRestartPeriodicity());
221 if (handler != null) {
222 handler.removeCallbacks(startOrStopCallback);
231 handler.postDelayed(startOrStopCallback, getCallRestartPeriodicity());
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
H A Dvalparam.h84 void (*handler) (yasm_object *object, yasm_valparamhead *valparams, member in struct:yasm_directive
87 /** Flags for pre-handler parameter checking. */

Completed in 420 milliseconds

<<11121314151617181920>>