extension 4.1.40 → 4.1.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,979 @@
1
+ // Generated by scripts/generate-enum-types.mjs from the chrome-types
2
+ // declarations and scripts/enum-objects.json. Do not edit: run the script
3
+ // again when chrome-types moves.
4
+ // Chrome has an object for each enum, like runtime.OnInstalledReason.INSTALL.
5
+ // chrome-types declares the values as a type and leaves the object out.
6
+ // The objects typed here are the ones read from Chrome 151.
7
+ /// <reference types="chrome-types" />
8
+
9
+ declare namespace browser.bookmarks {
10
+ export const BookmarkTreeNodeUnmodifiable: {
11
+ readonly MANAGED: 'managed'
12
+ }
13
+ export const FolderType: {
14
+ readonly BOOKMARKS_BAR: 'bookmarks-bar'
15
+ readonly OTHER: 'other'
16
+ readonly MOBILE: 'mobile'
17
+ readonly MANAGED: 'managed'
18
+ }
19
+ }
20
+
21
+ declare namespace browser.contentSettings {
22
+ export const AutoVerifyContentSetting: {
23
+ readonly ALLOW: 'allow'
24
+ readonly BLOCK: 'block'
25
+ }
26
+ export const CameraContentSetting: {
27
+ readonly ALLOW: 'allow'
28
+ readonly BLOCK: 'block'
29
+ readonly ASK: 'ask'
30
+ }
31
+ export const ClipboardContentSetting: {
32
+ readonly ALLOW: 'allow'
33
+ readonly BLOCK: 'block'
34
+ readonly ASK: 'ask'
35
+ }
36
+ export const CookiesContentSetting: {
37
+ readonly ALLOW: 'allow'
38
+ readonly BLOCK: 'block'
39
+ readonly SESSION_ONLY: 'session_only'
40
+ }
41
+ export const FullscreenContentSetting: {
42
+ readonly ALLOW: 'allow'
43
+ }
44
+ export const ImagesContentSetting: {
45
+ readonly ALLOW: 'allow'
46
+ readonly BLOCK: 'block'
47
+ }
48
+ export const JavascriptContentSetting: {
49
+ readonly ALLOW: 'allow'
50
+ readonly BLOCK: 'block'
51
+ }
52
+ export const LocationContentSetting: {
53
+ readonly ALLOW: 'allow'
54
+ readonly BLOCK: 'block'
55
+ readonly ASK: 'ask'
56
+ }
57
+ export const MicrophoneContentSetting: {
58
+ readonly ALLOW: 'allow'
59
+ readonly BLOCK: 'block'
60
+ readonly ASK: 'ask'
61
+ }
62
+ export const MouselockContentSetting: {
63
+ readonly ALLOW: 'allow'
64
+ }
65
+ export const MultipleAutomaticDownloadsContentSetting: {
66
+ readonly ALLOW: 'allow'
67
+ readonly BLOCK: 'block'
68
+ readonly ASK: 'ask'
69
+ }
70
+ export const NotificationsContentSetting: {
71
+ readonly ALLOW: 'allow'
72
+ readonly BLOCK: 'block'
73
+ readonly ASK: 'ask'
74
+ }
75
+ export const PluginsContentSetting: {
76
+ readonly BLOCK: 'block'
77
+ }
78
+ export const PopupsContentSetting: {
79
+ readonly ALLOW: 'allow'
80
+ readonly BLOCK: 'block'
81
+ }
82
+ export const PpapiBrokerContentSetting: {
83
+ readonly BLOCK: 'block'
84
+ }
85
+ export const Scope: {
86
+ readonly REGULAR: 'regular'
87
+ readonly INCOGNITO_SESSION_ONLY: 'incognito_session_only'
88
+ }
89
+ export const SoundContentSetting: {
90
+ readonly ALLOW: 'allow'
91
+ readonly BLOCK: 'block'
92
+ }
93
+ }
94
+
95
+ declare namespace browser.contextMenus {
96
+ export const ContextType: {
97
+ readonly ALL: 'all'
98
+ readonly PAGE: 'page'
99
+ readonly FRAME: 'frame'
100
+ readonly SELECTION: 'selection'
101
+ readonly LINK: 'link'
102
+ readonly EDITABLE: 'editable'
103
+ readonly IMAGE: 'image'
104
+ readonly VIDEO: 'video'
105
+ readonly AUDIO: 'audio'
106
+ readonly LAUNCHER: 'launcher'
107
+ readonly ACTION: 'action'
108
+ readonly TAB: 'tab'
109
+ }
110
+ export const ItemType: {
111
+ readonly NORMAL: 'normal'
112
+ readonly CHECKBOX: 'checkbox'
113
+ readonly RADIO: 'radio'
114
+ readonly SEPARATOR: 'separator'
115
+ }
116
+ }
117
+
118
+ declare namespace browser.cookies {
119
+ export const OnChangedCause: {
120
+ readonly EVICTED: 'evicted'
121
+ readonly EXPIRED: 'expired'
122
+ readonly EXPLICIT: 'explicit'
123
+ readonly EXPIRED_OVERWRITE: 'expired_overwrite'
124
+ readonly OVERWRITE: 'overwrite'
125
+ }
126
+ export const SameSiteStatus: {
127
+ readonly NO_RESTRICTION: 'no_restriction'
128
+ readonly LAX: 'lax'
129
+ readonly STRICT: 'strict'
130
+ readonly UNSPECIFIED: 'unspecified'
131
+ }
132
+ }
133
+
134
+ declare namespace browser._debugger {
135
+ export const DetachReason: {
136
+ readonly TARGET_CLOSED: 'target_closed'
137
+ readonly CANCELED_BY_USER: 'canceled_by_user'
138
+ }
139
+ export const TargetInfoType: {
140
+ readonly PAGE: 'page'
141
+ readonly BACKGROUND_PAGE: 'background_page'
142
+ readonly WORKER: 'worker'
143
+ readonly OTHER: 'other'
144
+ }
145
+ }
146
+
147
+ declare namespace browser.declarativeNetRequest {
148
+ export const DomainType: {
149
+ readonly FIRST_PARTY: 'firstParty'
150
+ readonly THIRD_PARTY: 'thirdParty'
151
+ }
152
+ export const HeaderOperation: {
153
+ readonly APPEND: 'append'
154
+ readonly SET: 'set'
155
+ readonly REMOVE: 'remove'
156
+ }
157
+ export const RequestMethod: {
158
+ readonly CONNECT: 'connect'
159
+ readonly DELETE: 'delete'
160
+ readonly GET: 'get'
161
+ readonly HEAD: 'head'
162
+ readonly OPTIONS: 'options'
163
+ readonly PATCH: 'patch'
164
+ readonly POST: 'post'
165
+ readonly PUT: 'put'
166
+ readonly OTHER: 'other'
167
+ }
168
+ export const ResourceType: {
169
+ readonly MAIN_FRAME: 'main_frame'
170
+ readonly SUB_FRAME: 'sub_frame'
171
+ readonly STYLESHEET: 'stylesheet'
172
+ readonly SCRIPT: 'script'
173
+ readonly IMAGE: 'image'
174
+ readonly FONT: 'font'
175
+ readonly OBJECT: 'object'
176
+ readonly XMLHTTPREQUEST: 'xmlhttprequest'
177
+ readonly PING: 'ping'
178
+ readonly CSP_REPORT: 'csp_report'
179
+ readonly MEDIA: 'media'
180
+ readonly WEBSOCKET: 'websocket'
181
+ readonly WEBTRANSPORT: 'webtransport'
182
+ readonly WEBBUNDLE: 'webbundle'
183
+ readonly OTHER: 'other'
184
+ }
185
+ export const RuleActionType: {
186
+ readonly BLOCK: 'block'
187
+ readonly REDIRECT: 'redirect'
188
+ readonly ALLOW: 'allow'
189
+ readonly UPGRADE_SCHEME: 'upgradeScheme'
190
+ readonly MODIFY_HEADERS: 'modifyHeaders'
191
+ readonly ALLOW_ALL_REQUESTS: 'allowAllRequests'
192
+ }
193
+ export const RuleConditionKeys: {
194
+ readonly URL_FILTER: 'urlFilter'
195
+ readonly REGEX_FILTER: 'regexFilter'
196
+ readonly IS_URL_FILTER_CASE_SENSITIVE: 'isUrlFilterCaseSensitive'
197
+ readonly INITIATOR_DOMAINS: 'initiatorDomains'
198
+ readonly EXCLUDED_INITIATOR_DOMAINS: 'excludedInitiatorDomains'
199
+ readonly REQUEST_DOMAINS: 'requestDomains'
200
+ readonly EXCLUDED_REQUEST_DOMAINS: 'excludedRequestDomains'
201
+ readonly TOP_DOMAINS: 'topDomains'
202
+ readonly EXCLUDED_TOP_DOMAINS: 'excludedTopDomains'
203
+ readonly DOMAINS: 'domains'
204
+ readonly EXCLUDED_DOMAINS: 'excludedDomains'
205
+ readonly RESOURCE_TYPES: 'resourceTypes'
206
+ readonly EXCLUDED_RESOURCE_TYPES: 'excludedResourceTypes'
207
+ readonly REQUEST_METHODS: 'requestMethods'
208
+ readonly EXCLUDED_REQUEST_METHODS: 'excludedRequestMethods'
209
+ readonly DOMAIN_TYPE: 'domainType'
210
+ readonly TAB_IDS: 'tabIds'
211
+ readonly EXCLUDED_TAB_IDS: 'excludedTabIds'
212
+ readonly RESPONSE_HEADERS: 'responseHeaders'
213
+ readonly EXCLUDED_RESPONSE_HEADERS: 'excludedResponseHeaders'
214
+ }
215
+ export const UnsupportedRegexReason: {
216
+ readonly SYNTAX_ERROR: 'syntaxError'
217
+ readonly MEMORY_LIMIT_EXCEEDED: 'memoryLimitExceeded'
218
+ }
219
+ }
220
+
221
+ declare namespace browser.desktopCapture {
222
+ export const DesktopCaptureSourceType: {
223
+ readonly SCREEN: 'screen'
224
+ readonly WINDOW: 'window'
225
+ readonly TAB: 'tab'
226
+ readonly AUDIO: 'audio'
227
+ }
228
+ export const SelfCapturePreferenceEnum: {
229
+ readonly INCLUDE: 'include'
230
+ readonly EXCLUDE: 'exclude'
231
+ }
232
+ export const SystemAudioPreferenceEnum: {
233
+ readonly INCLUDE: 'include'
234
+ readonly EXCLUDE: 'exclude'
235
+ }
236
+ export const WindowAudioPreferenceEnum: {
237
+ readonly SYSTEM: 'system'
238
+ readonly WINDOW: 'window'
239
+ readonly EXCLUDE: 'exclude'
240
+ }
241
+ }
242
+
243
+ declare namespace browser.downloads {
244
+ export const DangerType: {
245
+ readonly FILE: 'file'
246
+ readonly URL: 'url'
247
+ readonly CONTENT: 'content'
248
+ readonly UNCOMMON: 'uncommon'
249
+ readonly HOST: 'host'
250
+ readonly UNWANTED: 'unwanted'
251
+ readonly SAFE: 'safe'
252
+ readonly ACCEPTED: 'accepted'
253
+ readonly ALLOWLISTED_BY_POLICY: 'allowlistedByPolicy'
254
+ readonly ASYNC_SCANNING: 'asyncScanning'
255
+ readonly ASYNC_LOCAL_PASSWORD_SCANNING: 'asyncLocalPasswordScanning'
256
+ readonly PASSWORD_PROTECTED: 'passwordProtected'
257
+ readonly BLOCKED_TOO_LARGE: 'blockedTooLarge'
258
+ readonly SENSITIVE_CONTENT_WARNING: 'sensitiveContentWarning'
259
+ readonly SENSITIVE_CONTENT_BLOCK: 'sensitiveContentBlock'
260
+ readonly DEEP_SCANNED_FAILED: 'deepScannedFailed'
261
+ readonly DEEP_SCANNED_SAFE: 'deepScannedSafe'
262
+ readonly DEEP_SCANNED_OPENED_DANGEROUS: 'deepScannedOpenedDangerous'
263
+ readonly PROMPT_FOR_SCANNING: 'promptForScanning'
264
+ readonly PROMPT_FOR_LOCAL_PASSWORD_SCANNING: 'promptForLocalPasswordScanning'
265
+ readonly ACCOUNT_COMPROMISE: 'accountCompromise'
266
+ readonly BLOCKED_SCAN_FAILED: 'blockedScanFailed'
267
+ readonly FORCE_SAVE_TO_GDRIVE: 'forceSaveToGdrive'
268
+ readonly FORCE_SAVE_TO_ONEDRIVE: 'forceSaveToOnedrive'
269
+ }
270
+ export const FilenameConflictAction: {
271
+ readonly UNIQUIFY: 'uniquify'
272
+ readonly OVERWRITE: 'overwrite'
273
+ readonly PROMPT: 'prompt'
274
+ }
275
+ export const HttpMethod: {
276
+ readonly GET: 'GET'
277
+ readonly POST: 'POST'
278
+ }
279
+ export const InterruptReason: {
280
+ readonly FILE_FAILED: 'FILE_FAILED'
281
+ readonly FILE_ACCESS_DENIED: 'FILE_ACCESS_DENIED'
282
+ readonly FILE_NO_SPACE: 'FILE_NO_SPACE'
283
+ readonly FILE_NAME_TOO_LONG: 'FILE_NAME_TOO_LONG'
284
+ readonly FILE_TOO_LARGE: 'FILE_TOO_LARGE'
285
+ readonly FILE_VIRUS_INFECTED: 'FILE_VIRUS_INFECTED'
286
+ readonly FILE_TRANSIENT_ERROR: 'FILE_TRANSIENT_ERROR'
287
+ readonly FILE_BLOCKED: 'FILE_BLOCKED'
288
+ readonly FILE_SECURITY_CHECK_FAILED: 'FILE_SECURITY_CHECK_FAILED'
289
+ readonly FILE_TOO_SHORT: 'FILE_TOO_SHORT'
290
+ readonly FILE_HASH_MISMATCH: 'FILE_HASH_MISMATCH'
291
+ readonly FILE_SAME_AS_SOURCE: 'FILE_SAME_AS_SOURCE'
292
+ readonly NETWORK_FAILED: 'NETWORK_FAILED'
293
+ readonly NETWORK_TIMEOUT: 'NETWORK_TIMEOUT'
294
+ readonly NETWORK_DISCONNECTED: 'NETWORK_DISCONNECTED'
295
+ readonly NETWORK_SERVER_DOWN: 'NETWORK_SERVER_DOWN'
296
+ readonly NETWORK_INVALID_REQUEST: 'NETWORK_INVALID_REQUEST'
297
+ readonly SERVER_FAILED: 'SERVER_FAILED'
298
+ readonly SERVER_NO_RANGE: 'SERVER_NO_RANGE'
299
+ readonly SERVER_BAD_CONTENT: 'SERVER_BAD_CONTENT'
300
+ readonly SERVER_UNAUTHORIZED: 'SERVER_UNAUTHORIZED'
301
+ readonly SERVER_CERT_PROBLEM: 'SERVER_CERT_PROBLEM'
302
+ readonly SERVER_FORBIDDEN: 'SERVER_FORBIDDEN'
303
+ readonly SERVER_UNREACHABLE: 'SERVER_UNREACHABLE'
304
+ readonly SERVER_CONTENT_LENGTH_MISMATCH: 'SERVER_CONTENT_LENGTH_MISMATCH'
305
+ readonly SERVER_CROSS_ORIGIN_REDIRECT: 'SERVER_CROSS_ORIGIN_REDIRECT'
306
+ readonly USER_CANCELED: 'USER_CANCELED'
307
+ readonly USER_SHUTDOWN: 'USER_SHUTDOWN'
308
+ readonly CRASH: 'CRASH'
309
+ }
310
+ export const State: {
311
+ readonly IN_PROGRESS: 'in_progress'
312
+ readonly INTERRUPTED: 'interrupted'
313
+ readonly COMPLETE: 'complete'
314
+ }
315
+ }
316
+
317
+ declare namespace browser.extension {
318
+ export const ViewType: {
319
+ readonly TAB: 'tab'
320
+ readonly POPUP: 'popup'
321
+ }
322
+ }
323
+
324
+ declare namespace browser.fontSettings {
325
+ export const GenericFamily: {
326
+ readonly STANDARD: 'standard'
327
+ readonly SANSSERIF: 'sansserif'
328
+ readonly SERIF: 'serif'
329
+ readonly FIXED: 'fixed'
330
+ readonly CURSIVE: 'cursive'
331
+ readonly FANTASY: 'fantasy'
332
+ readonly MATH: 'math'
333
+ }
334
+ export const LevelOfControl: {
335
+ readonly NOT_CONTROLLABLE: 'not_controllable'
336
+ readonly CONTROLLED_BY_OTHER_EXTENSIONS: 'controlled_by_other_extensions'
337
+ readonly CONTROLLABLE_BY_THIS_EXTENSION: 'controllable_by_this_extension'
338
+ readonly CONTROLLED_BY_THIS_EXTENSION: 'controlled_by_this_extension'
339
+ }
340
+ export const ScriptCode: {
341
+ readonly AFAK: 'Afak'
342
+ readonly ARAB: 'Arab'
343
+ readonly ARAN: 'Aran'
344
+ readonly ARMI: 'Armi'
345
+ readonly ARMN: 'Armn'
346
+ readonly AVST: 'Avst'
347
+ readonly BALI: 'Bali'
348
+ readonly BAMU: 'Bamu'
349
+ readonly BASS: 'Bass'
350
+ readonly BATK: 'Batk'
351
+ readonly BENG: 'Beng'
352
+ readonly BLIS: 'Blis'
353
+ readonly BOPO: 'Bopo'
354
+ readonly BRAH: 'Brah'
355
+ readonly BRAI: 'Brai'
356
+ readonly BUGI: 'Bugi'
357
+ readonly BUHD: 'Buhd'
358
+ readonly CAKM: 'Cakm'
359
+ readonly CANS: 'Cans'
360
+ readonly CARI: 'Cari'
361
+ readonly CHAM: 'Cham'
362
+ readonly CHER: 'Cher'
363
+ readonly CIRT: 'Cirt'
364
+ readonly COPT: 'Copt'
365
+ readonly CPRT: 'Cprt'
366
+ readonly CYRL: 'Cyrl'
367
+ readonly CYRS: 'Cyrs'
368
+ readonly DEVA: 'Deva'
369
+ readonly DSRT: 'Dsrt'
370
+ readonly DUPL: 'Dupl'
371
+ readonly EGYD: 'Egyd'
372
+ readonly EGYH: 'Egyh'
373
+ readonly EGYP: 'Egyp'
374
+ readonly ELBA: 'Elba'
375
+ readonly ETHI: 'Ethi'
376
+ readonly GEOR: 'Geor'
377
+ readonly GEOK: 'Geok'
378
+ readonly GLAG: 'Glag'
379
+ readonly GOTH: 'Goth'
380
+ readonly GRAN: 'Gran'
381
+ readonly GREK: 'Grek'
382
+ readonly GUJR: 'Gujr'
383
+ readonly GURU: 'Guru'
384
+ readonly HANG: 'Hang'
385
+ readonly HANI: 'Hani'
386
+ readonly HANO: 'Hano'
387
+ readonly HANS: 'Hans'
388
+ readonly HANT: 'Hant'
389
+ readonly HEBR: 'Hebr'
390
+ readonly HLUW: 'Hluw'
391
+ readonly HMNG: 'Hmng'
392
+ readonly HUNG: 'Hung'
393
+ readonly INDS: 'Inds'
394
+ readonly ITAL: 'Ital'
395
+ readonly JAVA: 'Java'
396
+ readonly JPAN: 'Jpan'
397
+ readonly JURC: 'Jurc'
398
+ readonly KALI: 'Kali'
399
+ readonly KHAR: 'Khar'
400
+ readonly KHMR: 'Khmr'
401
+ readonly KHOJ: 'Khoj'
402
+ readonly KNDA: 'Knda'
403
+ readonly KPEL: 'Kpel'
404
+ readonly KTHI: 'Kthi'
405
+ readonly LANA: 'Lana'
406
+ readonly LAOO: 'Laoo'
407
+ readonly LATF: 'Latf'
408
+ readonly LATG: 'Latg'
409
+ readonly LATN: 'Latn'
410
+ readonly LEPC: 'Lepc'
411
+ readonly LIMB: 'Limb'
412
+ readonly LINA: 'Lina'
413
+ readonly LINB: 'Linb'
414
+ readonly LISU: 'Lisu'
415
+ readonly LOMA: 'Loma'
416
+ readonly LYCI: 'Lyci'
417
+ readonly LYDI: 'Lydi'
418
+ readonly MAND: 'Mand'
419
+ readonly MANI: 'Mani'
420
+ readonly MAYA: 'Maya'
421
+ readonly MEND: 'Mend'
422
+ readonly MERC: 'Merc'
423
+ readonly MERO: 'Mero'
424
+ readonly MLYM: 'Mlym'
425
+ readonly MOON: 'Moon'
426
+ readonly MONG: 'Mong'
427
+ readonly MROO: 'Mroo'
428
+ readonly MTEI: 'Mtei'
429
+ readonly MYMR: 'Mymr'
430
+ readonly NARB: 'Narb'
431
+ readonly NBAT: 'Nbat'
432
+ readonly NKGB: 'Nkgb'
433
+ readonly NKOO: 'Nkoo'
434
+ readonly NSHU: 'Nshu'
435
+ readonly OGAM: 'Ogam'
436
+ readonly OLCK: 'Olck'
437
+ readonly ORKH: 'Orkh'
438
+ readonly ORYA: 'Orya'
439
+ readonly OSMA: 'Osma'
440
+ readonly PALM: 'Palm'
441
+ readonly PERM: 'Perm'
442
+ readonly PHAG: 'Phag'
443
+ readonly PHLI: 'Phli'
444
+ readonly PHLP: 'Phlp'
445
+ readonly PHLV: 'Phlv'
446
+ readonly PHNX: 'Phnx'
447
+ readonly PLRD: 'Plrd'
448
+ readonly PRTI: 'Prti'
449
+ readonly RJNG: 'Rjng'
450
+ readonly RORO: 'Roro'
451
+ readonly RUNR: 'Runr'
452
+ readonly SAMR: 'Samr'
453
+ readonly SARA: 'Sara'
454
+ readonly SARB: 'Sarb'
455
+ readonly SAUR: 'Saur'
456
+ readonly SGNW: 'Sgnw'
457
+ readonly SHAW: 'Shaw'
458
+ readonly SHRD: 'Shrd'
459
+ readonly SIND: 'Sind'
460
+ readonly SINH: 'Sinh'
461
+ readonly SORA: 'Sora'
462
+ readonly SUND: 'Sund'
463
+ readonly SYLO: 'Sylo'
464
+ readonly SYRC: 'Syrc'
465
+ readonly SYRE: 'Syre'
466
+ readonly SYRJ: 'Syrj'
467
+ readonly SYRN: 'Syrn'
468
+ readonly TAGB: 'Tagb'
469
+ readonly TAKR: 'Takr'
470
+ readonly TALE: 'Tale'
471
+ readonly TALU: 'Talu'
472
+ readonly TAML: 'Taml'
473
+ readonly TANG: 'Tang'
474
+ readonly TAVT: 'Tavt'
475
+ readonly TELU: 'Telu'
476
+ readonly TENG: 'Teng'
477
+ readonly TFNG: 'Tfng'
478
+ readonly TGLG: 'Tglg'
479
+ readonly THAA: 'Thaa'
480
+ readonly THAI: 'Thai'
481
+ readonly TIBT: 'Tibt'
482
+ readonly TIRH: 'Tirh'
483
+ readonly UGAR: 'Ugar'
484
+ readonly VAII: 'Vaii'
485
+ readonly VISP: 'Visp'
486
+ readonly WARA: 'Wara'
487
+ readonly WOLE: 'Wole'
488
+ readonly XPEO: 'Xpeo'
489
+ readonly XSUX: 'Xsux'
490
+ readonly YIII: 'Yiii'
491
+ readonly ZMTH: 'Zmth'
492
+ readonly ZSYM: 'Zsym'
493
+ readonly ZYYY: 'Zyyy'
494
+ }
495
+ }
496
+
497
+ declare namespace browser.history {
498
+ export const TransitionType: {
499
+ readonly LINK: 'link'
500
+ readonly TYPED: 'typed'
501
+ readonly AUTO_BOOKMARK: 'auto_bookmark'
502
+ readonly AUTO_SUBFRAME: 'auto_subframe'
503
+ readonly MANUAL_SUBFRAME: 'manual_subframe'
504
+ readonly GENERATED: 'generated'
505
+ readonly AUTO_TOPLEVEL: 'auto_toplevel'
506
+ readonly FORM_SUBMIT: 'form_submit'
507
+ readonly RELOAD: 'reload'
508
+ readonly KEYWORD: 'keyword'
509
+ readonly KEYWORD_GENERATED: 'keyword_generated'
510
+ }
511
+ }
512
+
513
+ declare namespace browser.identity {
514
+ export const AccountStatus: {
515
+ readonly SYNC: 'SYNC'
516
+ readonly ANY: 'ANY'
517
+ }
518
+ }
519
+
520
+ declare namespace browser.idle {
521
+ export const IdleState: {
522
+ readonly ACTIVE: 'active'
523
+ readonly IDLE: 'idle'
524
+ readonly LOCKED: 'locked'
525
+ }
526
+ }
527
+
528
+ declare namespace browser.management {
529
+ export const ExtensionDisabledReason: {
530
+ readonly UNKNOWN: 'unknown'
531
+ readonly PERMISSIONS_INCREASE: 'permissions_increase'
532
+ }
533
+ export const ExtensionInstallType: {
534
+ readonly ADMIN: 'admin'
535
+ readonly DEVELOPMENT: 'development'
536
+ readonly NORMAL: 'normal'
537
+ readonly SIDELOAD: 'sideload'
538
+ readonly OTHER: 'other'
539
+ }
540
+ export const ExtensionType: {
541
+ readonly EXTENSION: 'extension'
542
+ readonly HOSTED_APP: 'hosted_app'
543
+ readonly PACKAGED_APP: 'packaged_app'
544
+ readonly LEGACY_PACKAGED_APP: 'legacy_packaged_app'
545
+ readonly THEME: 'theme'
546
+ readonly LOGIN_SCREEN_EXTENSION: 'login_screen_extension'
547
+ }
548
+ export const LaunchType: {
549
+ readonly OPEN_AS_REGULAR_TAB: 'OPEN_AS_REGULAR_TAB'
550
+ readonly OPEN_AS_PINNED_TAB: 'OPEN_AS_PINNED_TAB'
551
+ readonly OPEN_AS_WINDOW: 'OPEN_AS_WINDOW'
552
+ readonly OPEN_FULL_SCREEN: 'OPEN_FULL_SCREEN'
553
+ }
554
+ }
555
+
556
+ declare namespace browser.notifications {
557
+ export const PermissionLevel: {
558
+ readonly GRANTED: 'granted'
559
+ readonly DENIED: 'denied'
560
+ }
561
+ export const TemplateType: {
562
+ readonly BASIC: 'basic'
563
+ readonly IMAGE: 'image'
564
+ readonly LIST: 'list'
565
+ readonly PROGRESS: 'progress'
566
+ }
567
+ }
568
+
569
+ declare namespace browser.offscreen {
570
+ export const Reason: {
571
+ readonly TESTING: 'TESTING'
572
+ readonly AUDIO_PLAYBACK: 'AUDIO_PLAYBACK'
573
+ readonly IFRAME_SCRIPTING: 'IFRAME_SCRIPTING'
574
+ readonly DOM_SCRAPING: 'DOM_SCRAPING'
575
+ readonly BLOBS: 'BLOBS'
576
+ readonly DOM_PARSER: 'DOM_PARSER'
577
+ readonly USER_MEDIA: 'USER_MEDIA'
578
+ readonly DISPLAY_MEDIA: 'DISPLAY_MEDIA'
579
+ readonly WEB_RTC: 'WEB_RTC'
580
+ readonly CLIPBOARD: 'CLIPBOARD'
581
+ readonly LOCAL_STORAGE: 'LOCAL_STORAGE'
582
+ readonly WORKERS: 'WORKERS'
583
+ readonly BATTERY_STATUS: 'BATTERY_STATUS'
584
+ readonly MATCH_MEDIA: 'MATCH_MEDIA'
585
+ readonly GEOLOCATION: 'GEOLOCATION'
586
+ }
587
+ }
588
+
589
+ declare namespace browser.omnibox {
590
+ export const DescriptionStyleType: {
591
+ readonly URL: 'url'
592
+ readonly MATCH: 'match'
593
+ readonly DIM: 'dim'
594
+ }
595
+ export const OnInputEnteredDisposition: {
596
+ readonly CURRENT_TAB: 'currentTab'
597
+ readonly NEW_FOREGROUND_TAB: 'newForegroundTab'
598
+ readonly NEW_BACKGROUND_TAB: 'newBackgroundTab'
599
+ }
600
+ }
601
+
602
+ declare namespace browser.power {
603
+ export const Level: {
604
+ readonly SYSTEM: 'system'
605
+ readonly DISPLAY: 'display'
606
+ }
607
+ }
608
+
609
+ declare namespace browser.printerProvider {
610
+ export const PrintError: {
611
+ readonly OK: 'OK'
612
+ readonly FAILED: 'FAILED'
613
+ readonly INVALID_TICKET: 'INVALID_TICKET'
614
+ readonly INVALID_DATA: 'INVALID_DATA'
615
+ }
616
+ }
617
+
618
+ declare namespace browser.privacy {
619
+ export const AutofillBlockedType: {
620
+ readonly CONTACT_INFO: 'contact_info'
621
+ readonly PAYMENTS: 'payments'
622
+ readonly IDENTITY_DOCS: 'identity_docs'
623
+ readonly TRAVEL: 'travel'
624
+ readonly ALL: 'all'
625
+ }
626
+ export const IPHandlingPolicy: {
627
+ readonly DEFAULT: 'default'
628
+ readonly DEFAULT_PUBLIC_AND_PRIVATE_INTERFACES: 'default_public_and_private_interfaces'
629
+ readonly DEFAULT_PUBLIC_INTERFACE_ONLY: 'default_public_interface_only'
630
+ readonly DISABLE_NON_PROXIED_UDP: 'disable_non_proxied_udp'
631
+ }
632
+ }
633
+
634
+ declare namespace browser.processes {
635
+ export const ProcessType: {
636
+ readonly BROWSER: 'browser'
637
+ readonly RENDERER: 'renderer'
638
+ readonly EXTENSION: 'extension'
639
+ readonly NOTIFICATION: 'notification'
640
+ readonly PLUGIN: 'plugin'
641
+ readonly WORKER: 'worker'
642
+ readonly NACL: 'nacl'
643
+ readonly SERVICE_WORKER: 'service_worker'
644
+ readonly UTILITY: 'utility'
645
+ readonly GPU: 'gpu'
646
+ readonly OTHER: 'other'
647
+ }
648
+ }
649
+
650
+ declare namespace browser.proxy {
651
+ export const Mode: {
652
+ readonly DIRECT: 'direct'
653
+ readonly AUTO_DETECT: 'auto_detect'
654
+ readonly PAC_SCRIPT: 'pac_script'
655
+ readonly FIXED_SERVERS: 'fixed_servers'
656
+ readonly SYSTEM: 'system'
657
+ }
658
+ export const Scheme: {
659
+ readonly HTTP: 'http'
660
+ readonly HTTPS: 'https'
661
+ readonly QUIC: 'quic'
662
+ readonly SOCKS4: 'socks4'
663
+ readonly SOCKS5: 'socks5'
664
+ }
665
+ }
666
+
667
+ declare namespace browser.runtime {
668
+ export const ContextType: {
669
+ readonly TAB: 'TAB'
670
+ readonly POPUP: 'POPUP'
671
+ readonly BACKGROUND: 'BACKGROUND'
672
+ readonly OFFSCREEN_DOCUMENT: 'OFFSCREEN_DOCUMENT'
673
+ readonly SIDE_PANEL: 'SIDE_PANEL'
674
+ readonly DEVELOPER_TOOLS: 'DEVELOPER_TOOLS'
675
+ }
676
+ export const OnInstalledReason: {
677
+ readonly INSTALL: 'install'
678
+ readonly UPDATE: 'update'
679
+ readonly CHROME_UPDATE: 'chrome_update'
680
+ readonly SHARED_MODULE_UPDATE: 'shared_module_update'
681
+ }
682
+ export const OnRestartRequiredReason: {
683
+ readonly APP_UPDATE: 'app_update'
684
+ readonly OS_UPDATE: 'os_update'
685
+ readonly PERIODIC: 'periodic'
686
+ }
687
+ export const PlatformArch: {
688
+ readonly ARM: 'arm'
689
+ readonly ARM64: 'arm64'
690
+ readonly X86_32: 'x86-32'
691
+ readonly X86_64: 'x86-64'
692
+ readonly MIPS: 'mips'
693
+ readonly MIPS64: 'mips64'
694
+ readonly RISCV64: 'riscv64'
695
+ }
696
+ export const PlatformNaclArch: {
697
+ readonly ARM: 'arm'
698
+ readonly X86_32: 'x86-32'
699
+ readonly X86_64: 'x86-64'
700
+ readonly MIPS: 'mips'
701
+ readonly MIPS64: 'mips64'
702
+ }
703
+ export const PlatformOs: {
704
+ readonly MAC: 'mac'
705
+ readonly WIN: 'win'
706
+ readonly ANDROID: 'android'
707
+ readonly CROS: 'cros'
708
+ readonly LINUX: 'linux'
709
+ readonly OPENBSD: 'openbsd'
710
+ }
711
+ export const RequestUpdateCheckStatus: {
712
+ readonly THROTTLED: 'throttled'
713
+ readonly NO_UPDATE: 'no_update'
714
+ readonly UPDATE_AVAILABLE: 'update_available'
715
+ }
716
+ }
717
+
718
+ declare namespace browser.scripting {
719
+ export const ExecutionWorld: {
720
+ readonly ISOLATED: 'ISOLATED'
721
+ readonly MAIN: 'MAIN'
722
+ }
723
+ export const StyleOrigin: {
724
+ readonly AUTHOR: 'AUTHOR'
725
+ readonly USER: 'USER'
726
+ }
727
+ }
728
+
729
+ declare namespace browser.search {
730
+ export const Disposition: {
731
+ readonly CURRENT_TAB: 'CURRENT_TAB'
732
+ readonly NEW_TAB: 'NEW_TAB'
733
+ readonly NEW_WINDOW: 'NEW_WINDOW'
734
+ }
735
+ }
736
+
737
+ declare namespace browser.sidePanel {
738
+ export const Side: {
739
+ readonly LEFT: 'left'
740
+ readonly RIGHT: 'right'
741
+ }
742
+ }
743
+
744
+ declare namespace browser.storage {
745
+ export const AccessLevel: {
746
+ readonly TRUSTED_CONTEXTS: 'TRUSTED_CONTEXTS'
747
+ readonly TRUSTED_AND_UNTRUSTED_CONTEXTS: 'TRUSTED_AND_UNTRUSTED_CONTEXTS'
748
+ }
749
+ }
750
+
751
+ declare namespace browser.system.display {
752
+ export const ActiveState: {
753
+ readonly ACTIVE: 'active'
754
+ readonly INACTIVE: 'inactive'
755
+ }
756
+ export const LayoutPosition: {
757
+ readonly TOP: 'top'
758
+ readonly RIGHT: 'right'
759
+ readonly BOTTOM: 'bottom'
760
+ readonly LEFT: 'left'
761
+ }
762
+ export const MirrorMode: {
763
+ readonly OFF: 'off'
764
+ readonly NORMAL: 'normal'
765
+ readonly MIXED: 'mixed'
766
+ }
767
+ }
768
+
769
+ declare namespace browser.system.storage {
770
+ export const EjectDeviceResultCode: {
771
+ readonly SUCCESS: 'success'
772
+ readonly IN_USE: 'in_use'
773
+ readonly NO_SUCH_DEVICE: 'no_such_device'
774
+ readonly FAILURE: 'failure'
775
+ }
776
+ export const StorageUnitType: {
777
+ readonly FIXED: 'fixed'
778
+ readonly REMOVABLE: 'removable'
779
+ readonly UNKNOWN: 'unknown'
780
+ }
781
+ }
782
+
783
+ declare namespace browser.tabCapture {
784
+ export const TabCaptureState: {
785
+ readonly PENDING: 'pending'
786
+ readonly ACTIVE: 'active'
787
+ readonly STOPPED: 'stopped'
788
+ readonly ERROR: 'error'
789
+ }
790
+ }
791
+
792
+ declare namespace browser.tabGroups {
793
+ export const Color: {
794
+ readonly GREY: 'grey'
795
+ readonly BLUE: 'blue'
796
+ readonly RED: 'red'
797
+ readonly YELLOW: 'yellow'
798
+ readonly GREEN: 'green'
799
+ readonly PINK: 'pink'
800
+ readonly PURPLE: 'purple'
801
+ readonly CYAN: 'cyan'
802
+ readonly ORANGE: 'orange'
803
+ }
804
+ }
805
+
806
+ declare namespace browser.tabs {
807
+ export const MutedInfoReason: {
808
+ readonly USER: 'user'
809
+ readonly CAPTURE: 'capture'
810
+ readonly EXTENSION: 'extension'
811
+ }
812
+ export const TabStatus: {
813
+ readonly UNLOADED: 'unloaded'
814
+ readonly LOADING: 'loading'
815
+ readonly COMPLETE: 'complete'
816
+ }
817
+ export const WindowType: {
818
+ readonly NORMAL: 'normal'
819
+ readonly POPUP: 'popup'
820
+ readonly PANEL: 'panel'
821
+ readonly APP: 'app'
822
+ readonly DEVTOOLS: 'devtools'
823
+ }
824
+ export const ZoomSettingsMode: {
825
+ readonly AUTOMATIC: 'automatic'
826
+ readonly MANUAL: 'manual'
827
+ readonly DISABLED: 'disabled'
828
+ }
829
+ export const ZoomSettingsScope: {
830
+ readonly PER_ORIGIN: 'per-origin'
831
+ readonly PER_TAB: 'per-tab'
832
+ }
833
+ }
834
+
835
+ declare namespace browser.tts {
836
+ export const EventType: {
837
+ readonly START: 'start'
838
+ readonly END: 'end'
839
+ readonly WORD: 'word'
840
+ readonly SENTENCE: 'sentence'
841
+ readonly MARKER: 'marker'
842
+ readonly INTERRUPTED: 'interrupted'
843
+ readonly CANCELLED: 'cancelled'
844
+ readonly ERROR: 'error'
845
+ readonly PAUSE: 'pause'
846
+ readonly RESUME: 'resume'
847
+ }
848
+ export const VoiceGender: {
849
+ readonly MALE: 'male'
850
+ readonly FEMALE: 'female'
851
+ }
852
+ }
853
+
854
+ declare namespace browser.ttsEngine {
855
+ export const LanguageInstallStatus: {
856
+ readonly NOT_INSTALLED: 'notInstalled'
857
+ readonly INSTALLING: 'installing'
858
+ readonly INSTALLED: 'installed'
859
+ readonly FAILED: 'failed'
860
+ }
861
+ export const TtsClientSource: {
862
+ readonly CHROMEFEATURE: 'chromefeature'
863
+ readonly EXTENSION: 'extension'
864
+ }
865
+ export const VoiceGender: {
866
+ readonly MALE: 'male'
867
+ readonly FEMALE: 'female'
868
+ }
869
+ }
870
+
871
+ declare namespace browser.webNavigation {
872
+ export const TransitionQualifier: {
873
+ readonly CLIENT_REDIRECT: 'client_redirect'
874
+ readonly SERVER_REDIRECT: 'server_redirect'
875
+ readonly FORWARD_BACK: 'forward_back'
876
+ readonly FROM_ADDRESS_BAR: 'from_address_bar'
877
+ }
878
+ export const TransitionType: {
879
+ readonly LINK: 'link'
880
+ readonly TYPED: 'typed'
881
+ readonly AUTO_BOOKMARK: 'auto_bookmark'
882
+ readonly AUTO_SUBFRAME: 'auto_subframe'
883
+ readonly MANUAL_SUBFRAME: 'manual_subframe'
884
+ readonly GENERATED: 'generated'
885
+ readonly START_PAGE: 'start_page'
886
+ readonly FORM_SUBMIT: 'form_submit'
887
+ readonly RELOAD: 'reload'
888
+ readonly KEYWORD: 'keyword'
889
+ readonly KEYWORD_GENERATED: 'keyword_generated'
890
+ }
891
+ }
892
+
893
+ declare namespace browser.webRequest {
894
+ export const IgnoredActionType: {
895
+ readonly REDIRECT: 'redirect'
896
+ readonly REQUEST_HEADERS: 'request_headers'
897
+ readonly RESPONSE_HEADERS: 'response_headers'
898
+ readonly AUTH_CREDENTIALS: 'auth_credentials'
899
+ }
900
+ export const OnAuthRequiredOptions: {
901
+ readonly RESPONSE_HEADERS: 'responseHeaders'
902
+ readonly BLOCKING: 'blocking'
903
+ readonly ASYNC_BLOCKING: 'asyncBlocking'
904
+ readonly EXTRA_HEADERS: 'extraHeaders'
905
+ }
906
+ export const OnBeforeRedirectOptions: {
907
+ readonly RESPONSE_HEADERS: 'responseHeaders'
908
+ readonly EXTRA_HEADERS: 'extraHeaders'
909
+ }
910
+ export const OnBeforeRequestOptions: {
911
+ readonly BLOCKING: 'blocking'
912
+ readonly REQUEST_BODY: 'requestBody'
913
+ readonly EXTRA_HEADERS: 'extraHeaders'
914
+ }
915
+ export const OnBeforeSendHeadersOptions: {
916
+ readonly REQUEST_HEADERS: 'requestHeaders'
917
+ readonly BLOCKING: 'blocking'
918
+ readonly EXTRA_HEADERS: 'extraHeaders'
919
+ }
920
+ export const OnCompletedOptions: {
921
+ readonly RESPONSE_HEADERS: 'responseHeaders'
922
+ readonly EXTRA_HEADERS: 'extraHeaders'
923
+ }
924
+ export const OnErrorOccurredOptions: {
925
+ readonly EXTRA_HEADERS: 'extraHeaders'
926
+ }
927
+ export const OnHeadersReceivedOptions: {
928
+ readonly BLOCKING: 'blocking'
929
+ readonly RESPONSE_HEADERS: 'responseHeaders'
930
+ readonly EXTRA_HEADERS: 'extraHeaders'
931
+ readonly SECURITY_INFO: 'securityInfo'
932
+ readonly SECURITY_INFO_RAW_DER: 'securityInfoRawDer'
933
+ }
934
+ export const OnResponseStartedOptions: {
935
+ readonly RESPONSE_HEADERS: 'responseHeaders'
936
+ readonly EXTRA_HEADERS: 'extraHeaders'
937
+ }
938
+ export const OnSendHeadersOptions: {
939
+ readonly REQUEST_HEADERS: 'requestHeaders'
940
+ readonly EXTRA_HEADERS: 'extraHeaders'
941
+ }
942
+ export const ResourceType: {
943
+ readonly MAIN_FRAME: 'main_frame'
944
+ readonly SUB_FRAME: 'sub_frame'
945
+ readonly STYLESHEET: 'stylesheet'
946
+ readonly SCRIPT: 'script'
947
+ readonly IMAGE: 'image'
948
+ readonly FONT: 'font'
949
+ readonly OBJECT: 'object'
950
+ readonly XMLHTTPREQUEST: 'xmlhttprequest'
951
+ readonly PING: 'ping'
952
+ readonly CSP_REPORT: 'csp_report'
953
+ readonly MEDIA: 'media'
954
+ readonly WEBSOCKET: 'websocket'
955
+ readonly WEBBUNDLE: 'webbundle'
956
+ readonly OTHER: 'other'
957
+ }
958
+ }
959
+
960
+ declare namespace browser.windows {
961
+ export const CreateType: {
962
+ readonly NORMAL: 'normal'
963
+ readonly POPUP: 'popup'
964
+ readonly PANEL: 'panel'
965
+ }
966
+ export const WindowState: {
967
+ readonly NORMAL: 'normal'
968
+ readonly MINIMIZED: 'minimized'
969
+ readonly MAXIMIZED: 'maximized'
970
+ readonly FULLSCREEN: 'fullscreen'
971
+ }
972
+ export const WindowType: {
973
+ readonly NORMAL: 'normal'
974
+ readonly POPUP: 'popup'
975
+ readonly PANEL: 'panel'
976
+ readonly APP: 'app'
977
+ readonly DEVTOOLS: 'devtools'
978
+ }
979
+ }