Module Chrome__.Browser_action_chrome
include Browser_action_chrome_common
class type imageData = object ... end
class type tabDetails = object ... end
class type titleDetails = object ... end
class type iconDetails = object ... end
class type popupDetails = object ... end
class type badgeDetails = object ... end
class type badgeColorDetails = object ... end
class type browserAction = object ... end
val browserAction : browserAction Js_min.t
val onClicked : (Tabs_utils.tab -> unit) -> unit
val set_title : ?id:int -> ?title:string -> ?callback:(unit -> unit) -> unit -> unit
val get_title : ?id:int -> (string -> unit) -> unit
val set_icon : ?data:imageData Js_min.t -> ?path:string -> ?id:int -> ?callback:(unit -> unit) -> unit -> unit
val set_popup : ?id:int -> ?popup:string -> ?callback:(unit -> unit) -> unit -> unit
val get_popup : ?id:int -> (string -> unit) -> unit
val set_badge : ?id:int -> ?text:string -> ?callback:(unit -> unit) -> unit -> unit
val get_badge : ?id:int -> (string -> unit) -> unit
val set_badge_bg : ?id:int -> ?color:string -> ?callback:(unit -> unit) -> unit -> unit
val get_badge_bg : ?id:int -> (uint8Array Js_min.t -> unit) -> unit
val enable : ?id:int -> ?callback:(unit -> unit) -> unit -> unit
val disable : ?id:int -> ?callback:(unit -> unit) -> unit -> unit