@@ -0,0 +1,1345 @@
+/*%0A * Copyright (C) 2005-2017 Qihoo 360 Inc.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22); you may not%0A * use this file except in compliance with the License. You may obtain a copy of%0A * the License at%0A *%0A * http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed To in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS, WITHOUT%0A * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the%0A * License for the specific language governing permissions and limitations under%0A * the License.%0A */%0A%0Apackage com.qihoo360.replugin.sample.demo1.activity.webview;%0A%0Aimport android.content.Context;%0Aimport android.util.AttributeSet;%0Aimport android.webkit.WebView;%0A%0A/**%0A * @author RePlugin Team%0A */%0Apublic class RePluginWebView extends WebView %7B%0A%0A    public RePluginWebView(Context context) %7B%0A        super(context);%0A        init(context);%0A    %7D%0A%0A    public RePluginWebView(Context context, AttributeSet attrs) %7B%0A        super(context, attrs);%0A        init(context);%0A    %7D%0A%0A    public RePluginWebView(Context context, AttributeSet attrs, int defStyleAttr) %7B%0A        super(context, attrs, defStyleAttr);%0A        init(context);%0A    %7D%0A%0A    private void init(Context context) %7B%0A        WebViewResourceHelper.addChromeResourceIfNeeded(context);%0A    %7D%0A%7D

Add RePluginWebView