mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-29 21:25:35 +00:00
Bug 1359422 - Add GeckoView constructor that allows both xml attribs and settings r=esawin
MozReview-Commit-ID: 8U1ojpLSSiK
This commit is contained in:
parent
5841b2f70e
commit
96b2d70241
@ -256,6 +256,13 @@ public class GeckoView extends LayerView
|
||||
public GeckoView(Context context, final GeckoViewSettings settings) {
|
||||
super(context);
|
||||
|
||||
final GeckoViewSettings newSettings = new GeckoViewSettings(settings, getEventDispatcher());
|
||||
init(context, settings);
|
||||
}
|
||||
|
||||
public GeckoView(Context context, AttributeSet attrs, final GeckoViewSettings settings) {
|
||||
super(context, attrs);
|
||||
|
||||
final GeckoViewSettings newSettings = new GeckoViewSettings(settings, getEventDispatcher());
|
||||
init(context, newSettings);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user