]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.eclipse.swt.win32.win32.x86_64/src/org/eclipse/swt/internal/webkit/IWebFrame.java
5ca43a6e60152d7ad04490eca94bb4ff3abaab6d
[simantics/platform.git] / bundles / org.eclipse.swt.win32.win32.x86_64 / src / org / eclipse / swt / internal / webkit / IWebFrame.java
1 /*******************************************************************************
2  * Copyright (c) 2010, 2017 IBM Corporation and others.
3  *
4  * This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License 2.0
6  * which accompanies this distribution, and is available at
7  * https://www.eclipse.org/legal/epl-2.0/
8  *
9  * SPDX-License-Identifier: EPL-2.0
10  *
11  * Contributors:
12  *     IBM Corporation - initial API and implementation
13  *******************************************************************************/
14 package org.eclipse.swt.internal.webkit;
15
16
17 import org.eclipse.swt.internal.ole.win32.*;
18
19 public class IWebFrame extends IUnknown {
20
21 public IWebFrame (long address) {
22         super (address);
23 }
24
25 public int loadRequest (long request) {
26         return COM.VtblCall (8, getAddress (), request);
27 }
28
29 public int loadHTMLString (long string, long baseURL) {
30         return COM.VtblCall (10, getAddress (), string, baseURL);
31 }
32
33 public int dataSource (long[] source) {
34         return COM.VtblCall (13, getAddress (), source);
35 }
36
37 public long globalContext () {
38         return COM.VtblCall (23, getAddress ());
39 }
40
41 }