Home
last modified time | relevance | path

Searched full:handlers (Results 1 – 25 of 1532) sorted by relevance

12345678910>>...62

/external/chromium_org/chrome/browser/resources/options/
Dhandler_options.js18 'handlers',
29 * The handlers list.
46 * Creates, decorates and initializes the handlers list.
50 this.handlersList_ = $('handlers-list');
54 this.ignoredHandlersList_ = $('ignored-handlers-list');
61 * Sets the list of handlers shown by the view.
62 * @param {Array} Handlers to be shown in the view.
64 HandlerOptions.setHandlers = function(handlers) { argument
65 $('handlers-list').setHandlers(handlers);
69 * Sets the list of ignored handlers shown by the view.
[all …]
Dhandler_options.html6 <div class="handlers-column-headers">
7 <div class="handlers-type-column">
10 <div class="handlers-site-column">
13 <div class="handlers-remove-column"></div>
15 <list id="handlers-list"></list>
17 <div id="ignored-handlers-section">
19 <div class="handlers-column-headers">
20 <div class="handlers-type-column">
23 <div class="handlers-site-column">
26 <div class="handlers-remove-column"></div>
[all …]
Dhandler_options.css5 .handlers-column-headers {
11 .handlers-type-column {
17 .handlers-site-column {
21 .handlers-site-column select {
25 .handlers-remove-column {
29 .handlers-remove-link {
38 div > .handlers-remove-column {
42 div:not(.none):hover > .handlers-remove-column {
46 #handlers {
Dhandler_options_list.js17 * @param {Object} entry A dictionary describing the handlers for a given
40 protocolElement.className = 'handlers-type-column';
46 hostElement.className = 'handlers-site-column';
74 * Set the protocol handlers displayed by this list. See
78 * @param {Object} list A list of ignored protocol handlers.
92 * handlers: [
97 * @param {Object} entry A dictionary describing the handlers for a given
117 protocolElement.className = 'handlers-type-column';
130 for (var i = 0; i < data.handlers.length; ++i) {
133 optionElement.textContent = data.handlers[i][2];
[all …]
/external/oprofile/daemon/
Dopd_extended.c58 && ext_feature_table[opd_ext_feat_index].handlers != NULL) in is_ext_enabled()
68 && ext_feature_table[opd_ext_feat_index].handlers != NULL in is_ext_sfile_enabled()
69 && ext_feature_table[opd_ext_feat_index].handlers->ext_sfile != NULL) in is_ext_sfile_enabled()
102 ret = ext_feature_table[opd_ext_feat_index].handlers->ext_init(args); in opd_ext_initialize()
120 ret = ext_feature_table[opd_ext_feat_index].handlers->ext_deinit(); in opd_ext_deinitialize()
129 && ext_feature_table[opd_ext_feat_index].handlers->ext_print_stats != NULL) { in opd_ext_print_stats()
131 ext_feature_table[opd_ext_feat_index].handlers->ext_print_stats(); in opd_ext_print_stats()
143 && ext_feature_table[opd_ext_feat_index].handlers->ext_sfile->create != NULL) in opd_ext_sfile_create()
144 ext_feature_table[opd_ext_feat_index].handlers->ext_sfile->create(sf); in opd_ext_sfile_create()
152 && ext_feature_table[opd_ext_feat_index].handlers->ext_sfile->dup != NULL) in opd_ext_sfile_dup()
[all …]
/external/chromium_org/third_party/webrtc/modules/desktop_capture/x11/
Dshared_x_display.cc51 EventHandlersMap::iterator handlers = event_handlers_.find(type); in RemoveEventHandler() local
52 if (handlers == event_handlers_.end()) in RemoveEventHandler()
56 std::remove(handlers->second.begin(), handlers->second.end(), handler); in RemoveEventHandler()
57 handlers->second.erase(new_end, handlers->second.end()); in RemoveEventHandler()
59 // Check if no handlers left for this event. in RemoveEventHandler()
60 if (handlers->second.empty()) in RemoveEventHandler()
61 event_handlers_.erase(handlers); in RemoveEventHandler()
76 EventHandlersMap::iterator handlers = event_handlers_.find(e.type); in ProcessPendingXEvents() local
77 if (handlers == event_handlers_.end()) in ProcessPendingXEvents()
79 for (std::vector<XEventHandler*>::iterator it = handlers->second.begin(); in ProcessPendingXEvents()
[all …]
/external/chromium_org/chrome/browser/custom_handlers/
Dprotocol_handler_registry.h31 // This is where handlers for protocols registered with
163 // Removes all handlers that have the same origin and protocol as the given
164 // one and installs the given handler. Returns true if any protocol handlers
168 // Returns a list of protocol handlers that can be replaced by the given
183 // Returns the offset in the list of handlers for a protocol of the default
187 // Get the list of protocol handlers for the given scheme.
190 // Get the list of ignored protocol handlers.
193 // Yields a list of the protocols that have handlers registered in this
197 // Returns true if we allow websites to register handlers for the given
229 // Puts this registry in the enabled state - registered protocol handlers
[all …]
Dprotocol_handler_registry.cc44 // If true default protocol handlers will be removed if the OS level
104 // Copy of protocol handlers use only on the IO thread.
385 const ProtocolHandlerList* handlers = GetHandlerList(handler.protocol()); in GetReplacedHandlers() local
386 if (!handlers) in GetReplacedHandlers()
388 for (ProtocolHandlerList::const_iterator p = handlers->begin(); in GetReplacedHandlers()
389 p != handlers->end(); p++) { in GetReplacedHandlers()
417 // Only chromeos has default protocol handlers at this point. in InstallDefaultsForChromeOS()
476 const ProtocolHandlerList* handlers = GetHandlerList(scheme); in GetHandlerIndex() local
477 if (!handlers) in GetHandlerIndex()
482 for (i = 0, p = handlers->begin(); p != handlers->end(); ++p, ++i) { in GetHandlerIndex()
[all …]
/external/dexmaker/src/dx/java/com/android/dx/dex/code/
DCatchTable.java102 /** {@code non-null;} list of catch handlers */
103 private final CatchHandlerList handlers; field in CatchTable.Entry
110 * @param handlers {@code non-null;} list of catch handlers
112 public Entry(int start, int end, CatchHandlerList handlers) { in Entry() argument
121 if (handlers.isMutable()) { in Entry()
122 throw new IllegalArgumentException("handlers.isMutable()"); in Entry()
127 this.handlers = handlers; in Entry()
134 hash = (hash * 31) + handlers.hashCode(); in hashCode()
162 return handlers.compareTo(other.handlers); in compareTo()
184 * Gets the handlers.
[all …]
DStdCatchBuilder.java144 CatchHandlerList handlers = handlersFor(block, addresses); in build() local
150 currentHandlers = handlers; in build()
154 if (currentHandlers.equals(handlers) in build()
157 * The block we are looking at now has the same handlers in build()
167 * The block we are looking at now has incompatible handlers, in build()
169 * one. Note: We only emit an entry if it has associated handlers. in build()
180 currentHandlers = handlers; in build()
267 * handlers.
271 * @param handlers {@code non-null;} the handlers for the range
275 BasicBlock end, CatchHandlerList handlers, in makeEntry() argument
[all …]
/external/chromium_org/chrome/browser/policy/
Dconfiguration_policy_handler_list_factory.cc540 scoped_ptr<ConfigurationPolicyHandlerList> handlers( in BuildHandlerList() local
545 handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>( in BuildHandlerList()
551 handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>( in BuildHandlerList()
553 handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>( in BuildHandlerList()
555 handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>( in BuildHandlerList()
557 handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>( in BuildHandlerList()
559 handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>( in BuildHandlerList()
561 handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>( in BuildHandlerList()
565 handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>( in BuildHandlerList()
567 handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>( in BuildHandlerList()
[all …]
/external/chromium_org/components/invalidation/
Dinvalidator_registrar.h26 // keep track of registered handlers and which object ID registrations are
27 // associated with which handlers, so implementors can just reuse the logic
33 // It is an error to have registered handlers on destruction.
54 // handlers that have been unregistered).
60 // invalidations for handlers that are not added.
65 // all handlers. Note that the order is important; handlers that
74 // Gets a new map for the name of invalidator handlers and their
76 // to display every registered handlers and its objectsIds.
/external/chromium_org/extensions/common/
Dmanifest_handler.h64 // Manifest handlers must be registered at process startup in
83 // manifest handlers to be registered.
88 // Call Parse on all registered manifest handlers that should parse
92 // Call Validate on all registered manifest handlers for this extension.
102 // Calls |CreateInitialRequiredPermission| on all registered manifest handlers
105 // in the manifest data property of |extension|, as manifest handlers need
112 // A convenience method for handlers that only register for 1 key,
121 // The global registry for manifest handlers.
155 // Puts the manifest handlers in order such that each handler comes after
156 // any handlers for their PrerequisiteKeys. If there is no handler for
[all …]
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/plugin_settings/domui/js/cr/
Devent_target.js34 var handlers = this.listeners_[type];
35 if (handlers.indexOf(handler) < 0)
36 handlers.push(handler);
50 var handlers = this.listeners_[type];
51 var index = handlers.indexOf(handler);
54 if (handlers.length == 1)
57 handlers.splice(index, 1);
87 var handlers = this.listeners_[type].concat();
88 for (var i = 0, handler; handler = handlers[i]; i++) {
/external/chromium_org/ui/webui/resources/js/cr/
Devent_target.js34 var handlers = this.listeners_[type];
35 if (handlers.indexOf(handler) < 0)
36 handlers.push(handler);
50 var handlers = this.listeners_[type];
51 var index = handlers.indexOf(handler);
54 if (handlers.length == 1)
57 handlers.splice(index, 1);
84 var handlers = this.listeners_[type].concat();
85 for (var i = 0, handler; handler = handlers[i]; i++) {
/external/chromium_org/chrome/common/extensions/api/file_browser_handlers/
Dfile_browser_handler_manifest_unittest.cc73 FileBrowserHandler::List* handlers = in TEST_F() local
75 ASSERT_TRUE(handlers != NULL); in TEST_F()
76 ASSERT_EQ(1U, handlers->size()); in TEST_F()
77 const FileBrowserHandler* action = handlers->at(0).get(); in TEST_F()
109 FileBrowserHandler::List* handlers = in TEST_F() local
111 ASSERT_TRUE(handlers != NULL); in TEST_F()
112 ASSERT_EQ(1U, handlers->size()); in TEST_F()
113 const FileBrowserHandler* action = handlers->at(0).get(); in TEST_F()
140 FileBrowserHandler::List* handlers = in TEST_F() local
142 ASSERT_TRUE(handlers != NULL); in TEST_F()
[all …]
/external/chromium_org/extensions/common/manifest_handlers/
Dfile_handler_manifest_unittest.cc44 const FileHandlersInfo* handlers = FileHandlers::GetFileHandlers(extension); in TEST_F() local
45 ASSERT_TRUE(handlers != NULL); in TEST_F()
46 ASSERT_EQ(2U, handlers->size()); in TEST_F()
48 FileHandlerInfo handler = handlers->at(0); in TEST_F()
57 handler = handlers->at(1); in TEST_F()
66 // This should load successfully but have the file handlers ignored. in TEST_F()
71 const FileHandlersInfo* handlers = FileHandlers::GetFileHandlers(extension); in TEST_F() local
72 ASSERT_TRUE(handlers == NULL); in TEST_F()
/external/chromium-trace/trace-viewer/src/base/
Devent_target.js35 var handlers = this.listeners_[type];
36 if (handlers.indexOf(handler) < 0)
37 handlers.push(handler);
51 var handlers = this.listeners_[type];
52 var index = handlers.indexOf(handler);
55 if (handlers.length == 1)
58 handlers.splice(index, 1);
88 var handlers = this.listeners_[type].concat();
89 for (var i = 0, handler; handler = handlers[i]; i++) {
/external/chromium_org/chrome/browser/ui/libgtk2ui/
Dgtk2_signal_registrar.cc24 HandlerList& handlers = list_iter->second; in ~Gtk2SignalRegistrar() local
25 for (HandlerList::iterator ids_iter = handlers.begin(); in ~Gtk2SignalRegistrar()
26 ids_iter != handlers.end(); ++ids_iter) { in ~Gtk2SignalRegistrar()
76 // The signal handlers will be disconnected automatically. Just erase the in WeakNotify()
89 HandlerList& handlers = iter->second; in DisconnectAll() local
90 for (HandlerList::iterator ids_iter = handlers.begin(); in DisconnectAll()
91 ids_iter != handlers.end(); ++ids_iter) { in DisconnectAll()
/external/chromium_org/third_party/WebKit/Source/core/frame/
DEventHandlerRegistry.h16 // Registry for keeping track of event handlers. Note that only handlers on
36 // Returns true if the FrameHost has event handlers of the specified class.
39 // Returns a set of EventTargets which have registered handlers of the given class.
42 // Registration and management of event handlers attached to EventTargets.
54 // to handlers that are no longer related to it.
64 RemoveAll // Remove any and all existing event handlers for a given target.
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
Dlogutils.py129 """Return a list of the default logging handlers to use.
159 handlers=None): argument
163 A list of references to the logging handlers added to the root
164 logger. This allows the caller to later remove the handlers
176 handlers. The stream must define an "encoding" data attribute,
178 handlers: A list of logging.Handler instances to add to the logger
197 if handlers is None:
198 handlers = _default_handlers(stream, logging_level)
202 for handler in handlers:
207 return handlers
/external/chromium_org/chrome/browser/ui/
Dfast_unload_controller.h29 // regards to beforeunload handlers (have proceed/cancel dialogs) and
30 // unload handlers (have no user interaction).
42 // If beforeunload/unload handlers need to run, FastUnloadController returns
48 // unload handlers, remove them from the tab strip, and finish closing
77 // will be canceled. Returns true if Unload handlers should be fired. When the
78 // |browser_| is being closed, Unload handlers for any particular WebContents
88 // when there are no remaining beforeunload handlers to be run.
100 // Returns true if |browser_| has any tabs that have BeforeUnload handlers
186 // state rather than Browser because unload handlers are the only reason that
191 // |browser_| that have beforeunload event handlers. This is set only if we
[all …]
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
DCatchStructs.java31 * List of exception handlers (tuples of covered range, catch type,
59 * length of the handlers header (encoded size), if known; used for
135 "too many catch handlers"); in encode()
140 // Write out the handlers "header" consisting of its size in entries. in encode()
222 * Helper method to annotate or simply print the exception handlers.
248 CatchHandlerList handlers = entry.getHandlers(); in annotateEntries() local
251 String s2 = handlers.toHuman(subPrefix, ""); in annotateEntries()
267 annotateTo.annotate(0, prefix + "handlers:"); in annotateEntries()
297 * @param handlers {@code non-null;} handlers to annotate
299 * @param size {@code >= 1;} the number of bytes the handlers consume
[all …]
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DTraceEventDispatcher.cpp95 Vector<BoundTraceEventHandler>& handlers = it->value; in processBackgroundEvents() local
96 for (size_t handlerIndex = 0; handlerIndex < handlers.size(); ++handlerIndex) in processBackgroundEvents()
97 (handlers[handlerIndex].instance->*(handlers[handlerIndex].method))(event); in processBackgroundEvents()
125 Vector<BoundTraceEventHandler>& handlers = it->value; in removeAllListeners() local
126 for (size_t j = 0; j < handlers.size();) { in removeAllListeners()
127 if (handlers[j].instance == instance) in removeAllListeners()
128 handlers.remove(j); in removeAllListeners()
132 if (!handlers.isEmpty()) in removeAllListeners()
/external/chromium_org/chrome/browser/chromeos/file_manager/
Dfile_browser_handlers.h5 // This file provides utility functions for file browser handlers.
41 // handlers are Files.app's internal handlers as well as quick office
45 // Returns the list of file browser handlers that can open all files in
52 // action ID for |file_urls|. Returns false if undeclared handlers are

12345678910>>...62