events.go 805 B

12345678910111213141516171819202122
  1. package fedcm
  2. // Code generated by cdproto-gen. DO NOT EDIT.
  3. // EventDialogShown [no description].
  4. //
  5. // See: https://chromedevtools.github.io/devtools-protocol/tot/FedCm#event-dialogShown
  6. type EventDialogShown struct {
  7. DialogID string `json:"dialogId"`
  8. DialogType DialogType `json:"dialogType"`
  9. Accounts []*Account `json:"accounts"`
  10. Title string `json:"title"` // These exist primarily so that the caller can verify the RP context was used appropriately.
  11. Subtitle string `json:"subtitle,omitempty"`
  12. }
  13. // EventDialogClosed triggered when a dialog is closed, either by user
  14. // action, JS abort, or a command below.
  15. //
  16. // See: https://chromedevtools.github.io/devtools-protocol/tot/FedCm#event-dialogClosed
  17. type EventDialogClosed struct {
  18. DialogID string `json:"dialogId"`
  19. }