In the view point of basic behavior, right, they should be almost same. Now, There are three reasons not to keep the same structure
1. WebKit2/efl ignores or choose different(better?) API names from WebKit1/Efl. It's sad but true. For example, - reload_bypass_cache instead of reload_full ( https://bugs.webkit.org/show_bug.cgi?id=89413#c4 ) - WebKit2/Efl decides to use `url` instead of `uri` ( http://lists.webkit.org/pipermail/webkit-efl/2012-October/000312.html ) - WebKit2/Efl does not expose methods of structure. If allowed, I want to reduce these by refactoring WebKit1/Efl API. 2. Some APIs depends on architecture. Because of process model, WebKit2/Efl has new data type, ewk_context to manage web process, and different setting APIs. WebKit1 provides setting for each ewk_view, but WebKit2 provides it for each ewk_context. Indeed, some of APIs such as ewk_frame_script_execute should be changed to asynchronous model in WebKit2 3. WebKit2/Efl can not have some features of WebKit1/Efl. WebKit2 is common ports and WebKit2/Efl just provides the wrapper of WebKit2 C API. On the other hand, WebKit1/Efl uses more functionality of WebCore. For example, WebKit1 has a lot of ewk_frame APIs, ewk_view_tiled for better scrolling. 2012/10/23 Gustavo Sverzut Barbieri <barbi...@profusion.mobi> > On Mon, Oct 22, 2012 at 2:30 PM, ryuan Choi <ryuan.c...@gmail.com> wrote: > > Hi, > > > > As a second patch of elm-web for WK2, > > I moved some elm-web APIs, which calls same APIs of ewebkt and ewbkit2, > to > > common area. > > In addition, I extracted theme related code from elm_web to share. > > > > In order to share, I added elm_web_common.c. > > > > With this patch, > > elm-web for WK2 supports > > - back, forward, stop, reload, back_possible_get, forward_possible_get > > Hi, > > would you mind explaining why webkit2 is not using the same Ewk_View > structure as the regular webkit? Does it conflict somehow? Ideally we SHOULD create a base structure for both wk1 and wk2, 99% of > the behavior should be the same: uri_set(), progress, back/forward/... > -- > Gustavo Sverzut Barbieri > http://profusion.mobi embedded systems > -------------------------------------- > MSN: barbi...@gmail.com > Skype: gsbarbieri > Mobile: +55 (19) 9225-2202 > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel