Commit 21639421 by mergen

【文字说明】调整代码注释。。。增加2个类的使用方式。。。

parent 8ef14f1f
/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
javascript 引擎桥。
用于cordova.js与系统cordova.jar通讯用的工具类,
此工具类从X5WebViewEngine实现调用
*/
package org.apache.cordova.x5engine;
......
/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
/**
*
* cordova使用webview层。。。
* 在这个层面不需要设置x5引擎的相关参数...
*
* 1、用于暴露init方法。
* 2、暴露init的方法的目的可能是 X5WebViewEngine的init方法cordova层面去调用,在这个层面去进行webview的init
* init方法的其他作用是判断两个client是否为空,如果为空,初始化一个新的,复制进去
* 3、暴露的其他办法有
* getCordovaWebView 用于从系统层面获取cordova的webview
*
* 一个webview有两个client,分别是webclient和chromewebclient
* setWebViewClient 给webview设置webviewclient
* setWebChromeClient 给webview设置webchromeclient
*/
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
package org.apache.cordova.x5engine;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment