blob: 6eeaeed4af4d322526416adb347c2b395cb4d41d [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.support_lib_glue;
import org.chromium.base.annotations.UsedByReflection;
import org.chromium.support_lib_boundary.util.BoundaryInterfaceReflectionUtil;
import java.lang.reflect.InvocationHandler;
/**
* Starting point for fetching WebView implementation.
*/
@UsedByReflection("WebView Support Library")
public class SupportLibReflectionUtil {
/**
* Entry point used by the WebView Support Library to gain access to the functionality in the
* support library glue.
* Changing the signature of this method will break existing WebView Support Library versions!
*/
@UsedByReflection("WebView Support Library")
public static InvocationHandler createWebViewProviderFactory() {
return BoundaryInterfaceReflectionUtil.createInvocationHandlerFor(
new SupportLibWebViewChromiumFactory());
}
}