From 6fada80e86fa0f21566013a3d486fb94440dc731 Mon Sep 17 00:00:00 2001 From: BinaryAge Bot Date: Wed, 28 Mar 2018 16:08:42 +0200 Subject: [PATCH] regenerate APIs from Chromium @ 3380294 https://chromium.googlesource.com/chromium/src.git/+/33802942258dc390231bd41bd57b3756938e7da0 --- readme.md | 4 +- src/apps/chromex/app/alarms.clj | 4 +- src/apps/chromex/app/bookmarks.clj | 4 +- src/apps/chromex/app/context_menus.clj | 4 +- src/apps/chromex/app/file_browser_handler.clj | 4 +- src/apps/chromex/app/i18n.clj | 4 +- src/apps/chromex/app/idle.clj | 4 +- src/apps/chromex/app/management.clj | 4 +- src/apps/chromex/app/permissions.clj | 4 +- src/apps/chromex/app/proxy.clj | 4 +- src/apps/chromex/app/runtime.clj | 6 +- src/apps/chromex/app/storage.clj | 4 +- src/apps/chromex/app/tabs.clj | 5 +- src/apps/chromex/app/test.clj | 4 +- src/apps/chromex/app/tts.clj | 4 +- src/apps/chromex/app/webstore.clj | 4 +- src/apps/chromex/app/windows.clj | 4 +- src/apps/readme.md | 142 +++++++-------- .../chromex/app/chromeos_info_private.clj | 4 +- src/apps_private/chromex/app/echo_private.clj | 4 +- .../chromex/app/input_method_private.clj | 4 +- .../chromex/app/media_player_private.clj | 10 +- .../chromex/app/system_private.clj | 4 +- .../chromex/app/terminal_private.clj | 4 +- .../chromex/app/wallpaper_private.clj | 4 +- src/apps_private/readme.md | 82 ++++----- src/exts/chromex/ext/alarms.clj | 4 +- src/exts/chromex/ext/app.clj | 4 +- src/exts/chromex/ext/bookmarks.clj | 4 +- src/exts/chromex/ext/browser_action.clj | 4 +- src/exts/chromex/ext/browsing_data.clj | 4 +- src/exts/chromex/ext/content_settings.clj | 4 +- src/exts/chromex/ext/context_menus.clj | 4 +- src/exts/chromex/ext/cookies.clj | 4 +- src/exts/chromex/ext/debugger_api.clj | 4 +- .../chromex/ext/declarative_net_request.clj | 101 +++++++++++ .../chromex/ext/declarative_net_request.cljs | 14 ++ .../chromex/ext/devtools/inspected_window.clj | 4 +- src/exts/chromex/ext/devtools/network.clj | 4 +- src/exts/chromex/ext/devtools/panels.clj | 4 +- src/exts/chromex/ext/extension.clj | 4 +- src/exts/chromex/ext/file_browser_handler.clj | 4 +- src/exts/chromex/ext/font_settings.clj | 4 +- src/exts/chromex/ext/history.clj | 4 +- src/exts/chromex/ext/i18n.clj | 4 +- src/exts/chromex/ext/idle.clj | 4 +- src/exts/chromex/ext/input/ime.clj | 4 +- src/exts/chromex/ext/management.clj | 4 +- src/exts/chromex/ext/omnibox.clj | 4 +- src/exts/chromex/ext/page_action.clj | 4 +- src/exts/chromex/ext/page_capture.clj | 4 +- src/exts/chromex/ext/permissions.clj | 4 +- src/exts/chromex/ext/privacy.clj | 4 +- src/exts/chromex/ext/proxy.clj | 4 +- src/exts/chromex/ext/runtime.clj | 6 +- src/exts/chromex/ext/storage.clj | 4 +- src/exts/chromex/ext/tabs.clj | 5 +- src/exts/chromex/ext/test.clj | 4 +- src/exts/chromex/ext/top_sites.clj | 4 +- src/exts/chromex/ext/tts.clj | 4 +- src/exts/chromex/ext/tts_engine.clj | 4 +- src/exts/chromex/ext/web_navigation.clj | 4 +- src/exts/chromex/ext/web_request.clj | 5 +- src/exts/chromex/ext/webstore.clj | 4 +- src/exts/chromex/ext/windows.clj | 4 +- src/exts/readme.md | 165 +++++++++--------- .../chromex/ext/chromeos_info_private.clj | 4 +- .../chromex/ext/cloud_print_private.clj | 4 +- src/exts_private/chromex/ext/echo_private.clj | 4 +- .../chromex/ext/input_method_private.clj | 4 +- .../chromex/ext/media_player_private.clj | 10 +- .../chromex/ext/system_private.clj | 4 +- .../chromex/ext/terminal_private.clj | 4 +- .../chromex/ext/webstore_private.clj | 4 +- src/exts_private/readme.md | 82 ++++----- 75 files changed, 499 insertions(+), 382 deletions(-) create mode 100644 src/exts/chromex/ext/declarative_net_request.clj create mode 100644 src/exts/chromex/ext/declarative_net_request.cljs diff --git a/readme.md b/readme.md index 7c782359..872f9c86 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,6 @@ # chromex [![GitHub license](https://img.shields.io/github/license/binaryage/chromex.svg)](license.txt) [![Clojars Project](https://img.shields.io/clojars/v/binaryage/chromex.svg)](https://clojars.org/binaryage/chromex) [![Travis](https://img.shields.io/travis/binaryage/chromex.svg)](https://travis-ci.org/binaryage/chromex) [![Sample Project](https://img.shields.io/badge/project-example-ff69b4.svg)](https://github.com/binaryage/chromex-sample) -This library is auto-generated. Current version was **generated on 2018-03-27** from [**Chromium @ 245d8f7**](https://chromium.googlesource.com/chromium/src.git/+/245d8f76fa39341a09ccdb6baf0f8e6d489fb3ab). +This library is auto-generated. Current version was **generated on 2018-03-28** from [**Chromium @ 3380294**](https://chromium.googlesource.com/chromium/src.git/+/33802942258dc390231bd41bd57b3756938e7da0). Looking for a nightly version? Check out [**nightly branch**](https://github.com/binaryage/chromex/tree/nightly) which gets updated nightly if there were any new API changes. @@ -10,7 +10,7 @@ For Chrome Extensions and also for Chrome Apps: | API family | namespaces | properties | functions | events | | --- | --- | --- | --- | --- | -| [Public Chrome Extension APIs](src/exts) | 77 | 50 | 375 | 177 | +| [Public Chrome Extension APIs](src/exts) | 78 | 50 | 378 | 177 | | [Public Chrome App APIs](src/apps) | 69 | 30 | 448 | 153 | | [Private Chrome Extension APIs](src/exts_private) | 39 | 1 | 330 | 66 | | [Private Chrome App APIs](src/apps_private) | 39 | 1 | 317 | 74 | diff --git a/src/apps/chromex/app/alarms.clj b/src/apps/chromex/app/alarms.clj index 716228d0..f07088aa 100644 --- a/src/apps/chromex/app/alarms.clj +++ b/src/apps/chromex/app/alarms.clj @@ -2,7 +2,7 @@ "Use the chrome.alarms API to schedule code to run periodically or at a specified time in the future. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/apps/alarms" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -122,7 +122,7 @@ (def api-table {:namespace "chrome.alarms", - :since "22", + :since "23", :functions [{:id ::create, :name "create", diff --git a/src/apps/chromex/app/bookmarks.clj b/src/apps/chromex/app/bookmarks.clj index eb05ded1..b6112ff6 100644 --- a/src/apps/chromex/app/bookmarks.clj +++ b/src/apps/chromex/app/bookmarks.clj @@ -2,7 +2,7 @@ "Use the chrome.bookmarks API to create, organize, and otherwise manipulate bookmarks. Also see Override Pages, which you can use to create a custom Bookmark Manager page. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/apps/bookmarks" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -305,7 +305,7 @@ (def api-table {:namespace "chrome.bookmarks", - :since "22", + :since "23", :properties [{:id ::max-write-operations-per-hour, :name "MAX_WRITE_OPERATIONS_PER_HOUR", diff --git a/src/apps/chromex/app/context_menus.clj b/src/apps/chromex/app/context_menus.clj index 8da02157..b78f03bc 100644 --- a/src/apps/chromex/app/context_menus.clj +++ b/src/apps/chromex/app/context_menus.clj @@ -2,7 +2,7 @@ "Use the chrome.contextMenus API to add items to Google Chrome's context menu. You can choose what types of objects your context menu additions apply to, such as images, hyperlinks, and pages. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/apps/contextMenus" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -110,7 +110,7 @@ (def api-table {:namespace "chrome.contextMenus", - :since "22", + :since "23", :properties [{:id ::action-menu-top-level-limit, :name "ACTION_MENU_TOP_LEVEL_LIMIT", :since "38", :return-type "unknown-type"}], :functions diff --git a/src/apps/chromex/app/file_browser_handler.clj b/src/apps/chromex/app/file_browser_handler.clj index b136eb68..ca0f7f2f 100644 --- a/src/apps/chromex/app/file_browser_handler.clj +++ b/src/apps/chromex/app/file_browser_handler.clj @@ -2,7 +2,7 @@ "Use the chrome.fileBrowserHandler API to extend the Chrome OS file browser. For example, you can use this API to enable users to upload files to your website. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/apps/fileBrowserHandler" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -63,7 +63,7 @@ (def api-table {:namespace "chrome.fileBrowserHandler", - :since "22", + :since "23", :functions [{:id ::select-file, :name "selectFile", diff --git a/src/apps/chromex/app/i18n.clj b/src/apps/chromex/app/i18n.clj index 2bff7348..445fafea 100644 --- a/src/apps/chromex/app/i18n.clj +++ b/src/apps/chromex/app/i18n.clj @@ -1,7 +1,7 @@ (ns chromex.app.i18n "Use the chrome.i18n infrastructure to implement internationalization across your whole app or extension. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/apps/i18n" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -76,7 +76,7 @@ (def api-table {:namespace "chrome.i18n", - :since "22", + :since "23", :functions [{:id ::get-accept-languages, :name "getAcceptLanguages", diff --git a/src/apps/chromex/app/idle.clj b/src/apps/chromex/app/idle.clj index e2f4da7c..43e38e4e 100644 --- a/src/apps/chromex/app/idle.clj +++ b/src/apps/chromex/app/idle.clj @@ -1,7 +1,7 @@ (ns chromex.app.idle "Use the chrome.idle API to detect when the machine's idle state changes. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/apps/idle" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -71,7 +71,7 @@ (def api-table {:namespace "chrome.idle", - :since "22", + :since "23", :functions [{:id ::query-state, :name "queryState", diff --git a/src/apps/chromex/app/management.clj b/src/apps/chromex/app/management.clj index b80a7108..01bd7b86 100644 --- a/src/apps/chromex/app/management.clj +++ b/src/apps/chromex/app/management.clj @@ -2,7 +2,7 @@ "The chrome.management API provides ways to manage the list of extensions/apps that are installed and running. It is particularly useful for extensions that override the built-in New Tab page. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/apps/management" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -267,7 +267,7 @@ (def api-table {:namespace "chrome.management", - :since "22", + :since "23", :functions [{:id ::get-all, :name "getAll", diff --git a/src/apps/chromex/app/permissions.clj b/src/apps/chromex/app/permissions.clj index 4cd7c07e..01237dcc 100644 --- a/src/apps/chromex/app/permissions.clj +++ b/src/apps/chromex/app/permissions.clj @@ -2,7 +2,7 @@ "Use the chrome.permissions API to request declared optional permissions at run time rather than install time, so users understand why the permissions are needed and grant only those that are necessary. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/apps/permissions" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -119,7 +119,7 @@ (def api-table {:namespace "chrome.permissions", - :since "22", + :since "23", :functions [{:id ::get-all, :name "getAll", diff --git a/src/apps/chromex/app/proxy.clj b/src/apps/chromex/app/proxy.clj index 08791f96..72572c50 100644 --- a/src/apps/chromex/app/proxy.clj +++ b/src/apps/chromex/app/proxy.clj @@ -2,7 +2,7 @@ "Use the chrome.proxy API to manage Chrome's proxy settings. This API relies on the ChromeSetting prototype of the type API for getting and setting the proxy configuration. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/apps/proxy" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -49,7 +49,7 @@ (def api-table {:namespace "chrome.proxy", - :since "22", + :since "23", :properties [{:id ::settings, :name "settings", :return-type "object"}], :events [{:id ::on-proxy-error, :name "onProxyError", :params [{:name "details", :type "object"}]}]}) diff --git a/src/apps/chromex/app/runtime.clj b/src/apps/chromex/app/runtime.clj index 4642e034..d660381f 100644 --- a/src/apps/chromex/app/runtime.clj +++ b/src/apps/chromex/app/runtime.clj @@ -3,7 +3,7 @@ to events in the app or extension lifecycle. You can also use this API to convert the relative path of URLs to fully-qualified URLs. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/apps/runtime" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -394,7 +394,7 @@ (def api-table {:namespace "chrome.runtime", - :since "22", + :since "23", :properties [{:id ::last-error, :name "lastError", :return-type "object"} {:id ::id, :name "id", :return-type "string"}], :functions @@ -484,7 +484,7 @@ :params [{:name "callback", :type :callback, :callback {:params [{:name "directory-entry", :type "DirectoryEntry"}]}}]}], :events - [{:id ::on-startup, :name "onStartup", :since "23"} + [{:id ::on-startup, :name "onStartup"} {:id ::on-installed, :name "onInstalled", :params [{:name "details", :type "object"}]} {:id ::on-suspend, :name "onSuspend"} {:id ::on-suspend-canceled, :name "onSuspendCanceled"} diff --git a/src/apps/chromex/app/storage.clj b/src/apps/chromex/app/storage.clj index b77b8727..b30cf5b2 100644 --- a/src/apps/chromex/app/storage.clj +++ b/src/apps/chromex/app/storage.clj @@ -1,7 +1,7 @@ (ns chromex.app.storage "Use the chrome.storage API to store, retrieve, and track changes to user data. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/apps/storage" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -62,7 +62,7 @@ (def api-table {:namespace "chrome.storage", - :since "22", + :since "23", :properties [{:id ::sync, :name "sync", :return-type "storage.StorageArea"} {:id ::local, :name "local", :return-type "storage.StorageArea"} diff --git a/src/apps/chromex/app/tabs.clj b/src/apps/chromex/app/tabs.clj index f5903ec6..77275430 100644 --- a/src/apps/chromex/app/tabs.clj +++ b/src/apps/chromex/app/tabs.clj @@ -2,7 +2,7 @@ "Use the chrome.tabs API to interact with the browser's tab system. You can use this API to create, modify, and rearrange tabs in the browser. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/apps/tabs" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -622,7 +622,7 @@ (def api-table {:namespace "chrome.tabs", - :since "22", + :since "23", :properties [{:id ::tab-id-none, :name "TAB_ID_NONE", :since "46", :return-type "unknown-type"}], :functions [{:id ::get, @@ -687,7 +687,6 @@ {:name "callback", :optional? true, :type :callback, :callback {:params [{:name "tab", :type "tabs.Tab"}]}}]} {:id ::duplicate, :name "duplicate", - :since "23", :callback? true, :params [{:name "tab-id", :type "integer"} diff --git a/src/apps/chromex/app/test.clj b/src/apps/chromex/app/test.clj index 2e33a8bc..aecd25c4 100644 --- a/src/apps/chromex/app/test.clj +++ b/src/apps/chromex/app/test.clj @@ -1,5 +1,5 @@ (ns chromex.app.test - " * available since Chrome 22 + " * available since Chrome 23 * https://developer.chrome.com/apps/test" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -326,7 +326,7 @@ (def api-table {:namespace "chrome.test", - :since "22", + :since "23", :functions [{:id ::get-config, :name "getConfig", diff --git a/src/apps/chromex/app/tts.clj b/src/apps/chromex/app/tts.clj index 2217da99..78435f81 100644 --- a/src/apps/chromex/app/tts.clj +++ b/src/apps/chromex/app/tts.clj @@ -2,7 +2,7 @@ "Use the chrome.tts API to play synthesized text-to-speech (TTS). See also the related ttsEngine API, which allows an extension to implement a speech engine. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/apps/tts" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -93,7 +93,7 @@ (def api-table {:namespace "chrome.tts", - :since "22", + :since "23", :functions [{:id ::speak, :name "speak", diff --git a/src/apps/chromex/app/webstore.clj b/src/apps/chromex/app/webstore.clj index 7cab93ab..1a189688 100644 --- a/src/apps/chromex/app/webstore.clj +++ b/src/apps/chromex/app/webstore.clj @@ -1,7 +1,7 @@ (ns chromex.app.webstore "Use the chrome.webstore API to initiate app and extension installations 'inline' from your site. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/apps/webstore" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -79,7 +79,7 @@ (def api-table {:namespace "chrome.webstore", - :since "22", + :since "23", :functions [{:id ::install, :name "install", diff --git a/src/apps/chromex/app/windows.clj b/src/apps/chromex/app/windows.clj index 72c51ab4..08afeb19 100644 --- a/src/apps/chromex/app/windows.clj +++ b/src/apps/chromex/app/windows.clj @@ -2,7 +2,7 @@ "Use the chrome.windows API to interact with browser windows. You can use this API to create, modify, and rearrange windows in the browser. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/apps/windows" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -201,7 +201,7 @@ (def api-table {:namespace "chrome.windows", - :since "22", + :since "23", :properties [{:id ::window-id-none, :name "WINDOW_ID_NONE", :return-type "unknown-type"} {:id ::window-id-current, :name "WINDOW_ID_CURRENT", :return-type "unknown-type"}], diff --git a/src/apps/readme.md b/src/apps/readme.md index 224471c0..fb6f1b04 100644 --- a/src/apps/readme.md +++ b/src/apps/readme.md @@ -154,48 +154,48 @@ Generated 69 namespaces containing 30 properties, 448 functions and 153 events: ### Requires -``` +```clojure (ns your.project (:require - [chromex.app.appview-tag refer-macros:[ + [chromex.app.appview-tag refer:[ connect tap-all-events]] - [chromex.app.webview-tag refer-macros:[ + [chromex.app.webview-tag refer:[ get-content-window get-request get-context-menus get-audio-state set-audio-muted is-audio-muted capture-visible-region add-content-scripts back can-go-back can-go-forward clear-data execute-script find forward get-process-id get-user-agent get-zoom get-zoom-mode go insert-css is-user-agent-overridden print reload remove-content-scripts set-user-agent-override set-zoom set-zoom-mode stop stop-finding load-data-with-base-url terminate tap-all-events]] - [chromex.app.accessibility-features refer-macros:[ + [chromex.app.accessibility-features refer:[ get-spoken-feedback get-large-cursor get-sticky-keys get-high-contrast get-screen-magnifier get-autoclick get-virtual-keyboard get-caret-highlight get-cursor-highlight get-focus-highlight get-select-to-speak get-switch-access get-animation-policy tap-all-events]] - [chromex.app.alarms refer-macros:[ + [chromex.app.alarms refer:[ create get get-all clear clear-all tap-on-alarm tap-all-events]] - [chromex.app.app.runtime refer-macros:[ + [chromex.app.app.runtime refer:[ tap-on-embed-requested tap-on-launched tap-on-restarted tap-all-events]] - [chromex.app.app.window refer-macros:[ + [chromex.app.app.window refer:[ create current get-all get can-set-visible-on-all-workspaces tap-on-bounds-changed tap-on-closed tap-on-fullscreened tap-on-maximized tap-on-minimized tap-on-restored tap-all-events]] - [chromex.app.audio refer-macros:[ + [chromex.app.audio refer:[ get-devices set-active-devices set-properties get-mute set-mute tap-on-level-changed tap-on-mute-changed tap-on-device-list-changed tap-all-events]] - [chromex.app.automation refer-macros:[ + [chromex.app.automation refer:[ get-tree get-desktop get-focus add-tree-change-observer remove-tree-change-observer set-document-selection tap-all-events]] - [chromex.app.bluetooth refer-macros:[ + [chromex.app.bluetooth refer:[ get-adapter-state get-device get-devices start-discovery stop-discovery tap-on-adapter-state-changed tap-on-device-added tap-on-device-changed tap-on-device-removed tap-all-events]] - [chromex.app.bluetooth-low-energy refer-macros:[ + [chromex.app.bluetooth-low-energy refer:[ connect disconnect get-service create-service get-services get-characteristic create-characteristic get-characteristics get-included-services get-descriptor create-descriptor get-descriptors read-characteristic-value write-characteristic-value start-characteristic-notifications @@ -207,65 +207,65 @@ Generated 69 namespaces containing 30 properties, 448 functions and 153 events: tap-on-characteristic-read-request tap-on-characteristic-write-request tap-on-descriptor-read-request tap-on-descriptor-write-request tap-all-events]] - [chromex.app.bluetooth-socket refer-macros:[ + [chromex.app.bluetooth-socket refer:[ create update set-paused listen-using-rfcomm listen-using-l2cap connect disconnect close send get-info get-sockets tap-on-accept tap-on-accept-error tap-on-receive tap-on-receive-error tap-all-events]] - [chromex.app.bookmarks refer-macros:[ + [chromex.app.bookmarks refer:[ get-max-write-operations-per-hour get-max-sustained-write-operations-per-minute get get-children get-recent get-tree get-sub-tree search create move update remove remove-tree tap-on-created tap-on-removed tap-on-changed tap-on-moved tap-on-children-reordered tap-on-import-began tap-on-import-ended tap-all-events]] - [chromex.app.browser refer-macros:[ + [chromex.app.browser refer:[ open-tab tap-all-events]] - [chromex.app.certificate-provider refer-macros:[ + [chromex.app.certificate-provider refer:[ request-pin stop-pin-request tap-on-certificates-requested tap-on-sign-digest-requested tap-all-events]] - [chromex.app.clipboard refer-macros:[ + [chromex.app.clipboard refer:[ set-image-data tap-on-clipboard-data-changed tap-all-events]] - [chromex.app.commands refer-macros:[ + [chromex.app.commands refer:[ get-all tap-on-command tap-all-events]] - [chromex.app.context-menus refer-macros:[ + [chromex.app.context-menus refer:[ get-action-menu-top-level-limit create update remove remove-all tap-on-clicked tap-all-events]] - [chromex.app.desktop-capture refer-macros:[ + [chromex.app.desktop-capture refer:[ choose-desktop-media cancel-choose-desktop-media tap-all-events]] - [chromex.app.diagnostics refer-macros:[ + [chromex.app.diagnostics refer:[ send-packet tap-all-events]] - [chromex.app.display-source refer-macros:[ + [chromex.app.display-source refer:[ get-available-sinks request-authentication start-session terminate-session tap-on-sinks-updated tap-on-session-terminated tap-on-session-error-occured tap-all-events]] - [chromex.app.dns refer-macros:[ + [chromex.app.dns refer:[ resolve tap-all-events]] - [chromex.app.document-scan refer-macros:[ + [chromex.app.document-scan refer:[ scan tap-all-events]] - [chromex.app.enterprise.device-attributes refer-macros:[ + [chromex.app.enterprise.device-attributes refer:[ get-directory-device-id get-device-serial-number get-device-asset-id get-device-annotated-location tap-all-events]] - [chromex.app.enterprise.platform-keys refer-macros:[ + [chromex.app.enterprise.platform-keys refer:[ get-tokens get-certificates import-certificate remove-certificate challenge-machine-key challenge-user-key tap-all-events]] - [chromex.app.file-browser-handler refer-macros:[ + [chromex.app.file-browser-handler refer:[ select-file tap-on-execute tap-all-events]] - [chromex.app.file-system refer-macros:[ + [chromex.app.file-system refer:[ get-display-path get-writable-entry is-writable-entry choose-entry restore-entry is-restorable retain-entry request-file-system get-volume-list tap-on-volume-list-changed tap-all-events]] - [chromex.app.file-system-provider refer-macros:[ + [chromex.app.file-system-provider refer:[ mount unmount get-all get notify tap-on-unmount-requested tap-on-get-metadata-requested tap-on-get-actions-requested tap-on-read-directory-requested tap-on-open-file-requested tap-on-close-file-requested tap-on-read-file-requested tap-on-create-directory-requested @@ -275,76 +275,76 @@ Generated 69 namespaces containing 30 properties, 448 functions and 153 events: tap-on-add-watcher-requested tap-on-remove-watcher-requested tap-on-execute-action-requested tap-all-events]] - [chromex.app.gcm refer-macros:[ + [chromex.app.gcm refer:[ get-max-message-size register unregister send tap-on-message tap-on-messages-deleted tap-on-send-error tap-all-events]] - [chromex.app.hid refer-macros:[ + [chromex.app.hid refer:[ get-devices get-user-selected-devices connect disconnect receive send receive-feature-report send-feature-report tap-on-device-added tap-on-device-removed tap-all-events]] - [chromex.app.i18n refer-macros:[ + [chromex.app.i18n refer:[ get-accept-languages get-message get-ui-language detect-language tap-all-events]] - [chromex.app.identity refer-macros:[ + [chromex.app.identity refer:[ get-accounts get-auth-token get-profile-user-info remove-cached-auth-token launch-web-auth-flow get-redirect-url tap-on-sign-in-changed tap-all-events]] - [chromex.app.idle refer-macros:[ + [chromex.app.idle refer:[ query-state set-detection-interval tap-on-state-changed tap-all-events]] - [chromex.app.instance-id refer-macros:[ + [chromex.app.instance-id refer:[ get-id get-creation-time get-token delete-token delete-id tap-on-token-refresh tap-all-events]] - [chromex.app.lock-screen.data refer-macros:[ + [chromex.app.lock-screen.data refer:[ create get-all get-content set-content delete tap-on-data-items-available tap-all-events]] - [chromex.app.management refer-macros:[ + [chromex.app.management refer:[ get-all get get-self get-permission-warnings-by-id get-permission-warnings-by-manifest set-enabled uninstall uninstall-self launch-app create-app-shortcut set-launch-type generate-app-for-link tap-on-installed tap-on-uninstalled tap-on-enabled tap-on-disabled tap-all-events]] - [chromex.app.mdns refer-macros:[ + [chromex.app.mdns refer:[ get-max-service-instances-per-event force-discovery tap-on-service-list tap-all-events]] - [chromex.app.media-galleries refer-macros:[ + [chromex.app.media-galleries refer:[ get-media-file-systems add-user-selected-folder drop-permission-for-media-file-system start-media-scan cancel-media-scan add-scan-results get-media-file-system-metadata get-all-media-file-system-metadata get-metadata add-gallery-watch remove-gallery-watch get-all-gallery-watch remove-all-gallery-watch tap-on-gallery-changed tap-on-scan-progress tap-all-events]] - [chromex.app.networking.config refer-macros:[ + [chromex.app.networking.config refer:[ set-network-filter finish-authentication tap-on-captive-portal-detected tap-all-events]] - [chromex.app.networking.onc refer-macros:[ + [chromex.app.networking.onc refer:[ get-properties get-managed-properties get-state set-properties create-network forget-network get-networks get-device-states enable-network-type disable-network-type request-network-scan start-connect start-disconnect get-captive-portal-status get-global-policy tap-on-networks-changed tap-on-network-list-changed tap-on-device-state-list-changed tap-on-portal-detection-completed tap-all-events]] - [chromex.app.notifications refer-macros:[ + [chromex.app.notifications refer:[ create update clear get-all get-permission-level tap-on-closed tap-on-clicked tap-on-button-clicked tap-on-permission-level-changed tap-on-show-settings tap-all-events]] - [chromex.app.permissions refer-macros:[ + [chromex.app.permissions refer:[ get-all contains request remove tap-on-added tap-on-removed tap-all-events]] - [chromex.app.platform-keys refer-macros:[ + [chromex.app.platform-keys refer:[ select-client-certificates get-key-pair subtle-crypto verify-tls-server-certificate tap-all-events]] - [chromex.app.power refer-macros:[ + [chromex.app.power refer:[ request-keep-awake release-keep-awake tap-all-events]] - [chromex.app.printer-provider refer-macros:[ + [chromex.app.printer-provider refer:[ tap-on-get-printers-requested tap-on-get-usb-printer-info-requested tap-on-get-capability-requested tap-on-print-requested tap-all-events]] - [chromex.app.proxy refer-macros:[ + [chromex.app.proxy refer:[ get-settings tap-on-proxy-error tap-all-events]] - [chromex.app.runtime refer-macros:[ + [chromex.app.runtime refer:[ get-last-error get-id get-background-page open-options-page get-manifest get-url set-uninstall-url reload request-update-check restart restart-after-delay connect connect-native send-message send-native-message get-platform-info get-package-directory-entry tap-on-startup tap-on-installed @@ -352,63 +352,63 @@ Generated 69 namespaces containing 30 properties, 448 functions and 153 events: tap-on-connect tap-on-connect-external tap-on-message tap-on-message-external tap-on-restart-required tap-all-events]] - [chromex.app.serial refer-macros:[ + [chromex.app.serial refer:[ get-devices connect update disconnect set-paused get-info get-connections send flush get-control-signals set-control-signals set-break clear-break tap-on-receive tap-on-receive-error tap-all-events]] - [chromex.app.signed-in-devices refer-macros:[ + [chromex.app.signed-in-devices refer:[ get tap-on-device-info-change tap-all-events]] - [chromex.app.socket refer-macros:[ + [chromex.app.socket refer:[ create destroy connect bind disconnect read write recv-from send-to listen accept set-keep-alive set-no-delay get-info get-network-list join-group leave-group set-multicast-time-to-live set-multicast-loopback-mode get-joined-groups secure tap-all-events]] - [chromex.app.sockets.tcp refer-macros:[ + [chromex.app.sockets.tcp refer:[ create update set-paused set-keep-alive set-no-delay connect disconnect secure send close get-info get-sockets tap-on-receive tap-on-receive-error tap-all-events]] - [chromex.app.sockets.tcp-server refer-macros:[ + [chromex.app.sockets.tcp-server refer:[ create update set-paused listen disconnect close get-info get-sockets tap-on-accept tap-on-accept-error tap-all-events]] - [chromex.app.sockets.udp refer-macros:[ + [chromex.app.sockets.udp refer:[ create update set-paused bind send close get-info get-sockets join-group leave-group set-multicast-time-to-live set-multicast-loopback-mode get-joined-groups set-broadcast tap-on-receive tap-on-receive-error tap-all-events]] - [chromex.app.storage refer-macros:[ + [chromex.app.storage refer:[ get-sync get-local get-managed tap-on-changed tap-all-events]] - [chromex.app.sync-file-system refer-macros:[ + [chromex.app.sync-file-system refer:[ request-file-system set-conflict-resolution-policy get-conflict-resolution-policy get-usage-and-quota get-file-status get-file-statuses get-service-status tap-on-service-status-changed tap-on-file-status-changed tap-all-events]] - [chromex.app.system.cpu refer-macros:[ + [chromex.app.system.cpu refer:[ get-info tap-all-events]] - [chromex.app.system.display refer-macros:[ + [chromex.app.system.display refer:[ get-info get-display-layout set-display-properties set-display-layout enable-unified-desktop overscan-calibration-start overscan-calibration-adjust overscan-calibration-reset overscan-calibration-complete show-native-touch-calibration start-custom-touch-calibration complete-custom-touch-calibration clear-touch-calibration set-mirror-mode tap-on-display-changed tap-all-events]] - [chromex.app.system.memory refer-macros:[ + [chromex.app.system.memory refer:[ get-info tap-all-events]] - [chromex.app.system.network refer-macros:[ + [chromex.app.system.network refer:[ get-network-interfaces tap-all-events]] - [chromex.app.system.storage refer-macros:[ + [chromex.app.system.storage refer:[ get-info eject-device get-available-capacity tap-on-attached tap-on-detached tap-all-events]] - [chromex.app.system-indicator refer-macros:[ + [chromex.app.system-indicator refer:[ set-icon enable disable tap-on-clicked tap-all-events]] - [chromex.app.tabs refer-macros:[ + [chromex.app.tabs refer:[ get-tab-id-none get get-current connect send-request send-message get-selected get-all-in-window create duplicate query highlight update move reload remove detect-language capture-visible-tab execute-script insert-css set-zoom get-zoom set-zoom-settings get-zoom-settings discard @@ -416,7 +416,7 @@ Generated 69 namespaces containing 30 properties, 448 functions and 153 events: tap-on-activated tap-on-highlight-changed tap-on-highlighted tap-on-detached tap-on-attached tap-on-removed tap-on-replaced tap-on-zoom-change tap-all-events]] - [chromex.app.test refer-macros:[ + [chromex.app.test refer:[ get-config notify-fail notify-pass log send-message callback-added run-next-test fail succeed get-module-system assert-true assert-false assert-bool check-deep-eq assert-eq assert-no-last-error assert-last-error assert-throws callback listen-once listen-forever callback-pass callback-fail @@ -424,30 +424,30 @@ Generated 69 namespaces containing 30 properties, 448 functions and 153 events: run-without-user-gesture wait-for-round-trip set-exception-handler get-wake-event-page tap-on-message tap-all-events]] - [chromex.app.tts refer-macros:[ + [chromex.app.tts refer:[ speak stop pause resume is-speaking get-voices tap-all-events]] - [chromex.app.usb refer-macros:[ + [chromex.app.usb refer:[ get-devices get-user-selected-devices get-configurations request-access open-device find-devices close-device set-configuration get-configuration list-interfaces claim-interface release-interface set-interface-alternate-setting control-transfer bulk-transfer interrupt-transfer isochronous-transfer reset-device tap-on-device-added tap-on-device-removed tap-all-events]] - [chromex.app.virtual-keyboard refer-macros:[ + [chromex.app.virtual-keyboard refer:[ restrict-features tap-all-events]] - [chromex.app.vpn-provider refer-macros:[ + [chromex.app.vpn-provider refer:[ create-config destroy-config set-parameters send-packet notify-connection-state-changed tap-on-platform-message tap-on-packet-received tap-on-config-removed tap-on-config-created tap-on-ui-event tap-all-events]] - [chromex.app.wallpaper refer-macros:[ + [chromex.app.wallpaper refer:[ set-wallpaper tap-all-events]] - [chromex.app.webstore refer-macros:[ + [chromex.app.webstore refer:[ install tap-on-install-stage-changed tap-on-download-progress tap-all-events]] - [chromex.app.windows refer-macros:[ + [chromex.app.windows refer:[ get-window-id-none get-window-id-current get get-current get-last-focused get-all create update remove tap-on-created tap-on-removed tap-on-focus-changed tap-all-events]])) -``` \ No newline at end of file +``` diff --git a/src/apps_private/chromex/app/chromeos_info_private.clj b/src/apps_private/chromex/app/chromeos_info_private.clj index 2ccc0694..e1d09c60 100644 --- a/src/apps_private/chromex/app/chromeos_info_private.clj +++ b/src/apps_private/chromex/app/chromeos_info_private.clj @@ -1,5 +1,5 @@ (ns chromex.app.chromeos-info-private - " * available since Chrome 22" + " * available since Chrome 23" (:refer-clojure :only [defmacro defn apply declare meta let partial]) (:require [chromex.wrapgen :refer [gen-wrap-helper]] @@ -45,7 +45,7 @@ (def api-table {:namespace "chrome.chromeosInfoPrivate", - :since "22", + :since "23", :functions [{:id ::get, :name "get", diff --git a/src/apps_private/chromex/app/echo_private.clj b/src/apps_private/chromex/app/echo_private.clj index 577a003b..32753ae8 100644 --- a/src/apps_private/chromex/app/echo_private.clj +++ b/src/apps_private/chromex/app/echo_private.clj @@ -1,5 +1,5 @@ (ns chromex.app.echo-private - " * available since Chrome 22" + " * available since Chrome 23" (:refer-clojure :only [defmacro defn apply declare meta let partial]) (:require [chromex.wrapgen :refer [gen-wrap-helper]] @@ -86,7 +86,7 @@ (def api-table {:namespace "chrome.echoPrivate", - :since "22", + :since "23", :functions [{:id ::set-offer-info, :name "setOfferInfo", diff --git a/src/apps_private/chromex/app/input_method_private.clj b/src/apps_private/chromex/app/input_method_private.clj index 988e57c8..e4d2bd00 100644 --- a/src/apps_private/chromex/app/input_method_private.clj +++ b/src/apps_private/chromex/app/input_method_private.clj @@ -1,5 +1,5 @@ (ns chromex.app.input-method-private - " * available since Chrome 22" + " * available since Chrome 23" (:refer-clojure :only [defmacro defn apply declare meta let partial]) (:require [chromex.wrapgen :refer [gen-wrap-helper]] @@ -216,7 +216,7 @@ (def api-table {:namespace "chrome.inputMethodPrivate", - :since "22", + :since "23", :functions [{:id ::get-input-method-config, :name "getInputMethodConfig", diff --git a/src/apps_private/chromex/app/media_player_private.clj b/src/apps_private/chromex/app/media_player_private.clj index 8987add2..020c0e6f 100644 --- a/src/apps_private/chromex/app/media_player_private.clj +++ b/src/apps_private/chromex/app/media_player_private.clj @@ -1,5 +1,5 @@ (ns chromex.app.media-player-private - " * available since Chrome 22" + " * available since Chrome 23" (:refer-clojure :only [defmacro defn apply declare meta let partial]) (:require [chromex.wrapgen :refer [gen-wrap-helper]] @@ -49,11 +49,11 @@ (def api-table {:namespace "chrome.mediaPlayerPrivate", - :since "22", + :since "23", :events - [{:id ::on-next-track, :name "onNextTrack", :since "23"} - {:id ::on-prev-track, :name "onPrevTrack", :since "23"} - {:id ::on-toggle-play-state, :name "onTogglePlayState", :since "23"}]}) + [{:id ::on-next-track, :name "onNextTrack"} + {:id ::on-prev-track, :name "onPrevTrack"} + {:id ::on-toggle-play-state, :name "onTogglePlayState"}]}) ; -- helpers ---------------------------------------------------------------------------------------------------------------- diff --git a/src/apps_private/chromex/app/system_private.clj b/src/apps_private/chromex/app/system_private.clj index 041cbe57..2b647f97 100644 --- a/src/apps_private/chromex/app/system_private.clj +++ b/src/apps_private/chromex/app/system_private.clj @@ -1,5 +1,5 @@ (ns chromex.app.system-private - " * available since Chrome 22" + " * available since Chrome 23" (:refer-clojure :only [defmacro defn apply declare meta let partial]) (:require [chromex.wrapgen :refer [gen-wrap-helper]] @@ -99,7 +99,7 @@ (def api-table {:namespace "chrome.systemPrivate", - :since "22", + :since "23", :functions [{:id ::get-incognito-mode-availability, :name "getIncognitoModeAvailability", diff --git a/src/apps_private/chromex/app/terminal_private.clj b/src/apps_private/chromex/app/terminal_private.clj index bd5f2da7..8ff04c99 100644 --- a/src/apps_private/chromex/app/terminal_private.clj +++ b/src/apps_private/chromex/app/terminal_private.clj @@ -1,5 +1,5 @@ (ns chromex.app.terminal-private - " * available since Chrome 22" + " * available since Chrome 23" (:refer-clojure :only [defmacro defn apply declare meta let partial]) (:require [chromex.wrapgen :refer [gen-wrap-helper]] @@ -110,7 +110,7 @@ (def api-table {:namespace "chrome.terminalPrivate", - :since "22", + :since "23", :functions [{:id ::open-terminal-process, :name "openTerminalProcess", diff --git a/src/apps_private/chromex/app/wallpaper_private.clj b/src/apps_private/chromex/app/wallpaper_private.clj index 75e982bc..6aa1fc92 100644 --- a/src/apps_private/chromex/app/wallpaper_private.clj +++ b/src/apps_private/chromex/app/wallpaper_private.clj @@ -1,5 +1,5 @@ (ns chromex.app.wallpaper-private - " * available since Chrome 22" + " * available since Chrome 23" (:refer-clojure :only [defmacro defn apply declare meta let partial]) (:require [chromex.wrapgen :refer [gen-wrap-helper]] @@ -39,7 +39,7 @@ (def api-table {:namespace "chrome.wallpaperPrivate", - :since "22", + :since "23", :events [{:id ::on-wallpaper-changed-by3rd-party, :name "onWallpaperChangedBy3rdParty", diff --git a/src/apps_private/readme.md b/src/apps_private/readme.md index 33f50e4c..ba3d652a 100644 --- a/src/apps_private/readme.md +++ b/src/apps_private/readme.md @@ -94,47 +94,47 @@ Generated 39 namespaces containing 1 properties, 317 functions and 74 events: ### Requires -``` +```clojure (ns your.project (:require - [chromex.app.accessibility-private refer-macros:[ + [chromex.app.accessibility-private refer:[ set-native-accessibility-enabled set-focus-ring set-highlights set-keyboard-listener darken-screen set-switch-access-keys set-native-chrome-vox-arc-support-for-current-app send-synthetic-key-event tap-on-introduce-chrome-vox tap-on-accessibility-gesture tap-on-two-finger-touch-start tap-on-two-finger-touch-stop tap-all-events]] - [chromex.app.activity-log-private refer-macros:[ + [chromex.app.activity-log-private refer:[ get-extension-activities delete-activities delete-database delete-urls tap-on-extension-activity tap-all-events]] - [chromex.app.autofill-private refer-macros:[ + [chromex.app.autofill-private refer:[ save-address get-country-list get-address-components get-address-list save-credit-card remove-entry validate-phone-numbers get-credit-card-list mask-credit-card tap-on-address-list-changed tap-on-credit-card-list-changed tap-all-events]] - [chromex.app.bluetooth-private refer-macros:[ + [chromex.app.bluetooth-private refer:[ set-adapter-state set-pairing-response disconnect-all forget-device set-discovery-filter connect pair tap-on-pairing tap-all-events]] - [chromex.app.bookmark-manager-private refer-macros:[ + [chromex.app.bookmark-manager-private refer:[ copy cut paste can-paste sort-children get-strings start-drag drop get-subtree can-edit remove-trees record-launch create-with-meta-info get-meta-info set-meta-info update-meta-info undo redo get-undo-info get-redo-info tap-on-drag-enter tap-on-drag-leave tap-on-drop tap-on-meta-info-changed tap-all-events]] - [chromex.app.braille-display-private refer-macros:[ + [chromex.app.braille-display-private refer:[ get-display-state write-dots tap-on-display-state-changed tap-on-key-event tap-all-events]] - [chromex.app.chromeos-info-private refer-macros:[ + [chromex.app.chromeos-info-private refer:[ get set tap-all-events]] - [chromex.app.command-line-private refer-macros:[ + [chromex.app.command-line-private refer:[ has-switch tap-all-events]] - [chromex.app.dashboard-private refer-macros:[ + [chromex.app.dashboard-private refer:[ show-permission-prompt-for-delegated-install tap-all-events]] - [chromex.app.developer-private refer-macros:[ + [chromex.app.developer-private refer:[ auto-update get-extensions-info get-extension-info get-extension-size get-items-info get-profile-configuration update-profile-configuration show-permissions-dialog reload update-extension-configuration load-unpacked notify-drag-install-in-progress load-directory @@ -143,7 +143,7 @@ Generated 39 namespaces containing 1 properties, 317 functions and 74 events: update-extension-command enable allow-incognito allow-file-access inspect tap-on-item-state-changed tap-on-profile-state-changed tap-all-events]] - [chromex.app.easy-unlock-private refer-macros:[ + [chromex.app.easy-unlock-private refer:[ get-strings generate-ec-p256-key-pair perform-ecdh-key-agreement create-secure-message unwrap-secure-message seek-bluetooth-device-by-address connect-to-bluetooth-service-insecurely update-screenlock-state set-permit-access get-permit-access clear-permit-access set-remote-devices @@ -153,15 +153,15 @@ Generated 39 namespaces containing 1 properties, 317 functions and 74 events: setup-connection-get-device-address tap-on-user-info-updated tap-on-start-auto-pairing tap-on-connection-status-changed tap-on-data-received tap-on-send-completed tap-all-events]] - [chromex.app.echo-private refer-macros:[ + [chromex.app.echo-private refer:[ set-offer-info get-offer-info get-registration-code get-oobe-timestamp get-user-consent tap-all-events]] - [chromex.app.feedback-private refer-macros:[ + [chromex.app.feedback-private refer:[ get-user-email get-system-information send-feedback get-strings log-srt-prompt-result read-log-source tap-on-feedback-requested tap-all-events]] - [chromex.app.file-manager-private refer-macros:[ + [chromex.app.file-manager-private refer:[ logout-user-for-reauthentication cancel-dialog execute-task set-default-task get-file-tasks get-mime-type get-strings add-file-watch remove-file-watch enable-external-file-scheme grant-access select-files select-file get-entry-properties pin-drive-file resolve-isolated-entries add-mount @@ -177,18 +177,18 @@ Generated 39 namespaces containing 1 properties, 317 functions and 74 events: tap-on-drive-connection-status-changed tap-on-device-changed tap-on-drive-sync-error tap-on-apps-updated tap-all-events]] - [chromex.app.identity-private refer-macros:[ + [chromex.app.identity-private refer:[ tap-on-web-flow-request tap-all-events]] - [chromex.app.image-writer-private refer-macros:[ + [chromex.app.image-writer-private refer:[ write-from-url write-from-file cancel-write destroy-partitions list-removable-storage-devices tap-on-write-progress tap-on-write-complete tap-on-write-error tap-on-device-inserted tap-on-device-removed tap-all-events]] - [chromex.app.inline-install-private refer-macros:[ + [chromex.app.inline-install-private refer:[ install tap-all-events]] - [chromex.app.input-method-private refer-macros:[ + [chromex.app.input-method-private refer:[ get-input-method-config get-input-methods get-current-input-method set-current-input-method fetch-all-dictionary-words add-word-to-dictionary get-encrypt-sync-enabled set-xkb-layout notify-ime-menu-item-activated show-input-view open-options-page tap-on-changed @@ -196,7 +196,7 @@ Generated 39 namespaces containing 1 properties, 317 functions and 74 events: tap-on-ime-menu-activation-changed tap-on-ime-menu-list-changed tap-on-ime-menu-items-changed tap-all-events]] - [chromex.app.language-settings-private refer-macros:[ + [chromex.app.language-settings-private refer:[ get-language-list enable-language disable-language set-enable-translation-for-language move-language get-spellcheck-dictionary-statuses get-spellcheck-words add-spellcheck-word remove-spellcheck-word get-translate-target-language get-input-method-lists add-input-method @@ -204,25 +204,25 @@ Generated 39 namespaces containing 1 properties, 317 functions and 74 events: tap-on-custom-dictionary-changed tap-on-input-method-added tap-on-input-method-removed tap-all-events]] - [chromex.app.media-perception-private refer-macros:[ + [chromex.app.media-perception-private refer:[ get-state set-state get-diagnostics set-analytics-component tap-on-media-perception tap-all-events]] - [chromex.app.media-player-private refer-macros:[ + [chromex.app.media-player-private refer:[ tap-on-next-track tap-on-prev-track tap-on-toggle-play-state tap-all-events]] - [chromex.app.metrics-private refer-macros:[ + [chromex.app.metrics-private refer:[ get-is-crash-reporting-enabled get-field-trial get-variation-params record-user-action record-percentage record-count record-small-count record-medium-count record-time record-medium-time record-long-time record-sparse-hashable record-sparse-value record-value record-boolean record-enumeration-value tap-all-events]] - [chromex.app.mojo-private refer-macros:[ + [chromex.app.mojo-private refer:[ require-async tap-all-events]] - [chromex.app.music-manager-private refer-macros:[ + [chromex.app.music-manager-private refer:[ get-device-id tap-all-events]] - [chromex.app.networking-private refer-macros:[ + [chromex.app.networking-private refer:[ get-properties get-managed-properties get-state set-properties create-network forget-network get-networks get-visible-networks get-enabled-network-types get-device-states enable-network-type disable-network-type request-network-scan start-connect start-disconnect start-activate @@ -231,59 +231,59 @@ Generated 39 namespaces containing 1 properties, 317 functions and 74 events: tap-on-device-state-list-changed tap-on-portal-detection-completed tap-on-certificate-lists-changed tap-all-events]] - [chromex.app.passwords-private refer-macros:[ + [chromex.app.passwords-private refer:[ remove-saved-password remove-password-exception undo-remove-saved-password-or-exception request-plaintext-password get-saved-password-list get-password-exception-list import-passwords export-passwords request-export-progress-status cancel-export-passwords tap-on-saved-passwords-list-changed tap-on-password-exceptions-list-changed tap-on-plaintext-password-retrieved tap-on-passwords-file-export-progress tap-all-events]] - [chromex.app.preferences-private refer-macros:[ + [chromex.app.preferences-private refer:[ get-easy-unlock-proximity-required tap-all-events]] - [chromex.app.quick-unlock-private refer-macros:[ + [chromex.app.quick-unlock-private refer:[ get-auth-token set-lock-screen-enabled get-available-modes get-active-modes check-credential get-credential-requirements set-modes tap-on-active-modes-changed tap-all-events]] - [chromex.app.resources-private refer-macros:[ + [chromex.app.resources-private refer:[ get-strings tap-all-events]] - [chromex.app.settings-private refer-macros:[ + [chromex.app.settings-private refer:[ set-pref get-all-prefs get-pref get-default-zoom set-default-zoom tap-on-prefs-changed tap-all-events]] - [chromex.app.streams-private refer-macros:[ + [chromex.app.streams-private refer:[ abort tap-on-execute-mime-type-handler tap-all-events]] - [chromex.app.system-private refer-macros:[ + [chromex.app.system-private refer:[ get-incognito-mode-availability get-update-status get-api-key tap-on-volume-changed tap-on-brightness-changed tap-on-screen-unlocked tap-on-woke-up tap-all-events]] - [chromex.app.terminal-private refer-macros:[ + [chromex.app.terminal-private refer:[ open-terminal-process close-terminal-process send-input on-terminal-resize ack-output tap-on-process-output tap-all-events]] - [chromex.app.users-private refer-macros:[ + [chromex.app.users-private refer:[ get-whitelisted-users add-whitelisted-user remove-whitelisted-user is-current-user-owner is-whitelist-managed tap-all-events]] - [chromex.app.virtual-keyboard-private refer-macros:[ + [chromex.app.virtual-keyboard-private refer:[ insert-text send-key-event hide-keyboard set-hotrod-keyboard lock-keyboard keyboard-loaded get-keyboard-config open-settings set-mode set-container-behavior set-draggable-area set-keyboard-state tap-on-bounds-changed tap-on-keyboard-closed tap-on-keyboard-config-changed tap-all-events]] - [chromex.app.wallpaper-private refer-macros:[ + [chromex.app.wallpaper-private refer:[ tap-on-wallpaper-changed-by3rd-party tap-all-events]] - [chromex.app.webcam-private refer-macros:[ + [chromex.app.webcam-private refer:[ open-serial-webcam close-webcam get set reset tap-all-events]] - [chromex.app.webrtc-logging-private refer-macros:[ + [chromex.app.webrtc-logging-private refer:[ set-meta-data start set-upload-on-render-close stop store upload-stored upload discard start-rtp-dump stop-rtp-dump start-audio-debug-recordings stop-audio-debug-recordings start-event-logging get-logs-directory tap-all-events]] - [chromex.app.webstore-widget-private refer-macros:[ + [chromex.app.webstore-widget-private refer:[ get-strings install-webstore-item tap-on-show-widget tap-all-events]])) -``` \ No newline at end of file +``` diff --git a/src/exts/chromex/ext/alarms.clj b/src/exts/chromex/ext/alarms.clj index 950cf7cf..3e9475d6 100644 --- a/src/exts/chromex/ext/alarms.clj +++ b/src/exts/chromex/ext/alarms.clj @@ -2,7 +2,7 @@ "Use the chrome.alarms API to schedule code to run periodically or at a specified time in the future. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/extensions/alarms" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -122,7 +122,7 @@ (def api-table {:namespace "chrome.alarms", - :since "22", + :since "23", :functions [{:id ::create, :name "create", diff --git a/src/exts/chromex/ext/app.clj b/src/exts/chromex/ext/app.clj index 2fa63238..f4bc98eb 100644 --- a/src/exts/chromex/ext/app.clj +++ b/src/exts/chromex/ext/app.clj @@ -1,5 +1,5 @@ (ns chromex.ext.app - " * available since Chrome 22 + " * available since Chrome 23 * https://developer.chrome.com/extensions/app" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -56,7 +56,7 @@ (def api-table {:namespace "chrome.app", - :since "22", + :since "23", :functions [{:id ::get-is-installed, :name "getIsInstalled", :return-type "boolean"} {:id ::install-state, diff --git a/src/exts/chromex/ext/bookmarks.clj b/src/exts/chromex/ext/bookmarks.clj index 36052db7..584382ef 100644 --- a/src/exts/chromex/ext/bookmarks.clj +++ b/src/exts/chromex/ext/bookmarks.clj @@ -2,7 +2,7 @@ "Use the chrome.bookmarks API to create, organize, and otherwise manipulate bookmarks. Also see Override Pages, which you can use to create a custom Bookmark Manager page. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/extensions/bookmarks" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -305,7 +305,7 @@ (def api-table {:namespace "chrome.bookmarks", - :since "22", + :since "23", :properties [{:id ::max-write-operations-per-hour, :name "MAX_WRITE_OPERATIONS_PER_HOUR", diff --git a/src/exts/chromex/ext/browser_action.clj b/src/exts/chromex/ext/browser_action.clj index 255b7d42..ee6c6f83 100644 --- a/src/exts/chromex/ext/browser_action.clj +++ b/src/exts/chromex/ext/browser_action.clj @@ -2,7 +2,7 @@ "Use browser actions to put icons in the main Google Chrome toolbar, to the right of the address bar. In addition to its icon, a browser action can also have a tooltip, a badge, and a popup. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/extensions/browserAction" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -209,7 +209,7 @@ (def api-table {:namespace "chrome.browserAction", - :since "22", + :since "23", :functions [{:id ::set-title, :name "setTitle", diff --git a/src/exts/chromex/ext/browsing_data.clj b/src/exts/chromex/ext/browsing_data.clj index e1ff6151..d47261b9 100644 --- a/src/exts/chromex/ext/browsing_data.clj +++ b/src/exts/chromex/ext/browsing_data.clj @@ -1,7 +1,7 @@ (ns chromex.ext.browsing-data "Use the chrome.browsingData API to remove browsing data from a user's local profile. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/extensions/browsingData" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -225,7 +225,7 @@ (def api-table {:namespace "chrome.browsingData", - :since "22", + :since "23", :functions [{:id ::settings, :name "settings", diff --git a/src/exts/chromex/ext/content_settings.clj b/src/exts/chromex/ext/content_settings.clj index 031971c0..1bc82c89 100644 --- a/src/exts/chromex/ext/content_settings.clj +++ b/src/exts/chromex/ext/content_settings.clj @@ -3,7 +3,7 @@ JavaScript, and plugins. More generally speaking, content settings allow you to customize Chrome's behavior on a per-site basis instead of globally. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/extensions/contentSettings" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -131,7 +131,7 @@ (def api-table {:namespace "chrome.contentSettings", - :since "22", + :since "23", :properties [{:id ::cookies, :name "cookies", :return-type "contentSettings.ContentSetting"} {:id ::images, :name "images", :return-type "contentSettings.ContentSetting"} diff --git a/src/exts/chromex/ext/context_menus.clj b/src/exts/chromex/ext/context_menus.clj index 0bd55b1e..6da0fcc1 100644 --- a/src/exts/chromex/ext/context_menus.clj +++ b/src/exts/chromex/ext/context_menus.clj @@ -2,7 +2,7 @@ "Use the chrome.contextMenus API to add items to Google Chrome's context menu. You can choose what types of objects your context menu additions apply to, such as images, hyperlinks, and pages. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/extensions/contextMenus" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -110,7 +110,7 @@ (def api-table {:namespace "chrome.contextMenus", - :since "22", + :since "23", :properties [{:id ::action-menu-top-level-limit, :name "ACTION_MENU_TOP_LEVEL_LIMIT", :since "38", :return-type "unknown-type"}], :functions diff --git a/src/exts/chromex/ext/cookies.clj b/src/exts/chromex/ext/cookies.clj index 5c98e737..a8601ab8 100644 --- a/src/exts/chromex/ext/cookies.clj +++ b/src/exts/chromex/ext/cookies.clj @@ -1,7 +1,7 @@ (ns chromex.ext.cookies "Use the chrome.cookies API to query and modify cookies, and to be notified when they change. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/extensions/cookies" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -128,7 +128,7 @@ (def api-table {:namespace "chrome.cookies", - :since "22", + :since "23", :functions [{:id ::get, :name "get", diff --git a/src/exts/chromex/ext/debugger_api.clj b/src/exts/chromex/ext/debugger_api.clj index 856883f3..9fb07964 100644 --- a/src/exts/chromex/ext/debugger_api.clj +++ b/src/exts/chromex/ext/debugger_api.clj @@ -3,7 +3,7 @@ attach to one or more tabs to instrument network interaction, debug JavaScript, mutate the DOM and CSS, etc. Use the Debuggee tabId to target tabs with sendCommand and route events by tabId from onEvent callbacks. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/extensions/debugger" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -127,7 +127,7 @@ (def api-table {:namespace "chrome.debugger", - :since "22", + :since "23", :functions [{:id ::attach, :name "attach", diff --git a/src/exts/chromex/ext/declarative_net_request.clj b/src/exts/chromex/ext/declarative_net_request.clj new file mode 100644 index 00000000..d1ec3f1a --- /dev/null +++ b/src/exts/chromex/ext/declarative_net_request.clj @@ -0,0 +1,101 @@ +(ns chromex.ext.declarative-net-request + "The chrome.declarativeNetRequest API is used to intercept and + perform actions on a network request by specifying declarative rules. + + * available since Chrome 66 + * https://developer.chrome.com/extensions/declarativeNetRequest" + + (:refer-clojure :only [defmacro defn apply declare meta let partial]) + (:require [chromex.wrapgen :refer [gen-wrap-helper]] + [chromex.callgen :refer [gen-call-helper gen-tap-all-events-call]])) + +(declare api-table) +(declare gen-call) + +; -- functions -------------------------------------------------------------------------------------------------------------- + +(defmacro add-whitelisted-pages + "Adds |page_patterns| to the set of whitelisted pages. Requests from these pages are not intercepted by the extension. These + are persisted across browser sessions. + + |page-patterns| - Array of match patterns which are to be added to the whitelist. + + This function returns a core.async channel which eventually receives a result value and closes. + Signature of the result value put on the channel is []. + + In case of error the channel closes without receiving any result and relevant error object can be obtained via + chromex.error/get-last-error. + + https://developer.chrome.com/extensions/declarativeNetRequest#method-addWhitelistedPages." + ([page-patterns] (gen-call :function ::add-whitelisted-pages &form page-patterns))) + +(defmacro remove-whitelisted-pages + "Removes |page_patterns| from the set of whitelisted pages. + + |page-patterns| - Array of match patterns which are to be removed from the whitelist. + + This function returns a core.async channel which eventually receives a result value and closes. + Signature of the result value put on the channel is []. + + In case of error the channel closes without receiving any result and relevant error object can be obtained via + chromex.error/get-last-error. + + https://developer.chrome.com/extensions/declarativeNetRequest#method-removeWhitelistedPages." + ([page-patterns] (gen-call :function ::remove-whitelisted-pages &form page-patterns))) + +(defmacro get-whitelisted-pages + "Returns the current set of whitelisted pages. + + This function returns a core.async channel which eventually receives a result value and closes. + Signature of the result value put on the channel is [result] where: + + |result| - https://developer.chrome.com/extensions/declarativeNetRequest#property-callback-result. + + In case of error the channel closes without receiving any result and relevant error object can be obtained via + chromex.error/get-last-error. + + https://developer.chrome.com/extensions/declarativeNetRequest#method-getWhitelistedPages." + ([] (gen-call :function ::get-whitelisted-pages &form))) + +; -- convenience ------------------------------------------------------------------------------------------------------------ + +(defmacro tap-all-events + "Taps all valid non-deprecated events in chromex.ext.declarative-net-request namespace." + [chan] + (gen-tap-all-events-call api-table (meta &form) chan)) + +; --------------------------------------------------------------------------------------------------------------------------- +; -- API TABLE -------------------------------------------------------------------------------------------------------------- +; --------------------------------------------------------------------------------------------------------------------------- + +(def api-table + {:namespace "chrome.declarativeNetRequest", + :since "66", + :functions + [{:id ::add-whitelisted-pages, + :name "addWhitelistedPages", + :since "master", + :callback? true, + :params + [{:name "page-patterns", :type "[array-of-strings]"} {:name "callback", :optional? true, :type :callback}]} + {:id ::remove-whitelisted-pages, + :name "removeWhitelistedPages", + :since "master", + :callback? true, + :params + [{:name "page-patterns", :type "[array-of-strings]"} {:name "callback", :optional? true, :type :callback}]} + {:id ::get-whitelisted-pages, + :name "getWhitelistedPages", + :since "master", + :callback? true, + :params + [{:name "callback", :type :callback, :callback {:params [{:name "result", :type "[array-of-strings]"}]}}]}]}) + +; -- helpers ---------------------------------------------------------------------------------------------------------------- + +; code generation for native API wrapper +(defmacro gen-wrap [kind item-id config & args] + (apply gen-wrap-helper api-table kind item-id config args)) + +; code generation for API call-site +(def gen-call (partial gen-call-helper api-table)) \ No newline at end of file diff --git a/src/exts/chromex/ext/declarative_net_request.cljs b/src/exts/chromex/ext/declarative_net_request.cljs new file mode 100644 index 00000000..e0d47b6f --- /dev/null +++ b/src/exts/chromex/ext/declarative_net_request.cljs @@ -0,0 +1,14 @@ +(ns chromex.ext.declarative-net-request (:require-macros [chromex.ext.declarative-net-request :refer [gen-wrap]]) + (:require [chromex.core])) + +; -- functions -------------------------------------------------------------------------------------------------------------- + +(defn add-whitelisted-pages* [config page-patterns] + (gen-wrap :function ::add-whitelisted-pages config page-patterns)) + +(defn remove-whitelisted-pages* [config page-patterns] + (gen-wrap :function ::remove-whitelisted-pages config page-patterns)) + +(defn get-whitelisted-pages* [config] + (gen-wrap :function ::get-whitelisted-pages config)) + diff --git a/src/exts/chromex/ext/devtools/inspected_window.clj b/src/exts/chromex/ext/devtools/inspected_window.clj index 450058e5..3f8466e4 100644 --- a/src/exts/chromex/ext/devtools/inspected_window.clj +++ b/src/exts/chromex/ext/devtools/inspected_window.clj @@ -3,7 +3,7 @@ page, evaluate the code in the context of the inspected window, reload the page, or obtain the list of resources within the page. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/extensions/devtools.inspectedWindow" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -113,7 +113,7 @@ (def api-table {:namespace "chrome.devtools.inspectedWindow", - :since "22", + :since "23", :properties [{:id ::tab-id, :name "tabId", :return-type "integer"}], :functions [{:id ::eval, diff --git a/src/exts/chromex/ext/devtools/network.clj b/src/exts/chromex/ext/devtools/network.clj index 19834981..be75b894 100644 --- a/src/exts/chromex/ext/devtools/network.clj +++ b/src/exts/chromex/ext/devtools/network.clj @@ -2,7 +2,7 @@ "Use the chrome.devtools.network API to retrieve the information about network requests displayed by the Developer Tools in the Network panel. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/extensions/devtools.network" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -69,7 +69,7 @@ (def api-table {:namespace "chrome.devtools.network", - :since "22", + :since "23", :functions [{:id ::get-har, :name "getHAR", diff --git a/src/exts/chromex/ext/devtools/panels.clj b/src/exts/chromex/ext/devtools/panels.clj index 77fe5d15..000b3f18 100644 --- a/src/exts/chromex/ext/devtools/panels.clj +++ b/src/exts/chromex/ext/devtools/panels.clj @@ -2,7 +2,7 @@ "Use the chrome.devtools.panels API to integrate your extension into Developer Tools window UI: create your own panels, access existing panels, and add sidebars. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/extensions/devtools.panels" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -95,7 +95,7 @@ (def api-table {:namespace "chrome.devtools.panels", - :since "22", + :since "23", :properties [{:id ::elements, :name "elements", :return-type "devtools.panels.ElementsPanel"} {:id ::sources, :name "sources", :since "38", :return-type "devtools.panels.SourcesPanel"} diff --git a/src/exts/chromex/ext/extension.clj b/src/exts/chromex/ext/extension.clj index fa134102..ca823dfd 100644 --- a/src/exts/chromex/ext/extension.clj +++ b/src/exts/chromex/ext/extension.clj @@ -2,7 +2,7 @@ "The chrome.extension API has utilities that can be used by any extension page. It includes support for exchanging messages between an extension and its content scripts or between extensions, as described in detail in Message Passing. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/extensions/extension" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -166,7 +166,7 @@ (def api-table {:namespace "chrome.extension", - :since "22", + :since "23", :properties [{:id ::last-error, :name "lastError", diff --git a/src/exts/chromex/ext/file_browser_handler.clj b/src/exts/chromex/ext/file_browser_handler.clj index 7d7ddf4e..a10b4dca 100644 --- a/src/exts/chromex/ext/file_browser_handler.clj +++ b/src/exts/chromex/ext/file_browser_handler.clj @@ -2,7 +2,7 @@ "Use the chrome.fileBrowserHandler API to extend the Chrome OS file browser. For example, you can use this API to enable users to upload files to your website. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/extensions/fileBrowserHandler" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -63,7 +63,7 @@ (def api-table {:namespace "chrome.fileBrowserHandler", - :since "22", + :since "23", :functions [{:id ::select-file, :name "selectFile", diff --git a/src/exts/chromex/ext/font_settings.clj b/src/exts/chromex/ext/font_settings.clj index bfdc9b0b..144a960e 100644 --- a/src/exts/chromex/ext/font_settings.clj +++ b/src/exts/chromex/ext/font_settings.clj @@ -1,7 +1,7 @@ (ns chromex.ext.font-settings "Use the chrome.fontSettings API to manage Chrome's font settings. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/extensions/fontSettings" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -274,7 +274,7 @@ (def api-table {:namespace "chrome.fontSettings", - :since "22", + :since "23", :functions [{:id ::clear-font, :name "clearFont", diff --git a/src/exts/chromex/ext/history.clj b/src/exts/chromex/ext/history.clj index 4f55da4e..1c89439d 100644 --- a/src/exts/chromex/ext/history.clj +++ b/src/exts/chromex/ext/history.clj @@ -2,7 +2,7 @@ "Use the chrome.history API to interact with the browser's record of visited pages. You can add, remove, and query for URLs in the browser's history. To override the history page with your own version, see Override Pages. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/extensions/history" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -143,7 +143,7 @@ (def api-table {:namespace "chrome.history", - :since "22", + :since "23", :functions [{:id ::search, :name "search", diff --git a/src/exts/chromex/ext/i18n.clj b/src/exts/chromex/ext/i18n.clj index 023a57b6..b80b6ff9 100644 --- a/src/exts/chromex/ext/i18n.clj +++ b/src/exts/chromex/ext/i18n.clj @@ -1,7 +1,7 @@ (ns chromex.ext.i18n "Use the chrome.i18n infrastructure to implement internationalization across your whole app or extension. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/extensions/i18n" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -76,7 +76,7 @@ (def api-table {:namespace "chrome.i18n", - :since "22", + :since "23", :functions [{:id ::get-accept-languages, :name "getAcceptLanguages", diff --git a/src/exts/chromex/ext/idle.clj b/src/exts/chromex/ext/idle.clj index bfc8cb10..07196ad6 100644 --- a/src/exts/chromex/ext/idle.clj +++ b/src/exts/chromex/ext/idle.clj @@ -1,7 +1,7 @@ (ns chromex.ext.idle "Use the chrome.idle API to detect when the machine's idle state changes. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/extensions/idle" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -71,7 +71,7 @@ (def api-table {:namespace "chrome.idle", - :since "22", + :since "23", :functions [{:id ::query-state, :name "queryState", diff --git a/src/exts/chromex/ext/input/ime.clj b/src/exts/chromex/ext/input/ime.clj index 08743ef3..cc59f430 100644 --- a/src/exts/chromex/ext/input/ime.clj +++ b/src/exts/chromex/ext/input/ime.clj @@ -2,7 +2,7 @@ "Use the chrome.input.ime API to implement a custom IME for Chrome OS. This allows your extension to handle keystrokes, set the composition, and manage the candidate window. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/extensions/input.ime" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -416,7 +416,7 @@ (def api-table {:namespace "chrome.input.ime", - :since "22", + :since "23", :functions [{:id ::set-composition, :name "setComposition", diff --git a/src/exts/chromex/ext/management.clj b/src/exts/chromex/ext/management.clj index 88546810..59ac77d9 100644 --- a/src/exts/chromex/ext/management.clj +++ b/src/exts/chromex/ext/management.clj @@ -2,7 +2,7 @@ "The chrome.management API provides ways to manage the list of extensions/apps that are installed and running. It is particularly useful for extensions that override the built-in New Tab page. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/extensions/management" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -267,7 +267,7 @@ (def api-table {:namespace "chrome.management", - :since "22", + :since "23", :functions [{:id ::get-all, :name "getAll", diff --git a/src/exts/chromex/ext/omnibox.clj b/src/exts/chromex/ext/omnibox.clj index e7a4ddba..5ffa73ad 100644 --- a/src/exts/chromex/ext/omnibox.clj +++ b/src/exts/chromex/ext/omnibox.clj @@ -1,7 +1,7 @@ (ns chromex.ext.omnibox "The omnibox API allows you to register a keyword with Google Chrome's address bar, which is also known as the omnibox. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/extensions/omnibox" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -97,7 +97,7 @@ (def api-table {:namespace "chrome.omnibox", - :since "22", + :since "23", :functions [{:id ::set-default-suggestion, :name "setDefaultSuggestion", :params [{:name "suggestion", :type "object"}]}], :events diff --git a/src/exts/chromex/ext/page_action.clj b/src/exts/chromex/ext/page_action.clj index 4879b667..f5699608 100644 --- a/src/exts/chromex/ext/page_action.clj +++ b/src/exts/chromex/ext/page_action.clj @@ -3,7 +3,7 @@ actions represent actions that can be taken on the current page, but that aren't applicable to all pages. Page actions appear grayed out when inactive. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/extensions/pageAction" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -147,7 +147,7 @@ (def api-table {:namespace "chrome.pageAction", - :since "22", + :since "23", :functions [{:id ::show, :name "show", diff --git a/src/exts/chromex/ext/page_capture.clj b/src/exts/chromex/ext/page_capture.clj index 469e5953..27b22428 100644 --- a/src/exts/chromex/ext/page_capture.clj +++ b/src/exts/chromex/ext/page_capture.clj @@ -1,7 +1,7 @@ (ns chromex.ext.page-capture "Use the chrome.pageCapture API to save a tab as MHTML. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/extensions/pageCapture" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -42,7 +42,7 @@ (def api-table {:namespace "chrome.pageCapture", - :since "22", + :since "23", :functions [{:id ::save-as-mhtml, :name "saveAsMHTML", diff --git a/src/exts/chromex/ext/permissions.clj b/src/exts/chromex/ext/permissions.clj index d5c7e2c4..6bb6a8b8 100644 --- a/src/exts/chromex/ext/permissions.clj +++ b/src/exts/chromex/ext/permissions.clj @@ -2,7 +2,7 @@ "Use the chrome.permissions API to request declared optional permissions at run time rather than install time, so users understand why the permissions are needed and grant only those that are necessary. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/extensions/permissions" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -119,7 +119,7 @@ (def api-table {:namespace "chrome.permissions", - :since "22", + :since "23", :functions [{:id ::get-all, :name "getAll", diff --git a/src/exts/chromex/ext/privacy.clj b/src/exts/chromex/ext/privacy.clj index 9b90edc3..38191a19 100644 --- a/src/exts/chromex/ext/privacy.clj +++ b/src/exts/chromex/ext/privacy.clj @@ -2,7 +2,7 @@ "Use the chrome.privacy API to control usage of the features in Chrome that can affect a user's privacy. This API relies on the ChromeSetting prototype of the type API for getting and setting Chrome's configuration. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/extensions/privacy" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -46,7 +46,7 @@ (def api-table {:namespace "chrome.privacy", - :since "22", + :since "23", :properties [{:id ::network, :name "network", :return-type "object"} {:id ::services, :name "services", :return-type "object"} diff --git a/src/exts/chromex/ext/proxy.clj b/src/exts/chromex/ext/proxy.clj index b466ff23..1911f7d1 100644 --- a/src/exts/chromex/ext/proxy.clj +++ b/src/exts/chromex/ext/proxy.clj @@ -2,7 +2,7 @@ "Use the chrome.proxy API to manage Chrome's proxy settings. This API relies on the ChromeSetting prototype of the type API for getting and setting the proxy configuration. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/extensions/proxy" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -49,7 +49,7 @@ (def api-table {:namespace "chrome.proxy", - :since "22", + :since "23", :properties [{:id ::settings, :name "settings", :return-type "object"}], :events [{:id ::on-proxy-error, :name "onProxyError", :params [{:name "details", :type "object"}]}]}) diff --git a/src/exts/chromex/ext/runtime.clj b/src/exts/chromex/ext/runtime.clj index 4572d172..11095643 100644 --- a/src/exts/chromex/ext/runtime.clj +++ b/src/exts/chromex/ext/runtime.clj @@ -3,7 +3,7 @@ to events in the app or extension lifecycle. You can also use this API to convert the relative path of URLs to fully-qualified URLs. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/extensions/runtime" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -394,7 +394,7 @@ (def api-table {:namespace "chrome.runtime", - :since "22", + :since "23", :properties [{:id ::last-error, :name "lastError", :return-type "object"} {:id ::id, :name "id", :return-type "string"}], :functions @@ -484,7 +484,7 @@ :params [{:name "callback", :type :callback, :callback {:params [{:name "directory-entry", :type "DirectoryEntry"}]}}]}], :events - [{:id ::on-startup, :name "onStartup", :since "23"} + [{:id ::on-startup, :name "onStartup"} {:id ::on-installed, :name "onInstalled", :params [{:name "details", :type "object"}]} {:id ::on-suspend, :name "onSuspend"} {:id ::on-suspend-canceled, :name "onSuspendCanceled"} diff --git a/src/exts/chromex/ext/storage.clj b/src/exts/chromex/ext/storage.clj index 2303327e..f9dcda2c 100644 --- a/src/exts/chromex/ext/storage.clj +++ b/src/exts/chromex/ext/storage.clj @@ -1,7 +1,7 @@ (ns chromex.ext.storage "Use the chrome.storage API to store, retrieve, and track changes to user data. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/extensions/storage" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -62,7 +62,7 @@ (def api-table {:namespace "chrome.storage", - :since "22", + :since "23", :properties [{:id ::sync, :name "sync", :return-type "storage.StorageArea"} {:id ::local, :name "local", :return-type "storage.StorageArea"} diff --git a/src/exts/chromex/ext/tabs.clj b/src/exts/chromex/ext/tabs.clj index e58505a0..d368d7b3 100644 --- a/src/exts/chromex/ext/tabs.clj +++ b/src/exts/chromex/ext/tabs.clj @@ -2,7 +2,7 @@ "Use the chrome.tabs API to interact with the browser's tab system. You can use this API to create, modify, and rearrange tabs in the browser. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/extensions/tabs" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -622,7 +622,7 @@ (def api-table {:namespace "chrome.tabs", - :since "22", + :since "23", :properties [{:id ::tab-id-none, :name "TAB_ID_NONE", :since "46", :return-type "unknown-type"}], :functions [{:id ::get, @@ -687,7 +687,6 @@ {:name "callback", :optional? true, :type :callback, :callback {:params [{:name "tab", :type "tabs.Tab"}]}}]} {:id ::duplicate, :name "duplicate", - :since "23", :callback? true, :params [{:name "tab-id", :type "integer"} diff --git a/src/exts/chromex/ext/test.clj b/src/exts/chromex/ext/test.clj index adec4ed4..c76cc8bf 100644 --- a/src/exts/chromex/ext/test.clj +++ b/src/exts/chromex/ext/test.clj @@ -1,5 +1,5 @@ (ns chromex.ext.test - " * available since Chrome 22 + " * available since Chrome 23 * https://developer.chrome.com/extensions/test" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -326,7 +326,7 @@ (def api-table {:namespace "chrome.test", - :since "22", + :since "23", :functions [{:id ::get-config, :name "getConfig", diff --git a/src/exts/chromex/ext/top_sites.clj b/src/exts/chromex/ext/top_sites.clj index 2aecb62e..a475119a 100644 --- a/src/exts/chromex/ext/top_sites.clj +++ b/src/exts/chromex/ext/top_sites.clj @@ -1,7 +1,7 @@ (ns chromex.ext.top-sites "Use the chrome.topSites API to access the top sites that are displayed on the new tab page. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/extensions/topSites" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -40,7 +40,7 @@ (def api-table {:namespace "chrome.topSites", - :since "22", + :since "23", :functions [{:id ::get, :name "get", diff --git a/src/exts/chromex/ext/tts.clj b/src/exts/chromex/ext/tts.clj index 1bef8818..c14fa038 100644 --- a/src/exts/chromex/ext/tts.clj +++ b/src/exts/chromex/ext/tts.clj @@ -2,7 +2,7 @@ "Use the chrome.tts API to play synthesized text-to-speech (TTS). See also the related ttsEngine API, which allows an extension to implement a speech engine. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/extensions/tts" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -93,7 +93,7 @@ (def api-table {:namespace "chrome.tts", - :since "22", + :since "23", :functions [{:id ::speak, :name "speak", diff --git a/src/exts/chromex/ext/tts_engine.clj b/src/exts/chromex/ext/tts_engine.clj index f7c1e2d7..90884a9b 100644 --- a/src/exts/chromex/ext/tts_engine.clj +++ b/src/exts/chromex/ext/tts_engine.clj @@ -4,7 +4,7 @@ Chrome App uses the tts API to generate speech. Your extension can then use any available web technology to synthesize and output the speech, and send events back to the calling function to report the status. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/extensions/ttsEngine" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -93,7 +93,7 @@ (def api-table {:namespace "chrome.ttsEngine", - :since "22", + :since "23", :functions [{:id ::update-voices, :name "updateVoices", diff --git a/src/exts/chromex/ext/web_navigation.clj b/src/exts/chromex/ext/web_navigation.clj index ab619bc6..5dc4e7b6 100644 --- a/src/exts/chromex/ext/web_navigation.clj +++ b/src/exts/chromex/ext/web_navigation.clj @@ -1,7 +1,7 @@ (ns chromex.ext.web-navigation "Use the chrome.webNavigation API to receive notifications about the status of navigation requests in-flight. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/extensions/webNavigation" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -174,7 +174,7 @@ (def api-table {:namespace "chrome.webNavigation", - :since "22", + :since "23", :functions [{:id ::get-frame, :name "getFrame", diff --git a/src/exts/chromex/ext/web_request.clj b/src/exts/chromex/ext/web_request.clj index 4565aafd..0e4386d8 100644 --- a/src/exts/chromex/ext/web_request.clj +++ b/src/exts/chromex/ext/web_request.clj @@ -1,7 +1,7 @@ (ns chromex.ext.web-request "Use the chrome.webRequest API to observe and analyze traffic and to intercept, block, or modify requests in-flight. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/extensions/webRequest" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -166,11 +166,10 @@ (def api-table {:namespace "chrome.webRequest", - :since "22", + :since "23", :properties [{:id ::max-handler-behavior-changed-calls-per10-minutes, :name "MAX_HANDLER_BEHAVIOR_CHANGED_CALLS_PER_10_MINUTES", - :since "23", :return-type "unknown-type"}], :functions [{:id ::handler-behavior-changed, diff --git a/src/exts/chromex/ext/webstore.clj b/src/exts/chromex/ext/webstore.clj index b290fb0c..dab3c1c9 100644 --- a/src/exts/chromex/ext/webstore.clj +++ b/src/exts/chromex/ext/webstore.clj @@ -1,7 +1,7 @@ (ns chromex.ext.webstore "Use the chrome.webstore API to initiate app and extension installations 'inline' from your site. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/extensions/webstore" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -79,7 +79,7 @@ (def api-table {:namespace "chrome.webstore", - :since "22", + :since "23", :functions [{:id ::install, :name "install", diff --git a/src/exts/chromex/ext/windows.clj b/src/exts/chromex/ext/windows.clj index 55de8ece..a83064e7 100644 --- a/src/exts/chromex/ext/windows.clj +++ b/src/exts/chromex/ext/windows.clj @@ -2,7 +2,7 @@ "Use the chrome.windows API to interact with browser windows. You can use this API to create, modify, and rearrange windows in the browser. - * available since Chrome 22 + * available since Chrome 23 * https://developer.chrome.com/extensions/windows" (:refer-clojure :only [defmacro defn apply declare meta let partial]) @@ -201,7 +201,7 @@ (def api-table {:namespace "chrome.windows", - :since "22", + :since "23", :properties [{:id ::window-id-none, :name "WINDOW_ID_NONE", :return-type "unknown-type"} {:id ::window-id-current, :name "WINDOW_ID_CURRENT", :return-type "unknown-type"}], diff --git a/src/exts/readme.md b/src/exts/readme.md index 062836f7..0cd19525 100644 --- a/src/exts/readme.md +++ b/src/exts/readme.md @@ -24,6 +24,7 @@ | [chrome.cookies](https://developer.chrome.com/extensions/cookies) | [chromex/ext/cookies.clj](chromex/ext/cookies.clj) | | [chrome.debugger](https://developer.chrome.com/extensions/debugger) | [chromex/ext/debugger_api.clj](chromex/ext/debugger_api.clj) | | [chrome.declarativeContent](https://developer.chrome.com/extensions/declarativeContent) | [chromex/ext/declarative_content.clj](chromex/ext/declarative_content.clj) | +| [chrome.declarativeNetRequest](https://developer.chrome.com/extensions/declarativeNetRequest) | [chromex/ext/declarative_net_request.clj](chromex/ext/declarative_net_request.clj) | | [chrome.declarativeWebRequest](https://developer.chrome.com/extensions/declarativeWebRequest) | [chromex/ext/declarative_web_request.clj](chromex/ext/declarative_web_request.clj) | | [chrome.desktopCapture](https://developer.chrome.com/extensions/desktopCapture) | [chromex/ext/desktop_capture.clj](chromex/ext/desktop_capture.clj) | | [chrome.devtools.inspectedWindow](https://developer.chrome.com/extensions/devtools.inspectedWindow) | [chromex/ext/devtools/inspected_window.clj](chromex/ext/devtools/inspected_window.clj) | @@ -85,7 +86,7 @@ ### API stats -Generated 77 namespaces containing 50 properties, 375 functions and 177 events: +Generated 78 namespaces containing 50 properties, 378 functions and 177 events: | :namespace | :properties | :functions | :events | @@ -110,6 +111,7 @@ Generated 77 namespaces containing 50 properties, 375 functions and 177 events: | chrome.cookies | 0 | 5 | 1 | | chrome.debugger | 0 | 4 | 2 | | chrome.declarativeContent | 0 | 0 | 1 | + | chrome.declarativeNetRequest | 0 | 3 | 0 | | chrome.declarativeWebRequest | 0 | 0 | 2 | | chrome.desktopCapture | 0 | 2 | 0 | | chrome.devtools.inspectedWindow | 1 | 3 | 2 | @@ -170,134 +172,137 @@ Generated 77 namespaces containing 50 properties, 375 functions and 177 events: ### Requires -``` +```clojure (ns your.project (:require - [chromex.ext.accessibility-features refer-macros:[ + [chromex.ext.accessibility-features refer:[ get-spoken-feedback get-large-cursor get-sticky-keys get-high-contrast get-screen-magnifier get-autoclick get-virtual-keyboard get-caret-highlight get-cursor-highlight get-focus-highlight get-select-to-speak get-switch-access get-animation-policy tap-all-events]] - [chromex.ext.action refer-macros:[ + [chromex.ext.action refer:[ set-title get-title set-icon set-popup get-popup set-badge-text get-badge-text set-badge-background-color get-badge-background-color enable disable tap-on-clicked tap-all-events]] - [chromex.ext.alarms refer-macros:[ + [chromex.ext.alarms refer:[ create get get-all clear clear-all tap-on-alarm tap-all-events]] - [chromex.ext.app refer-macros:[ + [chromex.ext.app refer:[ get-is-installed install-state running-state get-details tap-all-events]] - [chromex.ext.automation refer-macros:[ + [chromex.ext.automation refer:[ get-tree get-desktop get-focus add-tree-change-observer remove-tree-change-observer set-document-selection tap-all-events]] - [chromex.ext.bluetooth refer-macros:[ + [chromex.ext.bluetooth refer:[ get-adapter-state get-device get-devices start-discovery stop-discovery tap-on-adapter-state-changed tap-on-device-added tap-on-device-changed tap-on-device-removed tap-all-events]] - [chromex.ext.bookmarks refer-macros:[ + [chromex.ext.bookmarks refer:[ get-max-write-operations-per-hour get-max-sustained-write-operations-per-minute get get-children get-recent get-tree get-sub-tree search create move update remove remove-tree tap-on-created tap-on-removed tap-on-changed tap-on-moved tap-on-children-reordered tap-on-import-began tap-on-import-ended tap-all-events]] - [chromex.ext.browser-action refer-macros:[ + [chromex.ext.browser-action refer:[ set-title get-title set-icon set-popup get-popup set-badge-text get-badge-text set-badge-background-color get-badge-background-color enable disable tap-on-clicked tap-all-events]] - [chromex.ext.browsing-data refer-macros:[ + [chromex.ext.browsing-data refer:[ settings remove remove-appcache remove-cache remove-cookies remove-downloads remove-file-systems remove-form-data remove-history remove-indexed-db remove-local-storage remove-plugin-data remove-passwords remove-web-sql tap-all-events]] - [chromex.ext.cast.streaming.receiver-session refer-macros:[ + [chromex.ext.cast.streaming.receiver-session refer:[ create-and-bind tap-all-events]] - [chromex.ext.cast.streaming.rtp-stream refer-macros:[ + [chromex.ext.cast.streaming.rtp-stream refer:[ destroy get-supported-params start stop toggle-logging get-raw-events get-stats tap-on-started tap-on-stopped tap-on-error tap-all-events]] - [chromex.ext.cast.streaming.session refer-macros:[ + [chromex.ext.cast.streaming.session refer:[ create tap-all-events]] - [chromex.ext.cast.streaming.udp-transport refer-macros:[ + [chromex.ext.cast.streaming.udp-transport refer:[ destroy set-destination set-options tap-all-events]] - [chromex.ext.certificate-provider refer-macros:[ + [chromex.ext.certificate-provider refer:[ request-pin stop-pin-request tap-on-certificates-requested tap-on-sign-digest-requested tap-all-events]] - [chromex.ext.commands refer-macros:[ + [chromex.ext.commands refer:[ get-all tap-on-command tap-all-events]] - [chromex.ext.content-settings refer-macros:[ + [chromex.ext.content-settings refer:[ get-cookies get-images get-javascript get-location get-plugins get-popups get-notifications get-fullscreen get-mouselock get-microphone get-camera get-unsandboxed-plugins get-automatic-downloads tap-all-events]] - [chromex.ext.context-menus refer-macros:[ + [chromex.ext.context-menus refer:[ get-action-menu-top-level-limit create update remove remove-all tap-on-clicked tap-all-events]] - [chromex.ext.cookies refer-macros:[ + [chromex.ext.cookies refer:[ get get-all set remove get-all-cookie-stores tap-on-changed tap-all-events]] - [chromex.ext.debugger-api refer-macros:[ + [chromex.ext.debugger-api refer:[ attach detach send-command get-targets tap-on-event tap-on-detach tap-all-events]] - [chromex.ext.declarative-content refer-macros:[ + [chromex.ext.declarative-content refer:[ tap-on-page-changed tap-all-events]] - [chromex.ext.declarative-web-request refer-macros:[ + [chromex.ext.declarative-net-request refer:[ + add-whitelisted-pages remove-whitelisted-pages get-whitelisted-pages tap-all-events]] + + [chromex.ext.declarative-web-request refer:[ tap-on-request tap-on-message tap-all-events]] - [chromex.ext.desktop-capture refer-macros:[ + [chromex.ext.desktop-capture refer:[ choose-desktop-media cancel-choose-desktop-media tap-all-events]] - [chromex.ext.devtools.inspected-window refer-macros:[ + [chromex.ext.devtools.inspected-window refer:[ get-tab-id eval reload get-resources tap-on-resource-added tap-on-resource-content-committed tap-all-events]] - [chromex.ext.devtools.network refer-macros:[ + [chromex.ext.devtools.network refer:[ get-har tap-on-request-finished tap-on-navigated tap-all-events]] - [chromex.ext.devtools.panels refer-macros:[ + [chromex.ext.devtools.panels refer:[ get-elements get-sources get-theme-name create set-open-resource-handler open-resource tap-all-events]] - [chromex.ext.display-source refer-macros:[ + [chromex.ext.display-source refer:[ get-available-sinks request-authentication start-session terminate-session tap-on-sinks-updated tap-on-session-terminated tap-on-session-error-occured tap-all-events]] - [chromex.ext.dns refer-macros:[ + [chromex.ext.dns refer:[ resolve tap-all-events]] - [chromex.ext.document-scan refer-macros:[ + [chromex.ext.document-scan refer:[ scan tap-all-events]] - [chromex.ext.downloads refer-macros:[ + [chromex.ext.downloads refer:[ download search pause resume cancel get-file-icon open show show-default-folder erase remove-file accept-danger drag set-shelf-enabled tap-on-created tap-on-erased tap-on-changed tap-on-determining-filename tap-all-events]] - [chromex.ext.enterprise.device-attributes refer-macros:[ + [chromex.ext.enterprise.device-attributes refer:[ get-directory-device-id get-device-serial-number get-device-asset-id get-device-annotated-location tap-all-events]] - [chromex.ext.enterprise.platform-keys refer-macros:[ + [chromex.ext.enterprise.platform-keys refer:[ get-tokens get-certificates import-certificate remove-certificate challenge-machine-key challenge-user-key tap-all-events]] - [chromex.ext.extension refer-macros:[ + [chromex.ext.extension refer:[ get-last-error get-in-incognito-context send-request get-url get-views get-background-page get-extension-tabs is-allowed-incognito-access is-allowed-file-scheme-access set-update-url-data tap-on-request tap-on-request-external tap-all-events]] - [chromex.ext.file-browser-handler refer-macros:[ + [chromex.ext.file-browser-handler refer:[ select-file tap-on-execute tap-all-events]] - [chromex.ext.file-system-provider refer-macros:[ + [chromex.ext.file-system-provider refer:[ mount unmount get-all get notify tap-on-unmount-requested tap-on-get-metadata-requested tap-on-get-actions-requested tap-on-read-directory-requested tap-on-open-file-requested tap-on-close-file-requested tap-on-read-file-requested tap-on-create-directory-requested @@ -307,36 +312,36 @@ Generated 77 namespaces containing 50 properties, 375 functions and 177 events: tap-on-add-watcher-requested tap-on-remove-watcher-requested tap-on-execute-action-requested tap-all-events]] - [chromex.ext.font-settings refer-macros:[ + [chromex.ext.font-settings refer:[ clear-font get-font set-font get-font-list clear-default-font-size get-default-font-size set-default-font-size clear-default-fixed-font-size get-default-fixed-font-size set-default-fixed-font-size clear-minimum-font-size get-minimum-font-size set-minimum-font-size tap-on-font-changed tap-on-default-font-size-changed tap-on-default-fixed-font-size-changed tap-on-minimum-font-size-changed tap-all-events]] - [chromex.ext.gcm refer-macros:[ + [chromex.ext.gcm refer:[ get-max-message-size register unregister send tap-on-message tap-on-messages-deleted tap-on-send-error tap-all-events]] - [chromex.ext.history refer-macros:[ + [chromex.ext.history refer:[ search get-visits add-url delete-url delete-range delete-all tap-on-visited tap-on-visit-removed tap-all-events]] - [chromex.ext.i18n refer-macros:[ + [chromex.ext.i18n refer:[ get-accept-languages get-message get-ui-language detect-language tap-all-events]] - [chromex.ext.identity refer-macros:[ + [chromex.ext.identity refer:[ get-accounts get-auth-token get-profile-user-info remove-cached-auth-token launch-web-auth-flow get-redirect-url tap-on-sign-in-changed tap-all-events]] - [chromex.ext.idle refer-macros:[ + [chromex.ext.idle refer:[ query-state set-detection-interval tap-on-state-changed tap-all-events]] - [chromex.ext.idltest refer-macros:[ + [chromex.ext.idltest refer:[ send-array-buffer send-array-buffer-view get-array-buffer nocompile-func nodefine-func tap-all-events]] - [chromex.ext.input.ime refer-macros:[ + [chromex.ext.input.ime refer:[ set-composition clear-composition commit-text send-key-events hide-input-view set-candidate-window-properties set-candidates set-cursor-position set-menu-items update-menu-items delete-surrounding-text key-event-handled create-window show-window hide-window activate deactivate @@ -344,55 +349,55 @@ Generated 77 namespaces containing 50 properties, 375 functions and 177 events: tap-on-key-event tap-on-candidate-clicked tap-on-menu-item-activated tap-on-surrounding-text-changed tap-on-reset tap-on-composition-bounds-changed tap-all-events]] - [chromex.ext.instance-id refer-macros:[ + [chromex.ext.instance-id refer:[ get-id get-creation-time get-token delete-token delete-id tap-on-token-refresh tap-all-events]] - [chromex.ext.management refer-macros:[ + [chromex.ext.management refer:[ get-all get get-self get-permission-warnings-by-id get-permission-warnings-by-manifest set-enabled uninstall uninstall-self launch-app create-app-shortcut set-launch-type generate-app-for-link tap-on-installed tap-on-uninstalled tap-on-enabled tap-on-disabled tap-all-events]] - [chromex.ext.networking.config refer-macros:[ + [chromex.ext.networking.config refer:[ set-network-filter finish-authentication tap-on-captive-portal-detected tap-all-events]] - [chromex.ext.notifications refer-macros:[ + [chromex.ext.notifications refer:[ create update clear get-all get-permission-level tap-on-closed tap-on-clicked tap-on-button-clicked tap-on-permission-level-changed tap-on-show-settings tap-all-events]] - [chromex.ext.omnibox refer-macros:[ + [chromex.ext.omnibox refer:[ set-default-suggestion tap-on-input-started tap-on-input-changed tap-on-input-entered tap-on-input-cancelled tap-on-delete-suggestion tap-all-events]] - [chromex.ext.page-action refer-macros:[ + [chromex.ext.page-action refer:[ show hide set-title get-title set-icon set-popup get-popup tap-on-clicked tap-all-events]] - [chromex.ext.page-capture refer-macros:[ + [chromex.ext.page-capture refer:[ save-as-mhtml tap-all-events]] - [chromex.ext.permissions refer-macros:[ + [chromex.ext.permissions refer:[ get-all contains request remove tap-on-added tap-on-removed tap-all-events]] - [chromex.ext.platform-keys refer-macros:[ + [chromex.ext.platform-keys refer:[ select-client-certificates get-key-pair subtle-crypto verify-tls-server-certificate tap-all-events]] - [chromex.ext.power refer-macros:[ + [chromex.ext.power refer:[ request-keep-awake release-keep-awake tap-all-events]] - [chromex.ext.printer-provider refer-macros:[ + [chromex.ext.printer-provider refer:[ tap-on-get-printers-requested tap-on-get-usb-printer-info-requested tap-on-get-capability-requested tap-on-print-requested tap-all-events]] - [chromex.ext.privacy refer-macros:[ + [chromex.ext.privacy refer:[ get-network get-services get-websites tap-all-events]] - [chromex.ext.processes refer-macros:[ + [chromex.ext.processes refer:[ get-process-id-for-tab terminate get-process-info tap-on-updated tap-on-updated-with-memory tap-on-created tap-on-unresponsive tap-on-exited tap-all-events]] - [chromex.ext.proxy refer-macros:[ + [chromex.ext.proxy refer:[ get-settings tap-on-proxy-error tap-all-events]] - [chromex.ext.runtime refer-macros:[ + [chromex.ext.runtime refer:[ get-last-error get-id get-background-page open-options-page get-manifest get-url set-uninstall-url reload request-update-check restart restart-after-delay connect connect-native send-message send-native-message get-platform-info get-package-directory-entry tap-on-startup tap-on-installed @@ -400,38 +405,38 @@ Generated 77 namespaces containing 50 properties, 375 functions and 177 events: tap-on-connect tap-on-connect-external tap-on-message tap-on-message-external tap-on-restart-required tap-all-events]] - [chromex.ext.sessions refer-macros:[ + [chromex.ext.sessions refer:[ get-max-session-results get-recently-closed get-devices restore tap-on-changed tap-all-events]] - [chromex.ext.signed-in-devices refer-macros:[ + [chromex.ext.signed-in-devices refer:[ get tap-on-device-info-change tap-all-events]] - [chromex.ext.storage refer-macros:[ + [chromex.ext.storage refer:[ get-sync get-local get-managed tap-on-changed tap-all-events]] - [chromex.ext.system.cpu refer-macros:[ + [chromex.ext.system.cpu refer:[ get-info tap-all-events]] - [chromex.ext.system.display refer-macros:[ + [chromex.ext.system.display refer:[ get-info get-display-layout set-display-properties set-display-layout enable-unified-desktop overscan-calibration-start overscan-calibration-adjust overscan-calibration-reset overscan-calibration-complete show-native-touch-calibration start-custom-touch-calibration complete-custom-touch-calibration clear-touch-calibration set-mirror-mode tap-on-display-changed tap-all-events]] - [chromex.ext.system.memory refer-macros:[ + [chromex.ext.system.memory refer:[ get-info tap-all-events]] - [chromex.ext.system.storage refer-macros:[ + [chromex.ext.system.storage refer:[ get-info eject-device get-available-capacity tap-on-attached tap-on-detached tap-all-events]] - [chromex.ext.system-indicator refer-macros:[ + [chromex.ext.system-indicator refer:[ set-icon enable disable tap-on-clicked tap-all-events]] - [chromex.ext.tab-capture refer-macros:[ + [chromex.ext.tab-capture refer:[ capture get-captured-tabs capture-offscreen-tab tap-on-status-changed tap-all-events]] - [chromex.ext.tabs refer-macros:[ + [chromex.ext.tabs refer:[ get-tab-id-none get get-current connect send-request send-message get-selected get-all-in-window create duplicate query highlight update move reload remove detect-language capture-visible-tab execute-script insert-css set-zoom get-zoom set-zoom-settings get-zoom-settings discard @@ -439,7 +444,7 @@ Generated 77 namespaces containing 50 properties, 375 functions and 177 events: tap-on-activated tap-on-highlight-changed tap-on-highlighted tap-on-detached tap-on-attached tap-on-removed tap-on-replaced tap-on-zoom-change tap-all-events]] - [chromex.ext.test refer-macros:[ + [chromex.ext.test refer:[ get-config notify-fail notify-pass log send-message callback-added run-next-test fail succeed get-module-system assert-true assert-false assert-bool check-deep-eq assert-eq assert-no-last-error assert-last-error assert-throws callback listen-once listen-forever callback-pass callback-fail @@ -447,37 +452,37 @@ Generated 77 namespaces containing 50 properties, 375 functions and 177 events: run-without-user-gesture wait-for-round-trip set-exception-handler get-wake-event-page tap-on-message tap-all-events]] - [chromex.ext.top-sites refer-macros:[ + [chromex.ext.top-sites refer:[ get tap-all-events]] - [chromex.ext.tts refer-macros:[ + [chromex.ext.tts refer:[ speak stop pause resume is-speaking get-voices tap-all-events]] - [chromex.ext.tts-engine refer-macros:[ + [chromex.ext.tts-engine refer:[ update-voices tap-on-speak tap-on-stop tap-on-pause tap-on-resume tap-all-events]] - [chromex.ext.vpn-provider refer-macros:[ + [chromex.ext.vpn-provider refer:[ create-config destroy-config set-parameters send-packet notify-connection-state-changed tap-on-platform-message tap-on-packet-received tap-on-config-removed tap-on-config-created tap-on-ui-event tap-all-events]] - [chromex.ext.wallpaper refer-macros:[ + [chromex.ext.wallpaper refer:[ set-wallpaper tap-all-events]] - [chromex.ext.web-navigation refer-macros:[ + [chromex.ext.web-navigation refer:[ get-frame get-all-frames tap-on-before-navigate tap-on-committed tap-on-dom-content-loaded tap-on-completed tap-on-error-occurred tap-on-created-navigation-target tap-on-reference-fragment-updated tap-on-tab-replaced tap-on-history-state-updated tap-all-events]] - [chromex.ext.web-request refer-macros:[ + [chromex.ext.web-request refer:[ get-max-handler-behavior-changed-calls-per10-minutes handler-behavior-changed tap-on-before-request tap-on-before-send-headers tap-on-send-headers tap-on-headers-received tap-on-auth-required tap-on-response-started tap-on-before-redirect tap-on-completed tap-on-error-occurred tap-all-events]] - [chromex.ext.webstore refer-macros:[ + [chromex.ext.webstore refer:[ install tap-on-install-stage-changed tap-on-download-progress tap-all-events]] - [chromex.ext.windows refer-macros:[ + [chromex.ext.windows refer:[ get-window-id-none get-window-id-current get get-current get-last-focused get-all create update remove tap-on-created tap-on-removed tap-on-focus-changed tap-all-events]])) -``` \ No newline at end of file +``` diff --git a/src/exts_private/chromex/ext/chromeos_info_private.clj b/src/exts_private/chromex/ext/chromeos_info_private.clj index 8b3d57ee..b307243b 100644 --- a/src/exts_private/chromex/ext/chromeos_info_private.clj +++ b/src/exts_private/chromex/ext/chromeos_info_private.clj @@ -1,5 +1,5 @@ (ns chromex.ext.chromeos-info-private - " * available since Chrome 22" + " * available since Chrome 23" (:refer-clojure :only [defmacro defn apply declare meta let partial]) (:require [chromex.wrapgen :refer [gen-wrap-helper]] @@ -45,7 +45,7 @@ (def api-table {:namespace "chrome.chromeosInfoPrivate", - :since "22", + :since "23", :functions [{:id ::get, :name "get", diff --git a/src/exts_private/chromex/ext/cloud_print_private.clj b/src/exts_private/chromex/ext/cloud_print_private.clj index 85ad20ea..73d1da18 100644 --- a/src/exts_private/chromex/ext/cloud_print_private.clj +++ b/src/exts_private/chromex/ext/cloud_print_private.clj @@ -1,5 +1,5 @@ (ns chromex.ext.cloud-print-private - " * available since Chrome 22" + " * available since Chrome 23" (:refer-clojure :only [defmacro defn apply declare meta let partial]) (:require [chromex.wrapgen :refer [gen-wrap-helper]] @@ -68,7 +68,7 @@ (def api-table {:namespace "chrome.cloudPrintPrivate", - :since "22", + :since "23", :functions [{:id ::setup-connector, :name "setupConnector", diff --git a/src/exts_private/chromex/ext/echo_private.clj b/src/exts_private/chromex/ext/echo_private.clj index c1169098..8ceab7bd 100644 --- a/src/exts_private/chromex/ext/echo_private.clj +++ b/src/exts_private/chromex/ext/echo_private.clj @@ -1,5 +1,5 @@ (ns chromex.ext.echo-private - " * available since Chrome 22" + " * available since Chrome 23" (:refer-clojure :only [defmacro defn apply declare meta let partial]) (:require [chromex.wrapgen :refer [gen-wrap-helper]] @@ -86,7 +86,7 @@ (def api-table {:namespace "chrome.echoPrivate", - :since "22", + :since "23", :functions [{:id ::set-offer-info, :name "setOfferInfo", diff --git a/src/exts_private/chromex/ext/input_method_private.clj b/src/exts_private/chromex/ext/input_method_private.clj index 30bfb25a..f2b7e8ae 100644 --- a/src/exts_private/chromex/ext/input_method_private.clj +++ b/src/exts_private/chromex/ext/input_method_private.clj @@ -1,5 +1,5 @@ (ns chromex.ext.input-method-private - " * available since Chrome 22" + " * available since Chrome 23" (:refer-clojure :only [defmacro defn apply declare meta let partial]) (:require [chromex.wrapgen :refer [gen-wrap-helper]] @@ -216,7 +216,7 @@ (def api-table {:namespace "chrome.inputMethodPrivate", - :since "22", + :since "23", :functions [{:id ::get-input-method-config, :name "getInputMethodConfig", diff --git a/src/exts_private/chromex/ext/media_player_private.clj b/src/exts_private/chromex/ext/media_player_private.clj index 62dc1ae6..165d1043 100644 --- a/src/exts_private/chromex/ext/media_player_private.clj +++ b/src/exts_private/chromex/ext/media_player_private.clj @@ -1,5 +1,5 @@ (ns chromex.ext.media-player-private - " * available since Chrome 22" + " * available since Chrome 23" (:refer-clojure :only [defmacro defn apply declare meta let partial]) (:require [chromex.wrapgen :refer [gen-wrap-helper]] @@ -49,11 +49,11 @@ (def api-table {:namespace "chrome.mediaPlayerPrivate", - :since "22", + :since "23", :events - [{:id ::on-next-track, :name "onNextTrack", :since "23"} - {:id ::on-prev-track, :name "onPrevTrack", :since "23"} - {:id ::on-toggle-play-state, :name "onTogglePlayState", :since "23"}]}) + [{:id ::on-next-track, :name "onNextTrack"} + {:id ::on-prev-track, :name "onPrevTrack"} + {:id ::on-toggle-play-state, :name "onTogglePlayState"}]}) ; -- helpers ---------------------------------------------------------------------------------------------------------------- diff --git a/src/exts_private/chromex/ext/system_private.clj b/src/exts_private/chromex/ext/system_private.clj index 2991d8fc..5261f33f 100644 --- a/src/exts_private/chromex/ext/system_private.clj +++ b/src/exts_private/chromex/ext/system_private.clj @@ -1,5 +1,5 @@ (ns chromex.ext.system-private - " * available since Chrome 22" + " * available since Chrome 23" (:refer-clojure :only [defmacro defn apply declare meta let partial]) (:require [chromex.wrapgen :refer [gen-wrap-helper]] @@ -99,7 +99,7 @@ (def api-table {:namespace "chrome.systemPrivate", - :since "22", + :since "23", :functions [{:id ::get-incognito-mode-availability, :name "getIncognitoModeAvailability", diff --git a/src/exts_private/chromex/ext/terminal_private.clj b/src/exts_private/chromex/ext/terminal_private.clj index 929fca0d..c8da833e 100644 --- a/src/exts_private/chromex/ext/terminal_private.clj +++ b/src/exts_private/chromex/ext/terminal_private.clj @@ -1,5 +1,5 @@ (ns chromex.ext.terminal-private - " * available since Chrome 22" + " * available since Chrome 23" (:refer-clojure :only [defmacro defn apply declare meta let partial]) (:require [chromex.wrapgen :refer [gen-wrap-helper]] @@ -110,7 +110,7 @@ (def api-table {:namespace "chrome.terminalPrivate", - :since "22", + :since "23", :functions [{:id ::open-terminal-process, :name "openTerminalProcess", diff --git a/src/exts_private/chromex/ext/webstore_private.clj b/src/exts_private/chromex/ext/webstore_private.clj index bf8e575b..4181c8bc 100644 --- a/src/exts_private/chromex/ext/webstore_private.clj +++ b/src/exts_private/chromex/ext/webstore_private.clj @@ -1,5 +1,5 @@ (ns chromex.ext.webstore-private - " * available since Chrome 22" + " * available since Chrome 23" (:refer-clojure :only [defmacro defn apply declare meta let partial]) (:require [chromex.wrapgen :refer [gen-wrap-helper]] @@ -181,7 +181,7 @@ (def api-table {:namespace "chrome.webstorePrivate", - :since "22", + :since "23", :functions [{:id ::install, :name "install", diff --git a/src/exts_private/readme.md b/src/exts_private/readme.md index d1b295d1..67d2e57f 100644 --- a/src/exts_private/readme.md +++ b/src/exts_private/readme.md @@ -94,61 +94,61 @@ Generated 39 namespaces containing 1 properties, 330 functions and 66 events: ### Requires -``` +```clojure (ns your.project (:require - [chromex.ext.accessibility-private refer-macros:[ + [chromex.ext.accessibility-private refer:[ set-native-accessibility-enabled set-focus-ring set-highlights set-keyboard-listener darken-screen set-switch-access-keys set-native-chrome-vox-arc-support-for-current-app send-synthetic-key-event tap-on-introduce-chrome-vox tap-on-accessibility-gesture tap-on-two-finger-touch-start tap-on-two-finger-touch-stop tap-all-events]] - [chromex.ext.activity-log-private refer-macros:[ + [chromex.ext.activity-log-private refer:[ get-extension-activities delete-activities delete-database delete-urls tap-on-extension-activity tap-all-events]] - [chromex.ext.autofill-private refer-macros:[ + [chromex.ext.autofill-private refer:[ save-address get-country-list get-address-components get-address-list save-credit-card remove-entry validate-phone-numbers get-credit-card-list mask-credit-card tap-on-address-list-changed tap-on-credit-card-list-changed tap-all-events]] - [chromex.ext.autotest-private refer-macros:[ + [chromex.ext.autotest-private refer:[ logout restart shutdown login-status lock-screen get-extensions-info simulate-asan-memory-bug set-touchpad-sensitivity set-tap-to-click set-three-finger-click set-tap-dragging set-natural-scroll set-mouse-sensitivity set-primary-button-right set-mouse-reverse-scroll get-visible-notifications get-play-store-state get-printer-list set-play-store-enabled tap-all-events]] - [chromex.ext.bluetooth-private refer-macros:[ + [chromex.ext.bluetooth-private refer:[ set-adapter-state set-pairing-response disconnect-all forget-device set-discovery-filter connect pair tap-on-pairing tap-all-events]] - [chromex.ext.bookmark-manager-private refer-macros:[ + [chromex.ext.bookmark-manager-private refer:[ copy cut paste can-paste sort-children get-strings start-drag drop get-subtree can-edit remove-trees record-launch create-with-meta-info get-meta-info set-meta-info update-meta-info undo redo get-undo-info get-redo-info tap-on-drag-enter tap-on-drag-leave tap-on-drop tap-on-meta-info-changed tap-all-events]] - [chromex.ext.braille-display-private refer-macros:[ + [chromex.ext.braille-display-private refer:[ get-display-state write-dots tap-on-display-state-changed tap-on-key-event tap-all-events]] - [chromex.ext.chromeos-info-private refer-macros:[ + [chromex.ext.chromeos-info-private refer:[ get set tap-all-events]] - [chromex.ext.cloud-print-private refer-macros:[ + [chromex.ext.cloud-print-private refer:[ setup-connector get-host-name get-printers get-client-id tap-all-events]] - [chromex.ext.command-line-private refer-macros:[ + [chromex.ext.command-line-private refer:[ has-switch tap-all-events]] - [chromex.ext.cryptotoken-private refer-macros:[ + [chromex.ext.cryptotoken-private refer:[ can-origin-assert-app-id is-app-id-hash-in-enterprise-context can-app-id-get-attestation tap-all-events]] - [chromex.ext.dashboard-private refer-macros:[ + [chromex.ext.dashboard-private refer:[ show-permission-prompt-for-delegated-install tap-all-events]] - [chromex.ext.developer-private refer-macros:[ + [chromex.ext.developer-private refer:[ auto-update get-extensions-info get-extension-info get-extension-size get-items-info get-profile-configuration update-profile-configuration show-permissions-dialog reload update-extension-configuration load-unpacked notify-drag-install-in-progress load-directory @@ -157,18 +157,18 @@ Generated 39 namespaces containing 1 properties, 330 functions and 66 events: update-extension-command enable allow-incognito allow-file-access inspect tap-on-item-state-changed tap-on-profile-state-changed tap-all-events]] - [chromex.ext.echo-private refer-macros:[ + [chromex.ext.echo-private refer:[ set-offer-info get-offer-info get-registration-code get-oobe-timestamp get-user-consent tap-all-events]] - [chromex.ext.enterprise.platform-keys-private refer-macros:[ + [chromex.ext.enterprise.platform-keys-private refer:[ challenge-machine-key challenge-user-key tap-all-events]] - [chromex.ext.feedback-private refer-macros:[ + [chromex.ext.feedback-private refer:[ get-user-email get-system-information send-feedback get-strings log-srt-prompt-result read-log-source tap-on-feedback-requested tap-all-events]] - [chromex.ext.file-manager-private refer-macros:[ + [chromex.ext.file-manager-private refer:[ logout-user-for-reauthentication cancel-dialog execute-task set-default-task get-file-tasks get-mime-type get-strings add-file-watch remove-file-watch enable-external-file-scheme grant-access select-files select-file get-entry-properties pin-drive-file resolve-isolated-entries add-mount @@ -184,12 +184,12 @@ Generated 39 namespaces containing 1 properties, 330 functions and 66 events: tap-on-drive-connection-status-changed tap-on-device-changed tap-on-drive-sync-error tap-on-apps-updated tap-all-events]] - [chromex.ext.image-writer-private refer-macros:[ + [chromex.ext.image-writer-private refer:[ write-from-url write-from-file cancel-write destroy-partitions list-removable-storage-devices tap-on-write-progress tap-on-write-complete tap-on-write-error tap-on-device-inserted tap-on-device-removed tap-all-events]] - [chromex.ext.input-method-private refer-macros:[ + [chromex.ext.input-method-private refer:[ get-input-method-config get-input-methods get-current-input-method set-current-input-method fetch-all-dictionary-words add-word-to-dictionary get-encrypt-sync-enabled set-xkb-layout notify-ime-menu-item-activated show-input-view open-options-page tap-on-changed @@ -197,7 +197,7 @@ Generated 39 namespaces containing 1 properties, 330 functions and 66 events: tap-on-ime-menu-activation-changed tap-on-ime-menu-list-changed tap-on-ime-menu-items-changed tap-all-events]] - [chromex.ext.language-settings-private refer-macros:[ + [chromex.ext.language-settings-private refer:[ get-language-list enable-language disable-language set-enable-translation-for-language move-language get-spellcheck-dictionary-statuses get-spellcheck-words add-spellcheck-word remove-spellcheck-word get-translate-target-language get-input-method-lists add-input-method @@ -205,19 +205,19 @@ Generated 39 namespaces containing 1 properties, 330 functions and 66 events: tap-on-custom-dictionary-changed tap-on-input-method-added tap-on-input-method-removed tap-all-events]] - [chromex.ext.media-player-private refer-macros:[ + [chromex.ext.media-player-private refer:[ tap-on-next-track tap-on-prev-track tap-on-toggle-play-state tap-all-events]] - [chromex.ext.metrics-private refer-macros:[ + [chromex.ext.metrics-private refer:[ get-is-crash-reporting-enabled get-field-trial get-variation-params record-user-action record-percentage record-count record-small-count record-medium-count record-time record-medium-time record-long-time record-sparse-hashable record-sparse-value record-value record-boolean record-enumeration-value tap-all-events]] - [chromex.ext.mojo-private refer-macros:[ + [chromex.ext.mojo-private refer:[ require-async tap-all-events]] - [chromex.ext.networking-private refer-macros:[ + [chromex.ext.networking-private refer:[ get-properties get-managed-properties get-state set-properties create-network forget-network get-networks get-visible-networks get-enabled-network-types get-device-states enable-network-type disable-network-type request-network-scan start-connect start-disconnect start-activate @@ -226,64 +226,64 @@ Generated 39 namespaces containing 1 properties, 330 functions and 66 events: tap-on-device-state-list-changed tap-on-portal-detection-completed tap-on-certificate-lists-changed tap-all-events]] - [chromex.ext.passwords-private refer-macros:[ + [chromex.ext.passwords-private refer:[ remove-saved-password remove-password-exception undo-remove-saved-password-or-exception request-plaintext-password get-saved-password-list get-password-exception-list import-passwords export-passwords request-export-progress-status cancel-export-passwords tap-on-saved-passwords-list-changed tap-on-password-exceptions-list-changed tap-on-plaintext-password-retrieved tap-on-passwords-file-export-progress tap-all-events]] - [chromex.ext.preferences-private refer-macros:[ + [chromex.ext.preferences-private refer:[ get-easy-unlock-proximity-required tap-all-events]] - [chromex.ext.quick-unlock-private refer-macros:[ + [chromex.ext.quick-unlock-private refer:[ get-auth-token set-lock-screen-enabled get-available-modes get-active-modes check-credential get-credential-requirements set-modes tap-on-active-modes-changed tap-all-events]] - [chromex.ext.resources-private refer-macros:[ + [chromex.ext.resources-private refer:[ get-strings tap-all-events]] - [chromex.ext.settings-private refer-macros:[ + [chromex.ext.settings-private refer:[ set-pref get-all-prefs get-pref get-default-zoom set-default-zoom tap-on-prefs-changed tap-all-events]] - [chromex.ext.streams-private refer-macros:[ + [chromex.ext.streams-private refer:[ abort tap-on-execute-mime-type-handler tap-all-events]] - [chromex.ext.system-private refer-macros:[ + [chromex.ext.system-private refer:[ get-incognito-mode-availability get-update-status get-api-key tap-on-volume-changed tap-on-brightness-changed tap-on-screen-unlocked tap-on-woke-up tap-all-events]] - [chromex.ext.terminal-private refer-macros:[ + [chromex.ext.terminal-private refer:[ open-terminal-process close-terminal-process send-input on-terminal-resize ack-output tap-on-process-output tap-all-events]] - [chromex.ext.users-private refer-macros:[ + [chromex.ext.users-private refer:[ get-whitelisted-users add-whitelisted-user remove-whitelisted-user is-current-user-owner is-whitelist-managed tap-all-events]] - [chromex.ext.virtual-keyboard-private refer-macros:[ + [chromex.ext.virtual-keyboard-private refer:[ insert-text send-key-event hide-keyboard set-hotrod-keyboard lock-keyboard keyboard-loaded get-keyboard-config open-settings set-mode set-container-behavior set-draggable-area set-keyboard-state tap-on-bounds-changed tap-on-keyboard-closed tap-on-keyboard-config-changed tap-all-events]] - [chromex.ext.webcam-private refer-macros:[ + [chromex.ext.webcam-private refer:[ open-serial-webcam close-webcam get set reset tap-all-events]] - [chromex.ext.webrtc-audio-private refer-macros:[ + [chromex.ext.webrtc-audio-private refer:[ get-sinks get-associated-sink set-audio-experiments tap-on-sinks-changed tap-all-events]] - [chromex.ext.webrtc-desktop-capture-private refer-macros:[ + [chromex.ext.webrtc-desktop-capture-private refer:[ choose-desktop-media cancel-choose-desktop-media tap-all-events]] - [chromex.ext.webrtc-logging-private refer-macros:[ + [chromex.ext.webrtc-logging-private refer:[ set-meta-data start set-upload-on-render-close stop store upload-stored upload discard start-rtp-dump stop-rtp-dump start-audio-debug-recordings stop-audio-debug-recordings start-event-logging get-logs-directory tap-all-events]] - [chromex.ext.webstore-private refer-macros:[ + [chromex.ext.webstore-private refer:[ install begin-install-with-manifest3 complete-install enable-app-launcher get-browser-login get-store-login set-store-login get-web-gl-status get-is-launcher-enabled is-in-incognito-mode get-ephemeral-apps-enabled launch-ephemeral-app is-pending-custodian-approval tap-all-events]])) -``` \ No newline at end of file +```