/*******************************************************************************
 * Copyright (c) 2010, 2017 IBM Corporation and others.
 *
 * This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License 2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.swt.internal.webkit;


import org.eclipse.swt.internal.ole.win32.*;
import org.eclipse.swt.internal.win32.*;

public class IWebFrame extends IUnknown {

public IWebFrame (long /*int*/ address) {
	super (address);
}

public int loadRequest (long /*int*/ request) {
	return OS.VtblCall (8, getAddress (), request);
}

public int loadHTMLString (long /*int*/ string, long /*int*/ baseURL) {
	return OS.VtblCall (10, getAddress (), string, baseURL);
}

public int dataSource (long /*int*/[] source) {
	return OS.VtblCall (13, getAddress (), source);
}

public long /*int*/ globalContext () {
	return OS.VtblCall (23, getAddress ());
}

}
