1 // Copyright (c) 2013 Intel Corporation. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 package org.xwalk.core;
7 import org.chromium.base.CalledByNative;
8 import org.chromium.base.JNINamespace;
9 import org.chromium.components.web_contents_delegate_android.WebContentsDelegateAndroid;
11 @JNINamespace("xwalk")
12 public abstract class XWalkWebContentsDelegate extends WebContentsDelegateAndroid {
14 public abstract boolean addNewContents(boolean isDialog, boolean isUserGesture);
17 public abstract void closeContents();
20 public abstract void activateContents();
23 public abstract void rendererUnresponsive();
26 public abstract void rendererResponsive();
29 public void updatePreferredSize(int widthCss, int heightCss) {
33 public void toggleFullscreen(boolean enterFullscreen) {
37 public boolean isFullscreen() {