Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D1B3510187 for ; Thu, 6 Mar 2014 05:00:38 +0000 (UTC) Received: (qmail 36816 invoked by uid 500); 6 Mar 2014 05:00:38 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 36796 invoked by uid 500); 6 Mar 2014 05:00:37 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 36788 invoked by uid 99); 6 Mar 2014 05:00:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Mar 2014 05:00:37 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mmocny@google.com designates 209.85.128.169 as permitted sender) Received: from [209.85.128.169] (HELO mail-ve0-f169.google.com) (209.85.128.169) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Mar 2014 05:00:33 +0000 Received: by mail-ve0-f169.google.com with SMTP id pa12so2155786veb.0 for ; Wed, 05 Mar 2014 21:00:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=YaGTVrrX2gQoN9dKQrImhUhH3WcjOeXF+EhNzC6qIBU=; b=QCCq/v85pqRAWwPupKNCd6nM5pl7r5iI3mS/7TwQcWooUDxuZ7VXxA7EEaJ+OEL3CD Yv+f6Gc9PkkKvUYzln9EbiBO2ymgoXTBySdwvFUT4V3LW7aQlFqauUOa0LO0VDZFPOnD wFxrAClwmQjMS0umX69F06TbebBZcEv0XZghC6mHCEK2uYfXhWHgUca+d9ZD6P17sxg0 pgtznEjuIwl9HGbHdB9YuTOgf7eyP1GNeiju8lvdfr7bXpmt51gJxkD8PrJeVQJQ1eWe GqLYahEjiCELBMUAEJH69rwpZ7aVIJQ5pwUiO7T7eyU2deoVFl8go4EJg/LvF0ov3/dw W7qg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=YaGTVrrX2gQoN9dKQrImhUhH3WcjOeXF+EhNzC6qIBU=; b=c21/2UiTK5nkF2TVsU1gJ2aTNJld0JOXL1BUA5FYysbH0G5d8FC3KcMMhUG9poJN85 Wf2VqTg8nzIsVg9DN+gt/b9qKsHqZ7t0nITMBdLnsj/zoqncVlhYbZ/GGAzwGr0QvB2l m07wljrlt6ASOKCtQuTZ2yk9dUzGFahIVZ9Jo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type; bh=YaGTVrrX2gQoN9dKQrImhUhH3WcjOeXF+EhNzC6qIBU=; b=Yx24K6BQwhxEmOGVRdCMH1kT5I5rDZIviNcfur6ngqNTT0NW+JX5r1YGTv8TKquNNe eICu70OmYefAMvZEgFkTTOy6l8KJR2Dg7lJCYVN/pZ8ixw/Mv46blqxxa9PdRC4OqLFM EuPlR9oY+JvtgOJL2dIgNDUJo+Y/HM4DZXuLBN+/YGz6I/RaLiVayVPwmfHWfMdoFT8p TVggCfx3l6Vmzwa6ry33naUJQel3r8MZRor9+l9k2EvSAHl732NAGFUVUnCA1Skue9iF VfbtWa2cfo2DD7F1mvKi+PmRie/otV8+FcrJ2uCFuEkrBsGpWRk+RI9kaBl4uBAfqoqS TQkQ== X-Gm-Message-State: ALoCoQkxGWYK/1nnE9ASHaiKvAdHEyn9sCgXF7cYkalNfG1gl8w27aYOdkHjubjJ5RVEpiXLl/RQuKqDaSHV5M+WurktoRc0xLfyVnEdNiaYp5LpYyHGMdMoFjxbYxezZgDT12gn/64o71Q4iXaOc6UE/DPl1BPPFCQUoiMMxuWlQTGKeuVcb/c9AdLDcSLTV5DcS6lRKfnu1HM8QS9W0zq5ERpDb6hvFA== X-Received: by 10.58.91.101 with SMTP id cd5mr3455181veb.5.1394082012390; Wed, 05 Mar 2014 21:00:12 -0800 (PST) MIME-Version: 1.0 Sender: mmocny@google.com Received: by 10.52.227.165 with HTTP; Wed, 5 Mar 2014 20:59:52 -0800 (PST) In-Reply-To: References: From: Michal Mocny Date: Wed, 5 Mar 2014 23:59:52 -0500 X-Google-Sender-Auth: EcETZljKu4pFotyPDwAluleE9EM Message-ID: Subject: Re: [Android] Refactoring for different engines To: Michal Mocny Cc: dev Content-Type: multipart/alternative; boundary=001a1136988422fd4a04f3e9031f X-Virus-Checked: Checked by ClamAV on apache.org --001a1136988422fd4a04f3e9031f Content-Type: text/plain; charset=UTF-8 https://github.com/crosswalk-project/crosswalk-cordova-android First patch they landed, which claims to have min viable xwalk webview: https://github.com/crosswalk-project/crosswalk-cordova-android/commit/a04dedeb0204e7542d190312c6ae70c795a26e04 On Wed, Mar 5, 2014 at 11:37 PM, Michal Mocny wrote: > I haven't looked yet, but did you see: > https://crosswalk-project.org/#wiki/crosswalk-cordova-android > > ? > > > On Wed, Mar 5, 2014 at 10:20 PM, Andrew Grieve wrote: > >> First - very excited that you're working on this! >> >> Had a quick look. Not sure there's much to be gleaned yet. Once you start >> in on hooking up x-walk's webview I think it will become more obvious what >> the interface should look like. E.g., does x-walk even have the concept of >> ChromeClient vs WebViewClient vs WebView? Also unsure whether the class >> should extend android.View as well as implement our interface. E.g. >> alternative is to have a "getView()" method on the interface. Might help >> to >> cut down on file sizes, and API surface, but again, I'm not too sure. >> >> I've been pretty hesitant to touch existing exposed members (e.g. the >> public fields you were referring to) since touching anything public could >> break plugins. That said, maybe now is a good time to @deprecate a bunch >> of >> them and either replace them with getters, or just declare them to be not >> exposed to plugins. >> >> >> On Wed, Mar 5, 2014 at 6:57 PM, Joe Bowser wrote: >> >> > So, after looking at the Crosswalk code again, I've decided to take a >> > quick stab at making things pluggable. I don't have a lot to show for >> > it, but with the help of Eclipse (which is why the generated >> > interfaces look so screwed up), I managed to create some interfaces so >> > we can start shoehorning in other browser renderers. >> > >> > https://github.com/infil00p/cordova-android/tree/pluggable_webview >> > >> > I'm going to probably start with Crosswalk, because it's probably the >> > most mature primary candidate in the Android Third-Party WebView >> > thing, and I'm pretty sure the GeckoView will be happening shortly >> > after. >> > >> > I don't know how this would work w.r.t. the CLI or our workflow at >> > all, but at the moment, I really just want to at least start to have >> > some headway towards 4.x and PhoneGap day. >> > >> > What do people think of this so far? I'm going to try to clean things >> > up a bit, since we've definitely done a lot of things that would make >> > first year CS profs freak the hell out (i.e. public members in public >> > objects w.r.t. PluginManager). >> > >> > Thoughts? >> > >> > Joe >> > >> > > --001a1136988422fd4a04f3e9031f--