Lines Matching defs:command

143             extensionServer.sendRequest({ command: commands.Subscribe, type: this._type });
159 extensionServer.sendRequest({ command: commands.Unsubscribe, type: this._type });
205 extensionServer.sendRequest({ command: commands.GetConsoleMessages }, callback);
210 extensionServer.sendRequest({ command: commands.AddConsoleMessage, severity: severity, text: text, url: url, line: line });
250 extensionServer.sendRequest({ command: commands.GetHAR }, callback && callbackWrapper);
255 extensionServer.sendRequest({ command: commands.AddRequestHeaders, headers: headers, extensionId: window.location.hostname });
274 extensionServer.sendRequest({ command: commands.GetRequestContent, id: this._id }, callback && callbackWrapper);
294 this.applyStyleSheet = function(styleSheet) { extensionServer.sendRequest({ command: commands.ApplyStyleSheet, styleSheet: styleSheet }); };
302 command: commands.CreatePanel,
331 // Only send command if we either removed an existing handler or added handler and had none before.
333 extensionServer.sendRequest({ command: commands.SetOpenResourceHandler, "handlerPresent": !!callback });
338 extensionServer.sendRequest({ command: commands.OpenResource, "url": url, "lineNumber": lineNumber }, callback);
389 command: commands.CreateSidebarPane,
488 command: commands.CreateStatusBarButton,
505 command: commands.ShowPanel,
526 extensionServer.sendRequest({ command: commands.SetSidebarHeight, id: this._id, height: height });
532 command: commands.SetSidebarContent,
545 extensionServer.sendRequest({ command: commands.SetSidebarContent, id: this._id, expression: jsonObject, rootTitle: rootTitle }, callback);
550 extensionServer.sendRequest({ command: commands.SetSidebarPage, id: this._id, page: page });
569 command: commands.UpdateButton,
595 extensionServer.sendRequest({ command: commands.AddAuditCategory, id: id, displayName: displayName, resultCount: resultCount });
644 command: commands.AddAuditResult,
664 extensionServer.sendRequest({ command: commands.UpdateAuditProgress, resultId: this._id, progress: worked / totalWork });
669 extensionServer.sendRequest({ command: commands.StopAuditCategoryRun, resultId: this._id });
761 extensionServer.sendRequest({ command: commands.Reload, options: options });
778 command: commands.EvaluateOnInspectedPage,
797 extensionServer.sendRequest({ command: commands.GetPageResources }, callback && callbackWrapper);
828 extensionServer.sendRequest({ command: commands.GetResourceContent, url: this._url }, callback && callbackWrapper);
833 extensionServer.sendRequest({ command: commands.SetResourceContent, url: this._url, content: content, commit: commit }, callback);
864 command: commands.ForwardKeyboardEvent,
909 hasHandler: function(command)
911 return !!this._handlers[command];
914 registerHandler: function(command, handler)
916 this._handlers[command] = handler;
919 unregisterHandler: function(command)
921 delete this._handlers[command];
951 var handler = this._handlers[request.command];