Rename web-view module to web-frame
This commit is contained in:
parent
4f43c41577
commit
4ccb0cccf3
13 changed files with 116 additions and 120 deletions
|
@ -26,6 +26,10 @@ module.exports.wrap = (webContents) ->
|
|||
webContents.getId = -> "#{@getProcessId()}-#{@getRoutingId()}"
|
||||
webContents.equal = (other) -> @getId() is other.getId()
|
||||
|
||||
# Set frame name of WebContents.
|
||||
webContents.setName = (name) ->
|
||||
@send 'ATOM_SHELL_WEB_CONTENTS_SET_NAME', name
|
||||
|
||||
# Tell the rpc server that a render view has been deleted and we need to
|
||||
# release all objects owned by it.
|
||||
webContents.on 'render-view-deleted', (event, processId, routingId) ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue