no sievers
2016/06/23 23:16:41
Can we avoid the non-public dependency here someho
Can we avoid the non-public dependency here somehow?
I'm wondering:
What if SelectActionMode moved to ui/android (also see ui/touch_selection)?
Instead of RWHV then ViewAndroid could own the SelectActionMode instance and you
could get to it here through RWHV::GetNativeView() (which is public).
amaralp
2016/06/24 00:45:49
I also didn't like the non-public dependency, but
On 2016/06/23 at 23:16:41, sievers wrote:
> Can we avoid the non-public dependency here somehow?
>
> I'm wondering:
>
> What if SelectActionMode moved to ui/android (also see ui/touch_selection)?
>
> Instead of RWHV then ViewAndroid could own the SelectActionMode instance and
you could get to it here through RWHV::GetNativeView() (which is public).
I also didn't like the non-public dependency, but I'm not sure I understand your
suggestion. Isn't ViewAndroid an abstract class? What subclass would
implement it once ContentViewCore is gone?
no sievers
2016/06/24 22:17:25
Feel free to add view_android.cc. I was going to d
On 2016/06/24 00:45:49, amaralp wrote:
> On 2016/06/23 at 23:16:41, sievers wrote:
> > Can we avoid the non-public dependency here somehow?
> >
> > I'm wondering:
> >
> > What if SelectActionMode moved to ui/android (also see ui/touch_selection)?
> >
> > Instead of RWHV then ViewAndroid could own the SelectActionMode instance and
> you could get to it here through RWHV::GetNativeView() (which is public).
>
> I also didn't like the non-public dependency, but I'm not sure I understand
your
> suggestion. Isn't ViewAndroid an abstract class? What subclass would
> implement it once ContentViewCore is gone?
Feel free to add view_android.cc. I was going to do that anyways with
crbug.com/622847.
Otherwise you could also override the implementation through CVC in the
meantime.
You could even delegate the implementation from ViewAndroid to its delegate
(ViewAndroidDelagate?) which should be then implemented by RWHVAndroid. I was
going to add that delegate interface also for aforementioned bug.
Issue 2089933002: Context Menu Refactor
(Closed)
Created 4 years, 6 months ago by amaralp
Modified 3 years, 9 months ago
Reviewers: aelias_OOO_until_Jul13, no sievers
Base URL: https://chromium.googlesource.com/chromium/src.git@master
Comments: 28