If you ever ends up with a patch for b2g/ that is front-end related feel free to r? me. I worked a bit on this code for XUL Fennec and I will be happy to have something for b2g.

I shared Ehsan concerns also and it would be nice if most of this code lives in toolkit/ so it will be shared.

On 10/10/2013 20:16, [email protected] wrote:
On Thursday, October 3, 2013 5:28:05 PM UTC-5, Ehsan Akhgari wrote:
Do you know where this functionality is implemented?  I think we should
try to unify the implementations as part of this effort so that most of
this code ends up being shared between all of our platforms.

It's all in front end. We started with the old xul fennec selection and 
overhauled it. It's somewhat similar to the android front end code. I think 
margaret started looking at sharing some of this between the two apps but ran 
into too many inconsistencies.

We have a need for basic touch selection via two selection markers we would 
want to define via front end css. The behavior would need to be be defined 
through prefs so we could match the default behavior of the platform. I can 
itemize some of those details if you like.

For copy / paste of selected content we handle that in front end based on 
context menu events. I don't think platform needs to be involved in that.

Also, selection needs to be compatible with the async pan and zoom layers 
functionality. Markers shouldn't be affected by pan or zoom other than proper 
positioning. Which I think means the markers need to be outside the layer that 
the apz is connected up to.


_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to