Rename web-view module to web-frame

This commit is contained in:
Cheng Zhao 2014-10-24 18:24:12 +08:00
parent 4f43c41577
commit 4ccb0cccf3
13 changed files with 116 additions and 120 deletions

View file

@ -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) ->