Update Electron.WebContents (#11748)

* electron: Remove WebContents.getFavicon()

This was removed in electron/electron#1554

* electron: Add missing WebContents.{isDestroyed,isFocused}

See http://electron.atom.io/docs/api/web-contents
This commit is contained in:
Birunthan Mohanathas 2016-10-06 07:37:30 -07:00 committed by Masahiro Wakame
parent 6fdf789f54
commit 026bbfeb7a

8
electron/index.d.ts vendored
View File

@ -3967,9 +3967,13 @@ declare namespace Electron {
*/
getTitle(): string;
/**
* @returns The favicon of the web page.
* @returns Whether the web page is destroyed.
*/
getFavicon(): NativeImage;
isDestroyed(): boolean;
/**
* @returns Whether the web page is focused.
*/
isFocused(): boolean;
/**
* @returns Whether web page is still loading resources.
*/