@@ -13926,6 +13926,19 @@ declare namespace Electron {
13926
13926
event: "will-navigate",
13927
13927
listener: (event: WillNavigateEvent) => void
13928
13928
): this
13929
+ /**
13930
+ * Emitted when any frame (including main) starts navigating. `isInPlace` will be
13931
+ * `true` for in-page navigations.
13932
+ */
13933
+ addEventListener(
13934
+ event: "did-start-navigation",
13935
+ listener: (event: DidStartNavigationEvent) => void,
13936
+ useCapture?: boolean
13937
+ ): this
13938
+ removeEventListener(
13939
+ event: "did-start-navigation",
13940
+ listener: (event: DidStartNavigationEvent) => void
13941
+ ): this
13929
13942
/**
13930
13943
* Emitted when a navigation is done.
13931
13944
*
@@ -13942,6 +13955,22 @@ declare namespace Electron {
13942
13955
event: "did-navigate",
13943
13956
listener: (event: DidNavigateEvent) => void
13944
13957
): this
13958
+ /**
13959
+ * Emitted when any frame navigation is done.
13960
+ *
13961
+ * This event is not emitted for in-page navigations, such as clicking anchor links
13962
+ * or updating the `window.location.hash`. Use `did-navigate-in-page` event for
13963
+ * this purpose.
13964
+ */
13965
+ addEventListener(
13966
+ event: "did-frame-navigate",
13967
+ listener: (event: DidFrameNavigateEvent) => void,
13968
+ useCapture?: boolean
13969
+ ): this
13970
+ removeEventListener(
13971
+ event: "did-frame-navigate",
13972
+ listener: (event: DidFrameNavigateEvent) => void
13973
+ ): this
13945
13974
/**
13946
13975
* Emitted when an in-page navigation happened.
13947
13976
*
@@ -15478,13 +15507,34 @@ declare namespace Electron {
15478
15507
interface DidFrameFinishLoadEvent extends Event {
15479
15508
isMainFrame: boolean
15480
15509
}
15510
+ interface DidFrameNavigateEvent extends Event {
15511
+ url: string
15512
+ /**
15513
+ * -1 for non HTTP navigations
15514
+ */
15515
+ httpResponseCode: number
15516
+ /**
15517
+ * empty for non HTTP navigations,
15518
+ */
15519
+ httpStatusText: string
15520
+ isMainFrame: boolean
15521
+ frameProcessId: number
15522
+ frameRoutingId: number
15523
+ }
15481
15524
interface DidNavigateEvent extends Event {
15482
15525
url: string
15483
15526
}
15484
15527
interface DidNavigateInPageEvent extends Event {
15485
15528
isMainFrame: boolean
15486
15529
url: string
15487
15530
}
15531
+ interface DidStartNavigationEvent extends Event {
15532
+ url: string
15533
+ isInPlace: boolean
15534
+ isMainFrame: boolean
15535
+ frameProcessId: number
15536
+ frameRoutingId: number
15537
+ }
15488
15538
interface DisplayBalloonOptions {
15489
15539
/**
15490
15540
* Icon to use when `iconType` is `custom`.
@@ -17968,8 +18018,10 @@ declare namespace Electron {
17968
18018
type DidCreateWindowDetails = Electron.DidCreateWindowDetails
17969
18019
type DidFailLoadEvent = Electron.DidFailLoadEvent
17970
18020
type DidFrameFinishLoadEvent = Electron.DidFrameFinishLoadEvent
18021
+ type DidFrameNavigateEvent = Electron.DidFrameNavigateEvent
17971
18022
type DidNavigateEvent = Electron.DidNavigateEvent
17972
18023
type DidNavigateInPageEvent = Electron.DidNavigateInPageEvent
18024
+ type DidStartNavigationEvent = Electron.DidStartNavigationEvent
17973
18025
type DisplayBalloonOptions = Electron.DisplayBalloonOptions
17974
18026
type EnableNetworkEmulationOptions = Electron.EnableNetworkEmulationOptions
17975
18027
type FeedURLOptions = Electron.FeedURLOptions
@@ -18247,8 +18299,10 @@ declare namespace Electron {
18247
18299
type DidCreateWindowDetails = Electron.DidCreateWindowDetails
18248
18300
type DidFailLoadEvent = Electron.DidFailLoadEvent
18249
18301
type DidFrameFinishLoadEvent = Electron.DidFrameFinishLoadEvent
18302
+ type DidFrameNavigateEvent = Electron.DidFrameNavigateEvent
18250
18303
type DidNavigateEvent = Electron.DidNavigateEvent
18251
18304
type DidNavigateInPageEvent = Electron.DidNavigateInPageEvent
18305
+ type DidStartNavigationEvent = Electron.DidStartNavigationEvent
18252
18306
type DisplayBalloonOptions = Electron.DisplayBalloonOptions
18253
18307
type EnableNetworkEmulationOptions = Electron.EnableNetworkEmulationOptions
18254
18308
type FeedURLOptions = Electron.FeedURLOptions
@@ -18479,8 +18533,10 @@ declare namespace Electron {
18479
18533
type DidCreateWindowDetails = Electron.DidCreateWindowDetails
18480
18534
type DidFailLoadEvent = Electron.DidFailLoadEvent
18481
18535
type DidFrameFinishLoadEvent = Electron.DidFrameFinishLoadEvent
18536
+ type DidFrameNavigateEvent = Electron.DidFrameNavigateEvent
18482
18537
type DidNavigateEvent = Electron.DidNavigateEvent
18483
18538
type DidNavigateInPageEvent = Electron.DidNavigateInPageEvent
18539
+ type DidStartNavigationEvent = Electron.DidStartNavigationEvent
18484
18540
type DisplayBalloonOptions = Electron.DisplayBalloonOptions
18485
18541
type EnableNetworkEmulationOptions = Electron.EnableNetworkEmulationOptions
18486
18542
type FeedURLOptions = Electron.FeedURLOptions
@@ -32258,6 +32314,19 @@ Calling `event.preventDefault()` does __NOT__ have any effect.
32258
32314
event: "will-navigate",
32259
32315
listener: (event: WillNavigateEvent) => void
32260
32316
): this
32317
+ /**
32318
+ * Emitted when any frame (including main) starts navigating. `isInPlace` will be
32319
+ * `true` for in-page navigations.
32320
+ */
32321
+ addEventListener(
32322
+ event: "did-start-navigation",
32323
+ listener: (event: DidStartNavigationEvent) => void,
32324
+ useCapture?: boolean
32325
+ ): this
32326
+ removeEventListener(
32327
+ event: "did-start-navigation",
32328
+ listener: (event: DidStartNavigationEvent) => void
32329
+ ): this
32261
32330
/**
32262
32331
* Emitted when a navigation is done.
32263
32332
*
@@ -32274,6 +32343,22 @@ Calling `event.preventDefault()` does __NOT__ have any effect.
32274
32343
event: "did-navigate",
32275
32344
listener: (event: DidNavigateEvent) => void
32276
32345
): this
32346
+ /**
32347
+ * Emitted when any frame navigation is done.
32348
+ *
32349
+ * This event is not emitted for in-page navigations, such as clicking anchor links
32350
+ * or updating the `window.location.hash`. Use `did-navigate-in-page` event for
32351
+ * this purpose.
32352
+ */
32353
+ addEventListener(
32354
+ event: "did-frame-navigate",
32355
+ listener: (event: DidFrameNavigateEvent) => void,
32356
+ useCapture?: boolean
32357
+ ): this
32358
+ removeEventListener(
32359
+ event: "did-frame-navigate",
32360
+ listener: (event: DidFrameNavigateEvent) => void
32361
+ ): this
32277
32362
/**
32278
32363
* Emitted when an in-page navigation happened.
32279
32364
*
@@ -33796,13 +33881,34 @@ interface DidFailLoadEvent extends Event {
33796
33881
interface DidFrameFinishLoadEvent extends Event {
33797
33882
isMainFrame: boolean
33798
33883
}
33884
+ interface DidFrameNavigateEvent extends Event {
33885
+ url: string
33886
+ /**
33887
+ * -1 for non HTTP navigations
33888
+ */
33889
+ httpResponseCode: number
33890
+ /**
33891
+ * empty for non HTTP navigations,
33892
+ */
33893
+ httpStatusText: string
33894
+ isMainFrame: boolean
33895
+ frameProcessId: number
33896
+ frameRoutingId: number
33897
+ }
33799
33898
interface DidNavigateEvent extends Event {
33800
33899
url: string
33801
33900
}
33802
33901
interface DidNavigateInPageEvent extends Event {
33803
33902
isMainFrame: boolean
33804
33903
url: string
33805
33904
}
33905
+ interface DidStartNavigationEvent extends Event {
33906
+ url: string
33907
+ isInPlace: boolean
33908
+ isMainFrame: boolean
33909
+ frameProcessId: number
33910
+ frameRoutingId: number
33911
+ }
33806
33912
interface DisplayBalloonOptions {
33807
33913
/**
33808
33914
* Icon to use when `iconType` is `custom`.
@@ -36286,8 +36392,10 @@ namespace Common {
36286
36392
type DidCreateWindowDetails = Electron.DidCreateWindowDetails
36287
36393
type DidFailLoadEvent = Electron.DidFailLoadEvent
36288
36394
type DidFrameFinishLoadEvent = Electron.DidFrameFinishLoadEvent
36395
+ type DidFrameNavigateEvent = Electron.DidFrameNavigateEvent
36289
36396
type DidNavigateEvent = Electron.DidNavigateEvent
36290
36397
type DidNavigateInPageEvent = Electron.DidNavigateInPageEvent
36398
+ type DidStartNavigationEvent = Electron.DidStartNavigationEvent
36291
36399
type DisplayBalloonOptions = Electron.DisplayBalloonOptions
36292
36400
type EnableNetworkEmulationOptions = Electron.EnableNetworkEmulationOptions
36293
36401
type FeedURLOptions = Electron.FeedURLOptions
@@ -36562,8 +36670,10 @@ namespace Main {
36562
36670
type DidCreateWindowDetails = Electron.DidCreateWindowDetails
36563
36671
type DidFailLoadEvent = Electron.DidFailLoadEvent
36564
36672
type DidFrameFinishLoadEvent = Electron.DidFrameFinishLoadEvent
36673
+ type DidFrameNavigateEvent = Electron.DidFrameNavigateEvent
36565
36674
type DidNavigateEvent = Electron.DidNavigateEvent
36566
36675
type DidNavigateInPageEvent = Electron.DidNavigateInPageEvent
36676
+ type DidStartNavigationEvent = Electron.DidStartNavigationEvent
36567
36677
type DisplayBalloonOptions = Electron.DisplayBalloonOptions
36568
36678
type EnableNetworkEmulationOptions = Electron.EnableNetworkEmulationOptions
36569
36679
type FeedURLOptions = Electron.FeedURLOptions
@@ -36791,8 +36901,10 @@ namespace Renderer {
36791
36901
type DidCreateWindowDetails = Electron.DidCreateWindowDetails
36792
36902
type DidFailLoadEvent = Electron.DidFailLoadEvent
36793
36903
type DidFrameFinishLoadEvent = Electron.DidFrameFinishLoadEvent
36904
+ type DidFrameNavigateEvent = Electron.DidFrameNavigateEvent
36794
36905
type DidNavigateEvent = Electron.DidNavigateEvent
36795
36906
type DidNavigateInPageEvent = Electron.DidNavigateInPageEvent
36907
+ type DidStartNavigationEvent = Electron.DidStartNavigationEvent
36796
36908
type DisplayBalloonOptions = Electron.DisplayBalloonOptions
36797
36909
type EnableNetworkEmulationOptions = Electron.EnableNetworkEmulationOptions
36798
36910
type FeedURLOptions = Electron.FeedURLOptions
@@ -37096,8 +37208,10 @@ type DidChangeThemeColorEvent = Electron.DidChangeThemeColorEvent
37096
37208
type DidCreateWindowDetails = Electron.DidCreateWindowDetails
37097
37209
type DidFailLoadEvent = Electron.DidFailLoadEvent
37098
37210
type DidFrameFinishLoadEvent = Electron.DidFrameFinishLoadEvent
37211
+ type DidFrameNavigateEvent = Electron.DidFrameNavigateEvent
37099
37212
type DidNavigateEvent = Electron.DidNavigateEvent
37100
37213
type DidNavigateInPageEvent = Electron.DidNavigateInPageEvent
37214
+ type DidStartNavigationEvent = Electron.DidStartNavigationEvent
37101
37215
type DisplayBalloonOptions = Electron.DisplayBalloonOptions
37102
37216
type EnableNetworkEmulationOptions = Electron.EnableNetworkEmulationOptions
37103
37217
type FeedURLOptions = Electron.FeedURLOptions
@@ -37318,8 +37432,10 @@ type DidChangeThemeColorEvent = Electron.DidChangeThemeColorEvent
37318
37432
type DidCreateWindowDetails = Electron.DidCreateWindowDetails
37319
37433
type DidFailLoadEvent = Electron.DidFailLoadEvent
37320
37434
type DidFrameFinishLoadEvent = Electron.DidFrameFinishLoadEvent
37435
+ type DidFrameNavigateEvent = Electron.DidFrameNavigateEvent
37321
37436
type DidNavigateEvent = Electron.DidNavigateEvent
37322
37437
type DidNavigateInPageEvent = Electron.DidNavigateInPageEvent
37438
+ type DidStartNavigationEvent = Electron.DidStartNavigationEvent
37323
37439
type DisplayBalloonOptions = Electron.DisplayBalloonOptions
37324
37440
type EnableNetworkEmulationOptions = Electron.EnableNetworkEmulationOptions
37325
37441
type FeedURLOptions = Electron.FeedURLOptions
@@ -37539,8 +37655,10 @@ type DidChangeThemeColorEvent = Electron.DidChangeThemeColorEvent
37539
37655
type DidCreateWindowDetails = Electron.DidCreateWindowDetails
37540
37656
type DidFailLoadEvent = Electron.DidFailLoadEvent
37541
37657
type DidFrameFinishLoadEvent = Electron.DidFrameFinishLoadEvent
37658
+ type DidFrameNavigateEvent = Electron.DidFrameNavigateEvent
37542
37659
type DidNavigateEvent = Electron.DidNavigateEvent
37543
37660
type DidNavigateInPageEvent = Electron.DidNavigateInPageEvent
37661
+ type DidStartNavigationEvent = Electron.DidStartNavigationEvent
37544
37662
type DisplayBalloonOptions = Electron.DisplayBalloonOptions
37545
37663
type EnableNetworkEmulationOptions = Electron.EnableNetworkEmulationOptions
37546
37664
type FeedURLOptions = Electron.FeedURLOptions
@@ -38357,7 +38475,7 @@ export interface Service {
38357
38475
channel?: Channel
38358
38476
}
38359
38477
declare type ContentPlayerContentType = "Mirakurun" | (string & {})
38360
- declare type ContentPlayerPlayingContent = {
38478
+ export declare type ContentPlayerPlayingContent = {
38361
38479
contentType: ContentPlayerContentType
38362
38480
url: string
38363
38481
program?: Program
@@ -38368,6 +38486,7 @@ declare type OpenWindowArg = {
38368
38486
isSingletone?: boolean
38369
38487
args?: BrowserWindowConstructorOptions
38370
38488
}
38489
+ declare type MirakurunCompatibilityTypes = "Mirakurun" | "Mirakc"
38371
38490
export declare type AppInfo = {
38372
38491
name: string
38373
38492
version: string
@@ -38439,6 +38558,10 @@ export declare type PluginInRendererArgs = {
38439
38558
contentPlayerPositionUpdateTriggerAtom: Recoil.RecoilState<number>
38440
38559
contentPlayerRelativeMoveTriggerAtom: Recoil.RecoilState<number>
38441
38560
contentPlayerScreenshotTriggerAtom: Recoil.RecoilState<number>
38561
+ mirakurunCompatibilitySelector: Recoil.RecoilValueReadOnly<MirakurunCompatibilityTypes | null>
38562
+ mirakurunVersionSelector: Recoil.RecoilValueReadOnly<string | null>
38563
+ mirakurunServicesSelector: Recoil.RecoilValueReadOnly<Service[] | null>
38564
+ mirakurunProgramsSelector: Recoil.RecoilValueReadOnly<Program[] | null>
38442
38565
}
38443
38566
}
38444
38567
export declare type InitPluginInRenderer = (
0 commit comments