Home
last modified time | relevance | path

Searched refs:addListener (Results 1 – 25 of 300) sorted by relevance

12345678910>>...12

/external/chromium_org/chrome/common/extensions/docs/examples/api/eventPage/basic/
Dbackground.js21 chrome.runtime.onInstalled.addListener(function() {
37 chrome.bookmarks.onRemoved.addListener(function(id, info) {
41 chrome.browserAction.onClicked.addListener(function() {
55 chrome.commands.onCommand.addListener(function(command) {
59 chrome.runtime.onMessage.addListener(function(msg, _, sendResponse) {
80 chrome.alarms.onAlarm.addListener(function() {
84 chrome.runtime.onSuspend.addListener(function() {
/external/chromium_org/chrome/browser/resources/hotword/
Dmanager.js24 chrome.runtime.onStartup.addListener(function() {
29 chrome.hotwordPrivate.onEnabledChanged.addListener(function() {
35 chrome.management.onInstalled.addListener(function(info) {
41 chrome.hotwordPrivate.onHotwordSessionRequested.addListener(function() {
53 chrome.hotwordPrivate.onHotwordSessionStopped.addListener(function() {
/external/chromium_org/chrome/common/extensions/docs/examples/api/input.ime/basic/
Dmain.js11 ime_api.onFocus.addListener(function(context) {
15 ime_api.onBlur.addListener(function(contextID) {
20 ime_api.onActivate.addListener(function(engineID) {
23 ime_api.onDeactivated.addListener(function(engineID) {
27 ime_api.onKeyEvent.addListener(
/external/chromium_org/chrome/browser/resources/chromeos/braille_ime/
Dbraille_ime.js137 chrome.input.ime.onActivate.addListener(this.onActivate_.bind(this));
138 chrome.input.ime.onDeactivated.addListener(this.onDeactivated_.bind(this));
139 chrome.input.ime.onFocus.addListener(this.onFocus_.bind(this));
140 chrome.input.ime.onBlur.addListener(this.onBlur_.bind(this));
141 chrome.input.ime.onInputContextUpdate.addListener(
143 chrome.input.ime.onKeyEvent.addListener(this.onKeyEvent_.bind(this),
145 chrome.input.ime.onReset.addListener(this.onReset_.bind(this));
146 chrome.input.ime.onMenuItemActivated.addListener(
332 this.port_.onMessage.addListener(
334 this.port_.onDisconnect.addListener(
/external/chromium_org/chrome/browser/resources/bookmark_manager/js/
Dbmm.js212 chrome.bookmarks.onCreated.addListener(handleCreated);
213 chrome.bookmarks.onChanged.addListener(handleBookmarkChanged);
233 chrome.bookmarks.onChanged.addListener(handleBookmarkChanged);
234 chrome.bookmarks.onChildrenReordered.addListener(handleChildrenReordered);
235 chrome.bookmarks.onCreated.addListener(handleCreated);
236 chrome.bookmarks.onMoved.addListener(handleMoved);
237 chrome.bookmarks.onRemoved.addListener(handleRemoved);
238 chrome.bookmarks.onImportBegan.addListener(handleImportBegan);
239 chrome.bookmarks.onImportEnded.addListener(handleImportEnded);
/external/chromium_org/chrome/common/extensions/docs/examples/api/fileSystemProvider/basic/
Dbackground.js103 chrome.runtime.onInstalled.addListener(function(details) {
110 chrome.fileSystemProvider.onGetMetadataRequested.addListener(
112 chrome.fileSystemProvider.onReadDirectoryRequested.addListener(
114 chrome.fileSystemProvider.onOpenFileRequested.addListener(
116 chrome.fileSystemProvider.onCloseFileRequested.addListener(
118 chrome.fileSystemProvider.onReadFileRequested.addListener(
/external/chromium_org/chrome/common/extensions/docs/examples/api/fileSystemProvider/archive/
Dbackground.js194 chrome.app.runtime.onLaunched.addListener(function(event) {
216 chrome.runtime.onStartup.addListener(function () {
232 chrome.runtime.onSuspend.addListener(function() {
236 chrome.fileSystemProvider.onUnmountRequested.addListener(
238 chrome.fileSystemProvider.onGetMetadataRequested.addListener(
240 chrome.fileSystemProvider.onReadDirectoryRequested.addListener(
242 chrome.fileSystemProvider.onOpenFileRequested.addListener(
244 chrome.fileSystemProvider.onCloseFileRequested.addListener(
246 chrome.fileSystemProvider.onReadFileRequested.addListener(
/external/chromium_org/chrome/browser/resources/cryptotoken/
Dcryptotokenbackground.js41 chrome.runtime.onMessageExternal.addListener(messageHandlerExternal);
44 chrome.runtime.onConnectExternal.addListener(function(port) {
46 port.onMessage.addListener(function(request) {
53 port.onDisconnect.addListener(function() {
/external/chromium_org/chrome/browser/resources/hangout_services/
Dthunk.js5 chrome.runtime.onMessageExternal.addListener(
147 chrome.webrtcAudioPrivate.onSinksChanged.addListener(clientListener);
149 port.onDisconnect.addListener(function() {
166 port.onMessage.addListener(function(message) {
172 port.onDisconnect.addListener(function() {
219 chrome.processes.onUpdated.addListener(processListener);
220 port.onDisconnect.addListener(function() {
236 chrome.runtime.onConnectExternal.addListener(function(port) {
/external/chromium_org/remoting/webapp/background/
Dbackground.js28 chrome.contextMenus.onClicked.addListener(onContextMenu);
32 chrome.app.runtime.onLaunched.addListener(
50 chrome.runtime.onSuspend.addListener(function() {
58 chrome.runtime.onSuspendCanceled.addListener(initializeIt2MeService);
/external/chromium_org/chrome/common/extensions/docs/examples/api/tabs/inspector/
Dtabs_api.js142 chrome.windows.onCreated.addListener(function(createInfo) {
147 chrome.windows.onFocusChanged.addListener(function(windowId) {
153 chrome.windows.onRemoved.addListener(function(windowId) {
158 chrome.tabs.onCreated.addListener(function(tab) {
165 chrome.tabs.onAttached.addListener(function(tabId, props) {
172 chrome.tabs.onMoved.addListener(function(tabId, props) {
188 chrome.tabs.onUpdated.addListener(function(tabId, props) {
195 chrome.tabs.onDetached.addListener(function(tabId, props) {
202 chrome.tabs.onSelectionChanged.addListener(function(tabId, props) {
209 chrome.tabs.onRemoved.addListener(function(tabId) {
/external/chromium_org/chrome/browser/resources/whispernet_proxy/js/
Dinit.js81 chrome.copresencePrivate.onInitialize.addListener(initialize);
82 chrome.copresencePrivate.onEncodeTokenRequest.addListener(encodeTokenRequest);
83 chrome.copresencePrivate.onDecodeSamplesRequest.addListener(
85 chrome.copresencePrivate.onDetectBroadcastRequest.addListener(
/external/chromium_org/chrome/common/extensions/docs/examples/api/messaging/timer/
Dpage.js5 chrome.runtime.onConnect.addListener(function(port) {
6 port.onMessage.addListener(function(msg) {
11 chrome.extension.onRequest.addListener(
/external/chromium_org/remoting/webapp/
Dfullscreen_v2.js42 chrome.app.window.current().onFullscreened.addListener(
44 chrome.app.window.current().onRestored.addListener(
60 this.addListener(callbackAndRemoveListener);
79 remoting.FullscreenAppsV2.prototype.addListener = function(callback) { method in remoting.FullscreenAppsV2
/external/chromium_org/tools/json_schema_compiler/dart_test/
Devents.dart149 void addListener(void callback()) => super.addListener(callback);
160 void addListener(void callback()) => super.addListener(callback);
171 void addListener(void callback(int argument)) => super.addListener(callback);
182 void addListener(void callback(int argument)) => super.addListener(callback);
193 void addListener(void callback(EventsEventArgument argument)) {
199 super.addListener(__proxy_callback);
225 void addListener(void callback(EventsEventArgument argument)) {
231 super.addListener(__proxy_callback);
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/background/
Dtabs_api_handler.js38 chrome.tabs.onCreated.addListener(this.onCreated.bind(this));
39 chrome.tabs.onRemoved.addListener(this.onRemoved.bind(this));
40 chrome.tabs.onActivated.addListener(this.onActivated.bind(this));
41 chrome.tabs.onUpdated.addListener(this.onUpdated.bind(this));
42 chrome.windows.onFocusChanged.addListener(this.onFocusChanged.bind(this));
Daccessibility_api_handler.js183 chrome.tabs.onActivated.addListener(goog.bind(function(activeInfo) {
195 chrome.accessibilityPrivate.onWindowOpened.addListener(
211 chrome.accessibilityPrivate.onWindowClosed.addListener(
220 chrome.accessibilityPrivate.onMenuOpened.addListener(
233 chrome.accessibilityPrivate.onMenuClosed.addListener(
254 chrome.systemPrivate.onVolumeChanged.addListener(goog.bind(
274 chrome.systemPrivate.onBrightnessChanged.addListener(
291 chrome.systemPrivate.onScreenUnlocked.addListener(goog.bind(function() {
307 chrome.systemPrivate.onWokeUp.addListener(goog.bind(function() {
316 chrome.accessibilityPrivate.onControlFocused.addListener(
[all …]
/external/chromium_org/chrome/common/extensions/docs/examples/api/webNavigation/basic/
Dnavigation_collector.js51 chrome.webNavigation.onCreatedNavigationTarget.addListener(
53 chrome.webNavigation.onBeforeNavigate.addListener(
55 chrome.webNavigation.onCompleted.addListener(
57 chrome.webNavigation.onCommitted.addListener(
59 chrome.webNavigation.onErrorOccurred.addListener(
61 chrome.webNavigation.onReferenceFragmentUpdated.addListener(
63 chrome.webNavigation.onHistoryStateUpdated.addListener(
67 chrome.extension.onRequest.addListener(this.onRequestListener_.bind(this));
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/gmail/
Dbackground.js305 chrome.runtime.onInstalled.addListener(onInit);
306 chrome.alarms.onAlarm.addListener(onAlarm);
324 chrome.webNavigation.onDOMContentLoaded.addListener(onNavigate, filters);
325 chrome.webNavigation.onReferenceFragmentUpdated.addListener(
328 chrome.tabs.onUpdated.addListener(function(_, details) {
333 chrome.browserAction.onClicked.addListener(goToInbox);
336 chrome.runtime.onStartup.addListener(function() {
346 chrome.windows.onCreated.addListener(function() {
/external/chromium_org/chrome/browser/resources/feedback/js/
Devent_handler.js103 chrome.runtime.onMessage.addListener(feedbackReadyHandler);
104 chrome.runtime.onMessageExternal.addListener(requestFeedbackHandler);
105 chrome.feedbackPrivate.onFeedbackRequested.addListener(startFeedbackUI);
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/host/chrome/
Dextension_bridge.js167 port.onMessage.addListener(
180 port.onDisconnect.addListener(function(message) {
190 chrome.extension.onConnect.addListener(onConnectHandler);
224 chrome.extension.onMessage.addListener(onMessageHandler);
238 self.backgroundPort.onMessage.addListener(
249 self.backgroundPort.onDisconnect.addListener(
/external/chromium_org/chrome/browser/resources/network_speech_synthesis/
Dtts_extension.js99 chrome.ttsEngine.onSpeak.addListener(this.onSpeak_.bind(this));
100 chrome.ttsEngine.onStop.addListener(this.onStop_.bind(this));
101 chrome.ttsEngine.onPause.addListener(this.onPause_.bind(this));
102 chrome.ttsEngine.onResume.addListener(this.onResume_.bind(this));
/external/chromium_org/chrome/browser/resources/gaia_auth/
Dbackground.js40 chrome.runtime.onConnect.addListener(this.onConnect_.bind(this));
42 chrome.webRequest.onBeforeRequest.addListener(
50 chrome.webRequest.onBeforeSendHeaders.addListener(
60 chrome.webRequest.onHeadersReceived.addListener(
68 chrome.webRequest.onCompleted.addListener(
83 port.onDisconnect.addListener(function() {
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/email_this_page/
Dbackground.js45 chrome.runtime.onConnect.addListener(function(port) {
50 port.onMessage.addListener(function(info) {
59 chrome.browserAction.onClicked.addListener(function(tab) {
/external/chromium_org/chrome/common/extensions/docs/examples/api/debugger/pause-resume/
Dbackground.js8 chrome.debugger.onEvent.addListener(onEvent);
9 chrome.debugger.onDetach.addListener(onDetach);
11 chrome.browserAction.onClicked.addListener(function(tab) {

12345678910>>...12