Skip to content

Commit

Permalink
regenerate APIs from Chromium @ b793b53fd9cd
Browse files Browse the repository at this point in the history
  • Loading branch information
babot committed Nov 24, 2018
1 parent 7a9e6d5 commit 7a8d49f
Show file tree
Hide file tree
Showing 16 changed files with 168 additions and 268 deletions.
8 changes: 4 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# chromex [![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.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-11-07** from [**Chromium @ d3a040e**](https://chromium.googlesource.com/chromium/src.git/+/d3a040ee36ced7b00bfa0e7014ba4bb64f11a02f).
This library is auto-generated. Current version was **generated on 2018-11-21** from [**Chromium @ b793b53fd9cd**](https://chromium.googlesource.com/chromium/src.git/+/b793b53fd9cd7a07e857ac1eac5ab6f7c7fcd323).

Looking for a nightly version? Check out [**nightly branch**](https://github.com/binaryage/chromex/tree/nightly) which gets updated if there are any new API changes.

Expand All @@ -10,10 +10,10 @@ For Chrome Extensions and also for Chrome Apps:

| API family | namespaces | properties | functions | events |
| --- | --- | --- | --- | --- |
| [Public Chrome Extension APIs](src/exts) | 78 | 52 | 380 | 176 |
| [Public Chrome Extension APIs](src/exts) | 78 | 52 | 382 | 176 |
| [Public Chrome App APIs](src/apps) | 69 | 30 | 452 | 152 |
| [Private Chrome Extension APIs](src/exts_private) | 40 | 1 | 363 | 68 |
| [Private Chrome App APIs](src/apps_private) | 38 | 1 | 320 | 68 |
| [Private Chrome Extension APIs](src/exts_private) | 40 | 1 | 366 | 69 |
| [Private Chrome App APIs](src/apps_private) | 37 | 1 | 314 | 66 |

Note: Chromex generator uses the same data source as [developer.chrome.com/extensions/api_index](https://developer.chrome.com/extensions/api_index) and
[developer.chrome.com/apps/api_index](https://developer.chrome.com/apps/api_index) docs.
Expand Down
201 changes: 0 additions & 201 deletions src/apps_private/chromex/app/easy_unlock_private.clj

This file was deleted.

34 changes: 0 additions & 34 deletions src/apps_private/chromex/app/easy_unlock_private.cljs

This file was deleted.

15 changes: 14 additions & 1 deletion src/apps_private/chromex/app/file_manager_private.clj
Original file line number Diff line number Diff line change
Expand Up @@ -882,6 +882,15 @@
Note: |args| will be passed as additional parameters into Chrome event's .addListener call."
([channel & args] (apply gen-call :event ::on-apps-updated &form channel args)))

(defmacro tap-on-crostini-shared-paths-changed-events
"
Events will be put on the |channel| with signature [::on-crostini-shared-paths-changed [event]] where:
|event| - ?
Note: |args| will be passed as additional parameters into Chrome event's .addListener call."
([channel & args] (apply gen-call :event ::on-crostini-shared-paths-changed &form channel args)))

; -- convenience ------------------------------------------------------------------------------------------------------------

(defmacro tap-all-events
Expand Down Expand Up @@ -1262,7 +1271,11 @@
{:id ::on-drive-connection-status-changed, :name "onDriveConnectionStatusChanged"}
{:id ::on-device-changed, :name "onDeviceChanged", :params [{:name "event", :type "object"}]}
{:id ::on-drive-sync-error, :name "onDriveSyncError", :params [{:name "event", :type "object"}]}
{:id ::on-apps-updated, :name "onAppsUpdated", :since "57"}]})
{:id ::on-apps-updated, :name "onAppsUpdated", :since "57"}
{:id ::on-crostini-shared-paths-changed,
:name "onCrostiniSharedPathsChanged",
:since "72",
:params [{:name "event", :type "object"}]}]})

; -- helpers ----------------------------------------------------------------------------------------------------------------

Expand Down
3 changes: 3 additions & 0 deletions src/apps_private/chromex/app/file_manager_private.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -218,3 +218,6 @@
(defn on-apps-updated* [config channel & args]
(gen-wrap :event ::on-apps-updated config channel args))

(defn on-crostini-shared-paths-changed* [config channel & args]
(gen-wrap :event ::on-crostini-shared-paths-changed config channel args))

14 changes: 4 additions & 10 deletions src/apps_private/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
| [chrome.commandLinePrivate](https://developer.chrome.com/extensions/commandLinePrivate) | [chromex/app/command_line_private.clj](chromex/app/command_line_private.clj) |
| [chrome.dashboardPrivate](https://developer.chrome.com/extensions/dashboardPrivate) | [chromex/app/dashboard_private.clj](chromex/app/dashboard_private.clj) |
| [chrome.developerPrivate](https://developer.chrome.com/extensions/developerPrivate) | [chromex/app/developer_private.clj](chromex/app/developer_private.clj) |
| [chrome.easyUnlockPrivate](https://developer.chrome.com/extensions/easyUnlockPrivate) | [chromex/app/easy_unlock_private.clj](chromex/app/easy_unlock_private.clj) |
| [chrome.echoPrivate](https://developer.chrome.com/extensions/echoPrivate) | [chromex/app/echo_private.clj](chromex/app/echo_private.clj) |
| [chrome.feedbackPrivate](https://developer.chrome.com/extensions/feedbackPrivate) | [chromex/app/feedback_private.clj](chromex/app/feedback_private.clj) |
| [chrome.fileManagerPrivate](https://developer.chrome.com/extensions/fileManagerPrivate) | [chromex/app/file_manager_private.clj](chromex/app/file_manager_private.clj) |
Expand Down Expand Up @@ -46,7 +45,7 @@

### API stats

Generated 38 namespaces containing 1 properties, 320 functions and 68 events:
Generated 37 namespaces containing 1 properties, 314 functions and 66 events:


| :namespace | :properties | :functions | :events |
Expand All @@ -62,10 +61,9 @@ Generated 38 namespaces containing 1 properties, 320 functions and 68 events:
| chrome.commandLinePrivate | 0 | 1 | 0 |
| chrome.dashboardPrivate | 0 | 1 | 0 |
| chrome.developerPrivate | 0 | 31 | 2 |
| chrome.easyUnlockPrivate | 0 | 6 | 3 |
| chrome.echoPrivate | 0 | 5 | 0 |
| chrome.feedbackPrivate | 0 | 6 | 1 |
| chrome.fileManagerPrivate | 0 | 62 | 9 |
| chrome.fileManagerPrivate | 0 | 62 | 10 |
| chrome.identityPrivate | 0 | 0 | 1 |
| chrome.imageWriterPrivate | 0 | 5 | 5 |
| chrome.inputMethodPrivate | 0 | 13 | 8 |
Expand Down Expand Up @@ -147,11 +145,6 @@ Generated 38 namespaces containing 1 properties, 320 functions and 68 events:
update-extension-command add-host-permission remove-host-permission 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:[
get-strings show-error-bubble hide-error-bubble find-setup-connection setup-connection-disconnect
setup-connection-send tap-on-connection-status-changed tap-on-data-received tap-on-send-completed
tap-all-events]]

[chromex.app.echo-private refer:[
set-offer-info get-offer-info get-registration-code get-oobe-timestamp get-user-consent
tap-all-events]]
Expand All @@ -175,7 +168,8 @@ Generated 38 namespaces containing 1 properties, 320 functions and 68 events:
get-crostini-shared-paths get-linux-package-info install-linux-package get-thumbnail
detect-character-encoding tap-on-mount-completed tap-on-file-transfers-updated tap-on-copy-progress
tap-on-directory-changed tap-on-preferences-changed tap-on-drive-connection-status-changed
tap-on-device-changed tap-on-drive-sync-error tap-on-apps-updated tap-all-events]]
tap-on-device-changed tap-on-drive-sync-error tap-on-apps-updated
tap-on-crostini-shared-paths-changed tap-all-events]]

[chromex.app.identity-private refer:[
tap-on-web-flow-request tap-all-events]]
Expand Down
Loading

0 comments on commit 7a8d49f

Please sign in to comment.