Browse Source

Added comments

Howard Tseng 7 years ago
parent
commit
8387e09574

+ 9 - 3
android/src/main/java/com/flutter_webview_plugin/FlutterWebviewPlugin.java

@@ -120,20 +120,26 @@ public class FlutterWebviewPlugin implements MethodCallHandler {
         }
         }
     }
     }
 
 
-
+    /** 
+    * Navigates back on the Webview.
+    */
     private void back(MethodCall call, MethodChannel.Result result) {
     private void back(MethodCall call, MethodChannel.Result result) {
         if (webViewManager != null) {
         if (webViewManager != null) {
             webViewManager.back(call, result);
             webViewManager.back(call, result);
         }
         }
     }
     }
-
+    /** 
+    * Navigates forward on the Webview.
+    */
     private void forward(MethodCall call, MethodChannel.Result result) {
     private void forward(MethodCall call, MethodChannel.Result result) {
         if (webViewManager != null) {
         if (webViewManager != null) {
             webViewManager.forward(call, result);
             webViewManager.forward(call, result);
         }
         }
     }
     }
 
 
-
+    /** 
+    * Reloads the Webview.
+    */
     private void reload(MethodCall call, MethodChannel.Result result) {
     private void reload(MethodCall call, MethodChannel.Result result) {
         if (webViewManager != null) {
         if (webViewManager != null) {
             webViewManager.reload(call, result);
             webViewManager.reload(call, result);