public UI.Browser start(UI.Point position, UI.Size size) { _client = new UI.Browser(() => { var body = Request("belly:get-window-title"); if (body != null) { return(body.title); } return(""); }); var url = _server.Url; var ws = _channel.Url; _client.Launch(url, ws, position, size); return(_client); }
public FocusEventHandler(Browser browser) { _browser = browser; }
public UI.Browser start(UI.Point position, UI.Size size) { _client = new UI.Browser(() => { var body = Request("belly:get-window-title"); if (body != null) return body.title; return ""; }); var url = _server.Url; var ws = _channel.Url; _client.Launch(url, ws, position, size); return _client; }
public FocusHandler(Browser browser) { _browser = browser; }