Upstream version 8.36.161.0
[platform/framework/web/crosswalk.git] / src / xwalk / runtime / android / core_internal / src / org / xwalk / core / internal / extension / api / presentation / XWalkPresentationContent.java
@@ -2,16 +2,16 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-package org.xwalk.core.extension.api.presentation;
+package org.xwalk.core.internal.extension.api.presentation;
 
 import android.app.Activity;
 import android.content.Context;
 import android.os.Bundle;
 import android.view.View;
 
-import org.xwalk.core.XWalkClient;
-import org.xwalk.core.XWalkUIClient;
-import org.xwalk.core.XWalkView;
+import org.xwalk.core.internal.XWalkClient;
+import org.xwalk.core.internal.XWalkUIClientInternal;
+import org.xwalk.core.internal.XWalkViewInternal;
 
 /**
  * Represents the content to be presented on the secondary display.
@@ -20,7 +20,7 @@ public class XWalkPresentationContent {
     public final int INVALID_PRESENTATION_ID = -1;
 
     private int mPresentationId = INVALID_PRESENTATION_ID;
-    private XWalkView mContentView;
+    private XWalkViewInternal mContentView;
     private Context mContext;
     private Activity mActivity;
     private PresentationDelegate mDelegate;
@@ -34,19 +34,19 @@ public class XWalkPresentationContent {
 
     public void load(final String url) {
         if (mContentView == null) {
-            mContentView = new XWalkView(mContext, mActivity);
+            mContentView = new XWalkViewInternal(mContext, mActivity);
             final XWalkClient xWalkClient = new XWalkClient(mContentView) {
                 @Override
-                public void onPageFinished(XWalkView view, String url) {
+                public void onPageFinished(XWalkViewInternal view, String url) {
                     mPresentationId = mContentView.getContentID();
                     onContentLoaded();
                 }
             };
             mContentView.setXWalkClient(xWalkClient);
 
-            final XWalkUIClient xWalkUIClient = new XWalkUIClient(mContentView) {
+            final XWalkUIClientInternal xWalkUIClient = new XWalkUIClientInternal(mContentView) {
                 @Override
-                public void onJavascriptCloseWindow(XWalkView view) {
+                public void onJavascriptCloseWindow(XWalkViewInternal view) {
                     // The content was closed already. Web need to invalidate the
                     // presentation id now.
                     mPresentationId = INVALID_PRESENTATION_ID;