* available since Chrome 36
(darken-screen enabled)
Darkens or undarkens the screen.
|enabled| - True to darken screen; false to undarken screen.
Darkens or undarkens the screen. |enabled| - True to darken screen; false to undarken screen.
(enable-chrome-vox-mouse-events enabled)
Enables or disables mouse events in ChromeVox.
|enabled| - True if ChromeVox should receive mouse events.
Enables or disables mouse events in ChromeVox. |enabled| - True if ChromeVox should receive mouse events.
(find-scrollable-bounds-for-point* config channel & args)
(forward-key-events-to-switch-access should-forward)
When enabled, forwards key events to the Switch Access extension
|should-forward| - ?
When enabled, forwards key events to the Switch Access extension |should-forward| - ?
(forward-key-events-to-switch-access* config should-forward)
(get-battery-description)
Called to request battery status from Chrome OS system.
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [battery-description] where:
|battery-description| - ?
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
Called to request battery status from Chrome OS system. This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is [battery-description] where: |battery-description| - ? In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
(get-display-name-for-locale locale-code-to-translate display-locale-code)
Called to translate localeCodeToTranslate into human-readable string in the locale specified by displayLocaleCode
|locale-code-to-translate| - ? |display-locale-code| - ?
Called to translate localeCodeToTranslate into human-readable string in the locale specified by displayLocaleCode |locale-code-to-translate| - ? |display-locale-code| - ?
(get-display-name-for-locale* config
locale-code-to-translate
display-locale-code)
(on-custom-spoken-feedback-toggled* config channel & args)
(on-scrollable-bounds-for-point-found rect)
Called by the Autoclick extension when findScrollableBoundsForPoint has found a scrolling container. |rect| will be the bounds of the nearest scrollable ancestor of the node at the point requested using findScrollableBoundsForPoint.
|rect| - ?
Called by the Autoclick extension when findScrollableBoundsForPoint has found a scrolling container. |rect| will be the bounds of the nearest scrollable ancestor of the node at the point requested using findScrollableBoundsForPoint. |rect| - ?
(on-select-to-speak-state-change-requested* config channel & args)
(on-select-to-speak-state-changed state)
Called by the Select-to-Speak extension when Select-to-Speak has changed states, between selecting with the mouse, speaking, and inactive.
|state| - ?
Called by the Select-to-Speak extension when Select-to-Speak has changed states, between selecting with the mouse, speaking, and inactive. |state| - ?
(open-settings-subpage subpage)
Opens a specified settings subpage. To open a page with url chrome://settings/manageAccessibility/tts, pass in the substring 'manageAccessibility/tts'.
|subpage| - ?
Opens a specified settings subpage. To open a page with url chrome://settings/manageAccessibility/tts, pass in the substring 'manageAccessibility/tts'. |subpage| - ?
(send-synthetic-key-event key-event)
Sends a fabricated key event.
|key-event| - The event to send.
Sends a fabricated key event. |key-event| - The event to send.
(send-synthetic-mouse-event mouse-event)
Sends a fabricated mouse event.
|mouse-event| - The event to send.
Sends a fabricated mouse event. |mouse-event| - The event to send.
(set-focus-rings focus-rings)
Sets the given accessibility focus rings for this extension.
|focus-rings| - Array of focus rings to draw.
Sets the given accessibility focus rings for this extension. |focus-rings| - Array of focus rings to draw.
(set-highlights rects color)
Sets the bounds of the accessibility highlight.
|rects| - Array of rectangles to draw the highlight around. |color| - CSS-style hex color string beginning with # like #FF9982 or #EEE.
Sets the bounds of the accessibility highlight. |rects| - Array of rectangles to draw the highlight around. |color| - CSS-style hex color string beginning with # like #FF9982 or #EEE.
(set-keyboard-listener enabled capture)
Sets the calling extension as a listener of all keyboard events optionally allowing the calling extension to capture/swallow the key event via DOM apis. Returns false via callback when unable to set the listener.
|enabled| - True if the caller wants to listen to key events; false to stop listening to events. Note that there is only ever one extension listening to key events. |capture| - True if key events should be swallowed natively and not propagated if preventDefault() gets called by the extension's background page.
Sets the calling extension as a listener of all keyboard events optionally allowing the calling extension to capture/swallow the key event via DOM apis. Returns false via callback when unable to set the listener. |enabled| - True if the caller wants to listen to key events; false to stop listening to events. Note that there is only ever one extension listening to key events. |capture| - True if key events should be swallowed natively and not propagated if preventDefault() gets called by the extension's background page.
(set-native-accessibility-enabled enabled)
Enables or disables native accessibility support. Once disabled, it is up to the calling extension to provide accessibility for web contents.
|enabled| - True if native accessibility support should be enabled.
Enables or disables native accessibility support. Once disabled, it is up to the calling extension to provide accessibility for web contents. |enabled| - True if native accessibility support should be enabled.
(set-native-chrome-vox-arc-support-for-current-app enabled)
Sets current ARC app to use native ARC support.
|enabled| - True for ChromeVox (native), false for TalkBack.
Sets current ARC app to use native ARC support. |enabled| - True for ChromeVox (native), false for TalkBack.
(set-native-chrome-vox-arc-support-for-current-app* config enabled)
(set-switch-access-menu-state show element-bounds item-count)
Shows or hides the Switch Access menu. If shown, it is at the indicated location.
|show| - If true, show the menu. If false, hide the menu. |element-bounds| - Position of an element, in global screen coordinates, to place the menu next to. |item-count| - The number of items that need to be shown in the menu.
Shows or hides the Switch Access menu. If shown, it is at the indicated location. |show| - If true, show the menu. If false, hide the menu. |element-bounds| - Position of an element, in global screen coordinates, to place the menu next to. |item-count| - The number of items that need to be shown in the menu.
(set-switch-access-menu-state* config show element-bounds item-count)
(set-virtual-keyboard-visible is-visible)
Shows or hides the virtual keyboard.
|is-visible| - ?
Shows or hides the virtual keyboard. |is-visible| - ?
(tap-all-events chan)
Taps all valid non-deprecated events in chromex.ext.accessibility-private namespace.
Taps all valid non-deprecated events in chromex.ext.accessibility-private namespace.
(tap-find-scrollable-bounds-for-point-events channel & args)
Fired when an internal component within accessibility wants to find the nearest scrolling container at a given screen coordinate. Used in Automatic Clicks.
Events will be put on the |channel| with signature [::find-scrollable-bounds-for-point [x y]] where:
|x| - X screen coordinate of the point. |y| - Y screen coordinate of the point.
Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
Fired when an internal component within accessibility wants to find the nearest scrolling container at a given screen coordinate. Used in Automatic Clicks. Events will be put on the |channel| with signature [::find-scrollable-bounds-for-point [x y]] where: |x| - X screen coordinate of the point. |y| - Y screen coordinate of the point. Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
(tap-on-accessibility-gesture-events channel & args)
Fired when an accessibility gesture is detected by the touch exploration controller.
Events will be put on the |channel| with signature [::on-accessibility-gesture [gesture]] where:
|gesture| - ?
Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
Fired when an accessibility gesture is detected by the touch exploration controller. Events will be put on the |channel| with signature [::on-accessibility-gesture [gesture]] where: |gesture| - ? Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
(tap-on-announce-for-accessibility-events channel & args)
Fired when an internal component within accessibility wants to force speech output for an accessibility extension. Do not use without approval from accessibility owners.
Events will be put on the |channel| with signature [::on-announce-for-accessibility [announce-text]] where:
|announce-text| - Text to be announced.
Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
Fired when an internal component within accessibility wants to force speech output for an accessibility extension. Do not use without approval from accessibility owners. Events will be put on the |channel| with signature [::on-announce-for-accessibility [announce-text]] where: |announce-text| - Text to be announced. Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
(tap-on-custom-spoken-feedback-toggled-events channel & args)
Fired when a custom spoken feedback on the active window gets enabled or disabled. Called from ARC++ accessibility.
Events will be put on the |channel| with signature [::on-custom-spoken-feedback-toggled [enabled]] where:
|enabled| - True if the active window implements custom spoken feedback features.
Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
Fired when a custom spoken feedback on the active window gets enabled or disabled. Called from ARC++ accessibility. Events will be put on the |channel| with signature [::on-custom-spoken-feedback-toggled [enabled]] where: |enabled| - True if the active window implements custom spoken feedback features. Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
(tap-on-introduce-chrome-vox-events channel & args)
Fired whenever ChromeVox should output introduction.
Events will be put on the |channel| with signature [::on-introduce-chrome-vox []].
Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
Fired whenever ChromeVox should output introduction. Events will be put on the |channel| with signature [::on-introduce-chrome-vox []]. Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
(tap-on-select-to-speak-state-change-requested-events channel & args)
Fired when Chrome OS wants to change the Select-to-Speak state, between selecting with the mouse, speaking, and inactive.
Events will be put on the |channel| with signature [::on-select-to-speak-state-change-requested []].
Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
Fired when Chrome OS wants to change the Select-to-Speak state, between selecting with the mouse, speaking, and inactive. Events will be put on the |channel| with signature [::on-select-to-speak-state-change-requested []]. Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
(tap-on-switch-access-command-events channel & args)
Fired when Chrome OS has received a key event corresponding to a Switch Access command.
Events will be put on the |channel| with signature [::on-switch-access-command [command]] where:
|command| - ?
Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
Fired when Chrome OS has received a key event corresponding to a Switch Access command. Events will be put on the |channel| with signature [::on-switch-access-command [command]] where: |command| - ? Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
(tap-on-two-finger-touch-start-events channel & args)
Fired when we first detect two fingers are held down, which can be used to toggle spoken feedback on some touch-only devices.
Events will be put on the |channel| with signature [::on-two-finger-touch-start []].
Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
Fired when we first detect two fingers are held down, which can be used to toggle spoken feedback on some touch-only devices. Events will be put on the |channel| with signature [::on-two-finger-touch-start []]. Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
(tap-on-two-finger-touch-stop-events channel & args)
Fired when the user is no longer holding down two fingers (including releasing one, holding down three, or moving them).
Events will be put on the |channel| with signature [::on-two-finger-touch-stop []].
Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
Fired when the user is no longer holding down two fingers (including releasing one, holding down three, or moving them). Events will be put on the |channel| with signature [::on-two-finger-touch-stop []]. Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
(toggle-dictation)
Toggles dictation between active and inactive states.
Toggles dictation between active and inactive states.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close