Upstream version 8.37.183.0
[platform/framework/web/crosswalk.git] / src / xwalk / test / android / core / javatests / src / org / xwalk / core / xwview / test / XWalkViewTestBase.java
index 4d4ef46..8be4a33 100644 (file)
@@ -60,6 +60,11 @@ public class XWalkViewTestBase
         public void onReceivedTitle(XWalkView view, String title) {
             mInnerContentsClient.onTitleChanged(title);
         }
+
+        @Override
+        public void onJavascriptCloseWindow(XWalkView view) {
+            mInnerContentsClient.onJavascriptCloseWindow();
+        }
     }
 
     class TestXWalkUIClient extends TestXWalkUIClientBase {
@@ -90,6 +95,11 @@ public class XWalkViewTestBase
                 String url) {
             return mInnerContentsClient.shouldInterceptLoadRequest(url);
         }
+
+        @Override
+        public void onProgressChanged(XWalkView view, int progressInPercent) {
+            mTestHelperBridge.onProgressChanged(progressInPercent);
+        }
     }
 
     class TestXWalkResourceClient extends TestXWalkResourceClientBase {