Add did-change-theme-color event to webview

This commit is contained in:
Brian R. Bondy 2015-12-22 17:16:00 -05:00
parent e14d472934
commit 11b2015535
6 changed files with 27 additions and 8 deletions

View file

@ -221,14 +221,6 @@ Emitted when `webContents` wants to do basic auth.
The usage is the same with [the `login` event of `app`](app.md#event-login).
### Event: 'media-started-playing'
Emitted when media starts playing.
### Event: 'media-paused'
Emitted when media is paused or done playing.
### Event: 'found-in-page'
Returns:

View file

@ -634,3 +634,17 @@ Fired when a plugin process is crashed.
### Event: 'destroyed'
Fired when the WebContents is destroyed.
### Event: 'media-started-playing'
Emitted when media starts playing.
### Event: 'media-paused'
Emitted when media is paused or done playing.
### Event: 'did-change-theme-color'
Emitted when a page's theme color changes. This is usually due to encountering a meta tag:
<meta name='theme-color' content='#ff0000'>