Implement getId in C++

This commit is contained in:
Cheng Zhao 2015-06-23 16:16:10 +08:00
parent 89c7028ed1
commit 52789ab96f
3 changed files with 12 additions and 16 deletions

View file

@ -24,10 +24,6 @@ wrapWebContents = (webContents) ->
else
webContents.once 'did-finish-load', @_executeJavaScript.bind(this, code)
# The processId and routingId and identify a webContents.
webContents.getId = -> @getProcessId()
webContents.equal = (other) -> @getId() is other.getId()
# The navigation controller.
controller = new NavigationController(webContents)
for name, method of NavigationController.prototype when method instanceof Function