URLs can now be opened.

This commit is contained in:
Simo Kinnunen
2014-04-21 20:36:32 +09:00
parent 71bf2fd131
commit 33d2862704
6 changed files with 77 additions and 44 deletions

View File

@@ -197,6 +197,13 @@ module.exports = function ControlServiceFactory(
this.stopLogcat = function() {
return sendTwoWay('logcat.stop')
}
this.openBrowser = function(browser, url) {
return sendTwoWay('browser.open', {
url: url
, browser: browser.id
})
}
}
controlService.create = function(target, channel) {