1 // Copyright (c) 2013 Intel Corporation. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 package org.xwalk.runtime;
7 import android.app.Activity;
8 import android.content.Context;
11 * The factory to create a XWalkRuntimeViewProvider instance according to
14 final class XWalkRuntimeViewProviderFactory {
15 static public XWalkRuntimeViewProvider getProvider(Context context, Activity activity) {
16 // TODO(yongsheng): Do checkings here to decide which provider should
17 // be used. The default is to use runtime core provider.
18 return new XWalkCoreProviderImpl(context, activity);