mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 944104 - support creating a GeckoView programmatically, follow up to have just one LayerView constructor r=mfinkle
This commit is contained in:
parent
f22f1abbbf
commit
f2777b5a19
@ -120,19 +120,7 @@ public class LayerView extends FrameLayout implements Tabs.OnTabsChangedListener
|
||||
}
|
||||
|
||||
public LayerView(Context context) {
|
||||
super(context);
|
||||
|
||||
mGLController = GLController.getInstance(this);
|
||||
mPaintState = PAINT_START;
|
||||
mBackgroundColor = Color.WHITE;
|
||||
|
||||
mTouchInterceptors = new ArrayList<TouchEventInterceptor>();
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) {
|
||||
mOverscroll = new OverscrollEdgeEffect(this);
|
||||
} else {
|
||||
mOverscroll = null;
|
||||
}
|
||||
Tabs.registerOnTabsChangedListener(this);
|
||||
this(context, null);
|
||||
}
|
||||
|
||||
public void initializeView(EventDispatcher eventDispatcher) {
|
||||
|
Loading…
Reference in New Issue
Block a user