~ubuntu-branches/debian/sid/swt-gtk/sid

« back to all changes in this revision

Viewing changes to org/eclipse/swt/internal/mozilla/nsIDocShell_1_9.java

  • Committer: Bazaar Package Importer
  • Author(s): Adrian Perez
  • Date: 2009-12-07 10:22:24 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20091207102224-70w2tax575mcks1w
Tags: 3.5.1-1
* New upstream release. Closes: #558663.
* debian/control: 
  - Add Vcs-* fields for Git repository.
  - Allow DM-Uploads.
  - Remove "Conflicts", package should live with eclipse.
* debian/rules: Fix default-java path around AWT_LIB_PATH.
* debian/copyright: Minor update.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* ***** BEGIN LICENSE BLOCK *****
2
 
 * Version: MPL 1.1
3
 
 *
4
 
 * The contents of this file are subject to the Mozilla Public License Version
5
 
 * 1.1 (the "License"); you may not use this file except in compliance with
6
 
 * the License. You may obtain a copy of the License at
7
 
 * http://www.mozilla.org/MPL/
8
 
 *
9
 
 * Software distributed under the License is distributed on an "AS IS" basis,
10
 
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11
 
 * for the specific language governing rights and limitations under the
12
 
 * License.
13
 
 *
14
 
 * The Original Code is Mozilla Communicator client code, released March 31, 1998.
15
 
 *
16
 
 * The Initial Developer of the Original Code is
17
 
 * Netscape Communications Corporation.
18
 
 * Portions created by Netscape are Copyright (C) 1998-1999
19
 
 * Netscape Communications Corporation.  All Rights Reserved.
20
 
 *
21
 
 * Contributor(s):
22
 
 *
23
 
 * IBM
24
 
 * -  Binding to permit interfacing between Mozilla and SWT
25
 
 * -  Copyright (C) 2003, 2008 IBM Corp.  All Rights Reserved.
26
 
 *
27
 
 * ***** END LICENSE BLOCK ***** */
28
 
package org.eclipse.swt.internal.mozilla;
29
 
 
30
 
public class nsIDocShell_1_9 extends nsISupports {
31
 
 
32
 
        static final int LAST_METHOD_ID = nsISupports.LAST_METHOD_ID + 67;
33
 
 
34
 
        public static final String NS_IDOCSHELL_IID_STR =
35
 
                "7d1cf6b9-daa3-476d-8f9f-9eb2a971a95c";
36
 
 
37
 
        public static final nsID NS_IDOCSHELL_IID =
38
 
                new nsID(NS_IDOCSHELL_IID_STR);
39
 
 
40
 
        public nsIDocShell_1_9(int /*long*/ address) {
41
 
                super(address);
42
 
        }
43
 
 
44
 
        public int LoadURI(int /*long*/ uri, int /*long*/ loadInfo, int aLoadFlags, int firstParty) {
45
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 1, getAddress(), uri, loadInfo, aLoadFlags, firstParty);
46
 
        }
47
 
 
48
 
        public int LoadStream(int /*long*/ aStream, int /*long*/ aURI, int /*long*/ aContentType, int /*long*/ aContentCharset, int /*long*/ aLoadInfo) {
49
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 2, getAddress(), aStream, aURI, aContentType, aContentCharset, aLoadInfo);
50
 
        }
51
 
 
52
 
        public static final int INTERNAL_LOAD_FLAGS_NONE = 0;
53
 
 
54
 
        public static final int INTERNAL_LOAD_FLAGS_INHERIT_OWNER = 1;
55
 
 
56
 
        public static final int INTERNAL_LOAD_FLAGS_DONT_SEND_REFERRER = 2;
57
 
 
58
 
        public static final int INTERNAL_LOAD_FLAGS_ALLOW_THIRD_PARTY_FIXUP = 4;
59
 
 
60
 
        public static final int INTERNAL_LOAD_FLAGS_FIRST_LOAD = 8;
61
 
 
62
 
        public static final int INTERNAL_LOAD_FLAGS_BYPASS_CLASSIFIER = 16;
63
 
 
64
 
        public int InternalLoad(int /*long*/ aURI, int /*long*/ aReferrer, int /*long*/ aOwner, int aFlags, char[] aWindowTarget, byte[] aTypeHint, int /*long*/ aPostDataStream, int /*long*/ aHeadersStream, int aLoadFlags, int /*long*/ aSHEntry, int firstParty, int /*long*/[] aDocShell, int /*long*/[] aRequest) {
65
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 3, getAddress(), aURI, aReferrer, aOwner, aFlags, aWindowTarget, aTypeHint, aPostDataStream, aHeadersStream, aLoadFlags, aSHEntry, firstParty, aDocShell, aRequest);
66
 
        }
67
 
 
68
 
        public int CreateLoadInfo(int /*long*/[] loadInfo) {
69
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 4, getAddress(), loadInfo);
70
 
        }
71
 
 
72
 
        public int PrepareForNewContentModel() {
73
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 5, getAddress());
74
 
        }
75
 
 
76
 
        public int SetCurrentURI(int /*long*/ aURI) {
77
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 6, getAddress(), aURI);
78
 
        }
79
 
 
80
 
        public int FirePageHideNotification(int isUnload) {
81
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 7, getAddress(), isUnload);
82
 
        }
83
 
 
84
 
        public int GetPresContext(int /*long*/[] aPresContext) {
85
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 8, getAddress(), aPresContext);
86
 
        }
87
 
 
88
 
        public int GetPresShell(int /*long*/[] aPresShell) {
89
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 9, getAddress(), aPresShell);
90
 
        }
91
 
 
92
 
        public int GetEldestPresShell(int /*long*/[] aEldestPresShell) {
93
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 10, getAddress(), aEldestPresShell);
94
 
        }
95
 
 
96
 
        public int GetContentViewer(int /*long*/[] aContentViewer) {
97
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 11, getAddress(), aContentViewer);
98
 
        }
99
 
 
100
 
        public int GetChromeEventHandler(int /*long*/[] aChromeEventHandler) {
101
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 12, getAddress(), aChromeEventHandler);
102
 
        }
103
 
 
104
 
        public int SetChromeEventHandler(int /*long*/ aChromeEventHandler) {
105
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 13, getAddress(), aChromeEventHandler);
106
 
        }
107
 
 
108
 
        public int GetDocumentCharsetInfo(int /*long*/[] aDocumentCharsetInfo) {
109
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 14, getAddress(), aDocumentCharsetInfo);
110
 
        }
111
 
 
112
 
        public int SetDocumentCharsetInfo(int /*long*/ aDocumentCharsetInfo) {
113
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 15, getAddress(), aDocumentCharsetInfo);
114
 
        }
115
 
 
116
 
        public int GetAllowPlugins(int[] aAllowPlugins) {
117
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 16, getAddress(), aAllowPlugins);
118
 
        }
119
 
 
120
 
        public int SetAllowPlugins(int aAllowPlugins) {
121
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 17, getAddress(), aAllowPlugins);
122
 
        }
123
 
 
124
 
        public int GetAllowJavascript(int[] aAllowJavascript) {
125
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 18, getAddress(), aAllowJavascript);
126
 
        }
127
 
 
128
 
        public int SetAllowJavascript(int aAllowJavascript) {
129
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 19, getAddress(), aAllowJavascript);
130
 
        }
131
 
 
132
 
        public int GetAllowMetaRedirects(int[] aAllowMetaRedirects) {
133
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 20, getAddress(), aAllowMetaRedirects);
134
 
        }
135
 
 
136
 
        public int SetAllowMetaRedirects(int aAllowMetaRedirects) {
137
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 21, getAddress(), aAllowMetaRedirects);
138
 
        }
139
 
 
140
 
        public int GetAllowSubframes(int[] aAllowSubframes) {
141
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 22, getAddress(), aAllowSubframes);
142
 
        }
143
 
 
144
 
        public int SetAllowSubframes(int aAllowSubframes) {
145
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 23, getAddress(), aAllowSubframes);
146
 
        }
147
 
 
148
 
        public int GetAllowImages(int[] aAllowImages) {
149
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 24, getAddress(), aAllowImages);
150
 
        }
151
 
 
152
 
        public int SetAllowImages(int aAllowImages) {
153
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 25, getAddress(), aAllowImages);
154
 
        }
155
 
 
156
 
        public static final int ENUMERATE_FORWARDS = 0;
157
 
 
158
 
        public static final int ENUMERATE_BACKWARDS = 1;
159
 
 
160
 
        public int GetDocShellEnumerator(int aItemType, int aDirection, int /*long*/[] _retval) {
161
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 26, getAddress(), aItemType, aDirection, _retval);
162
 
        }
163
 
 
164
 
        public static final int APP_TYPE_UNKNOWN = 0;
165
 
 
166
 
        public static final int APP_TYPE_MAIL = 1;
167
 
 
168
 
        public static final int APP_TYPE_EDITOR = 2;
169
 
 
170
 
        public int GetAppType(int[] aAppType) {
171
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 27, getAddress(), aAppType);
172
 
        }
173
 
 
174
 
        public int SetAppType(int aAppType) {
175
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 28, getAddress(), aAppType);
176
 
        }
177
 
 
178
 
        public int GetAllowAuth(int[] aAllowAuth) {
179
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 29, getAddress(), aAllowAuth);
180
 
        }
181
 
 
182
 
        public int SetAllowAuth(int aAllowAuth) {
183
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 30, getAddress(), aAllowAuth);
184
 
        }
185
 
 
186
 
        public int GetZoom(float[] aZoom) {
187
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 31, getAddress(), aZoom);
188
 
        }
189
 
 
190
 
        public int SetZoom(float aZoom) {
191
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 32, getAddress(), aZoom);
192
 
        }
193
 
 
194
 
        public int GetMarginWidth(int[] aMarginWidth) {
195
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 33, getAddress(), aMarginWidth);
196
 
        }
197
 
 
198
 
        public int SetMarginWidth(int aMarginWidth) {
199
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 34, getAddress(), aMarginWidth);
200
 
        }
201
 
 
202
 
        public int GetMarginHeight(int[] aMarginHeight) {
203
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 35, getAddress(), aMarginHeight);
204
 
        }
205
 
 
206
 
        public int SetMarginHeight(int aMarginHeight) {
207
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 36, getAddress(), aMarginHeight);
208
 
        }
209
 
 
210
 
        public int GetHasFocus(int[] aHasFocus) {
211
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 37, getAddress(), aHasFocus);
212
 
        }
213
 
 
214
 
        public int SetHasFocus(int aHasFocus) {
215
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 38, getAddress(), aHasFocus);
216
 
        }
217
 
 
218
 
        public int GetCanvasHasFocus(int[] aCanvasHasFocus) {
219
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 39, getAddress(), aCanvasHasFocus);
220
 
        }
221
 
 
222
 
        public int SetCanvasHasFocus(int aCanvasHasFocus) {
223
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 40, getAddress(), aCanvasHasFocus);
224
 
        }
225
 
 
226
 
        public int TabToTreeOwner(int forward, int[] tookFocus) {
227
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 41, getAddress(), forward, tookFocus);
228
 
        }
229
 
 
230
 
        public static final int BUSY_FLAGS_NONE = 0;
231
 
 
232
 
        public static final int BUSY_FLAGS_BUSY = 1;
233
 
 
234
 
        public static final int BUSY_FLAGS_BEFORE_PAGE_LOAD = 2;
235
 
 
236
 
        public static final int BUSY_FLAGS_PAGE_LOADING = 4;
237
 
 
238
 
        public static final int LOAD_CMD_NORMAL = 1;
239
 
 
240
 
        public static final int LOAD_CMD_RELOAD = 2;
241
 
 
242
 
        public static final int LOAD_CMD_HISTORY = 4;
243
 
 
244
 
        public int GetBusyFlags(int[] aBusyFlags) {
245
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 42, getAddress(), aBusyFlags);
246
 
        }
247
 
 
248
 
        public int GetLoadType(int[] aLoadType) {
249
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 43, getAddress(), aLoadType);
250
 
        }
251
 
 
252
 
        public int SetLoadType(int aLoadType) {
253
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 44, getAddress(), aLoadType);
254
 
        }
255
 
 
256
 
        public int IsBeingDestroyed(int[] _retval) {
257
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 45, getAddress(), _retval);
258
 
        }
259
 
 
260
 
        public int GetIsExecutingOnLoadHandler(int[] aIsExecutingOnLoadHandler) {
261
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 46, getAddress(), aIsExecutingOnLoadHandler);
262
 
        }
263
 
 
264
 
        public int GetLayoutHistoryState(int /*long*/[] aLayoutHistoryState) {
265
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 47, getAddress(), aLayoutHistoryState);
266
 
        }
267
 
 
268
 
        public int SetLayoutHistoryState(int /*long*/ aLayoutHistoryState) {
269
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 48, getAddress(), aLayoutHistoryState);
270
 
        }
271
 
 
272
 
        public int GetShouldSaveLayoutState(int[] aShouldSaveLayoutState) {
273
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 49, getAddress(), aShouldSaveLayoutState);
274
 
        }
275
 
 
276
 
        public int GetSecurityUI(int /*long*/[] aSecurityUI) {
277
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 50, getAddress(), aSecurityUI);
278
 
        }
279
 
 
280
 
        public int SetSecurityUI(int /*long*/ aSecurityUI) {
281
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 51, getAddress(), aSecurityUI);
282
 
        }
283
 
 
284
 
        public int SuspendRefreshURIs() {
285
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 52, getAddress());
286
 
        }
287
 
 
288
 
        public int ResumeRefreshURIs() {
289
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 53, getAddress());
290
 
        }
291
 
 
292
 
        public int BeginRestore(int /*long*/ viewer, int top) {
293
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 54, getAddress(), viewer, top);
294
 
        }
295
 
 
296
 
        public int FinishRestore() {
297
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 55, getAddress());
298
 
        }
299
 
 
300
 
        public int GetRestoringDocument(int[] aRestoringDocument) {
301
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 56, getAddress(), aRestoringDocument);
302
 
        }
303
 
 
304
 
        public int GetUseErrorPages(int[] aUseErrorPages) {
305
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 57, getAddress(), aUseErrorPages);
306
 
        }
307
 
 
308
 
        public int SetUseErrorPages(int aUseErrorPages) {
309
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 58, getAddress(), aUseErrorPages);
310
 
        }
311
 
 
312
 
        public int GetPreviousTransIndex(int[] aPreviousTransIndex) {
313
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 59, getAddress(), aPreviousTransIndex);
314
 
        }
315
 
 
316
 
        public int GetLoadedTransIndex(int[] aLoadedTransIndex) {
317
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 60, getAddress(), aLoadedTransIndex);
318
 
        }
319
 
 
320
 
        public int HistoryPurged(int numEntries) {
321
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 61, getAddress(), numEntries);
322
 
        }
323
 
 
324
 
        public int GetSessionStorageForURI(int /*long*/ uri, int /*long*/[] _retval) {
325
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 62, getAddress(), uri, _retval);
326
 
        }
327
 
 
328
 
        public int AddSessionStorage(int /*long*/ aDomain, int /*long*/ storage) {
329
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 63, getAddress(), aDomain, storage);
330
 
        }
331
 
 
332
 
        public int GetCurrentDocumentChannel(int /*long*/[] aCurrentDocumentChannel) {
333
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 64, getAddress(), aCurrentDocumentChannel);
334
 
        }
335
 
 
336
 
        public int SetChildOffset(int offset) {
337
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 65, getAddress(), offset);
338
 
        }
339
 
 
340
 
        public int GetIsInUnload(int[] aIsInUnload) {
341
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 66, getAddress(), aIsInUnload);
342
 
        }
343
 
 
344
 
        public int GetChannelIsUnsafe(int[] aChannelIsUnsafe) {
345
 
                return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 67, getAddress(), aChannelIsUnsafe);
346
 
        }
347
 
}
 
 
b'\\ No newline at end of file'