18 lines
1017 B
Haxe
18 lines
1017 B
Haxe
package js.html;
|
|
|
|
typedef IBhxBrowser = {
|
|
final lastError : js.html.DOMException;
|
|
function checkMatchesGlobExpression(pattern:String, value:String):Bool;
|
|
function checkMatchesUriExpression(pattern:String, value:String):Bool;
|
|
function clearLastError():Void;
|
|
function currentWindowId():Float;
|
|
function fireExtensionApiTelemetry(functionName:String, isSucceeded:Bool, isSupported:Bool, errorString:String):Void;
|
|
function genericFunction(functionId:Float, destination:Dynamic, ?parameters:String, ?callbackId:Float):Void;
|
|
function genericSynchronousFunction(functionId:Float, ?parameters:String):String;
|
|
function getExtensionId():String;
|
|
function getThisAddress():Dynamic;
|
|
function registerGenericFunctionCallbackHandler(callbackHandler:haxe.Constraints.Function):Void;
|
|
function registerGenericListenerHandler(eventHandler:haxe.Constraints.Function):Void;
|
|
function setLastError(parameters:String):Void;
|
|
function webPlatformGenericFunction(destination:Dynamic, ?parameters:String, ?callbackId:Float):Void;
|
|
}; |