fuelIApplication.idl
Go to the documentation of this file.
1 /* ***** BEGIN LICENSE BLOCK *****
2  * Version: MPL 1.1/GPL 2.0/LGPL 2.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 FUEL.
15  *
16  * The Initial Developer of the Original Code is Mozilla Corporation.
17  * Portions created by the Initial Developer are Copyright (C) 2006
18  * the Initial Developer. All Rights Reserved.
19  *
20  * Contributor(s):
21  * Mark Finkle <mfinkle@mozilla.com> (Original Author)
22  * John Resig <jresig@mozilla.com> (Original Author)
23  *
24  * Alternatively, the contents of this file may be used under the terms of
25  * either the GNU General Public License Version 2 or later (the "GPL"), or
26  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27  * in which case the provisions of the GPL or the LGPL are applicable instead
28  * of those above. If you wish to allow use of your version of this file only
29  * under the terms of either the GPL or the LGPL, and not to allow others to
30  * use your version of this file under the terms of the MPL, indicate your
31  * decision by deleting the provisions above and replace them with the notice
32  * and other provisions required by the GPL or the LGPL. If you do not delete
33  * the provisions above, a recipient may use your version of this file under
34  * the terms of any one of the MPL, the GPL or the LGPL.
35  *
36  * ***** END LICENSE BLOCK ***** */
37 
38 #include "nsISupports.idl"
39 #include "extIApplication.idl"
40 
41 interface nsIVariant;
42 interface nsIURI;
43 interface nsIDOMHTMLDocument;
44 
45 interface fuelIBookmarkFolder;
46 interface fuelIBrowserTab;
47 
52 [scriptable, uuid(335c9292-91a1-4ca0-ad0b-07d5f63ed6cd)]
54 {
58  readonly attribute nsIVariant names;
59 
67  boolean has(in AString aName);
68 
76  nsIVariant get(in AString aName);
77 
89  void set(in AString aName, in nsIVariant aValue, in PRInt32 aExpiration);
90 
96  void remove(in AString aName);
97 };
98 
99 
103 [scriptable, uuid(808585b6-7568-4b26-8c62-545221bf2b8c)]
105 {
109  readonly attribute long long id;
110 
114  attribute AString title;
115 
119  attribute nsIURI uri;
120 
124  attribute AString description;
125 
129  attribute AString keyword;
130 
135  readonly attribute AString type;
136 
141 
145  readonly attribute fuelIAnnotations annotations;
146 
151  readonly attribute extIEvents events;
152 
157  void remove();
158 };
159 
160 
165 [scriptable, uuid(9f42fe20-52de-4a55-8632-a459c7716aa0)]
167 {
171  readonly attribute long long id;
172 
176  attribute AString title;
177 
181  attribute AString description;
182 
187  readonly attribute AString type;
188 
193 
197  readonly attribute fuelIAnnotations annotations;
198 
203  readonly attribute extIEvents events;
204 
209  readonly attribute nsIVariant children;
210 
218  fuelIBookmark addBookmark(in AString aTitle, in nsIURI aURI);
219 
224 
230  fuelIBookmarkFolder addFolder(in AString aTitle);
231 
235  void remove();
236 };
237 
242 [scriptable, uuid(c9a80870-eb3c-11dc-95ff-0800200c9a66)]
244 {
248  readonly attribute fuelIBookmarkFolder menu;
249 
253  readonly attribute fuelIBookmarkFolder toolbar;
254 
258  readonly attribute fuelIBookmarkFolder tags;
259 
263  readonly attribute fuelIBookmarkFolder unfiled;
264 };
265 
269 [scriptable, uuid(207edb28-eb5e-424e-a862-b0e97C8de866)]
271 {
275  readonly attribute nsIVariant tabs;
276 
280  readonly attribute fuelIBrowserTab activeTab;
281 
287  fuelIBrowserTab open(in nsIURI aURI);
288 
293  readonly attribute extIEvents events;
294 };
295 
299 [scriptable, uuid(3073ceff-777c-41ce-9ace-ab37268147c1)]
301 {
305  readonly attribute nsIURI uri;
306 
310  readonly attribute PRInt32 index;
311 
315  readonly attribute fuelIWindow window;
316 
320  readonly attribute nsIDOMHTMLDocument document;
321 
326  readonly attribute extIEvents events;
327 
333  void load(in nsIURI aURI);
334 
338  void focus();
339 
344  void close();
345 
351  void moveBefore(in fuelIBrowserTab aBefore);
352 
356  void moveToEnd();
357 };
358 
362 [scriptable, uuid(fe74cf80-aa2d-11db-abbd-0800200c9a66)]
364 {
369  readonly attribute fuelIBookmarkRoots bookmarks;
370 
374  readonly attribute nsIVariant windows;
375 
379  readonly attribute fuelIWindow activeWindow;
380 };
attribute AString keyword
readonly attribute fuelIBrowserTab activeTab
fuelIBookmark addSeparator()
onPageChanged aValue
Definition: FeedWriter.js:1395
attribute AString description
readonly attribute long long id
readonly attribute nsIVariant windows
readonly attribute nsIVariant children
readonly attribute fuelIBookmarkRoots bookmarks
readonly attribute fuelIAnnotations annotations
readonly attribute AString type
readonly attribute long long id
readonly attribute fuelIWindow activeWindow
readonly attribute fuelIBookmarkFolder tags
fuelIBookmark addBookmark(in AString aTitle, in nsIURI aURI)
var uuid
readonly attribute extIEvents events
readonly attribute fuelIBookmarkFolder unfiled
readonly attribute extIEvents events
attribute AString title
attribute nsIURI uri
attribute fuelIBookmarkFolder parent
readonly attribute nsIDOMHTMLDocument document
readonly attribute fuelIBookmarkFolder toolbar
readonly attribute fuelIAnnotations annotations
attribute fuelIBookmarkFolder parent
readonly attribute AString type
readonly attribute fuelIBookmarkFolder menu
void moveBefore(in fuelIBrowserTab aBefore)
void load(in nsIURI aURI)
readonly attribute PRInt32 index
readonly attribute extIEvents events
attribute AString title
_updateCookies aName
readonly attribute nsIVariant tabs
readonly attribute nsIURI uri
readonly attribute nsIVariant names
fuelIBrowserTab open(in nsIURI aURI)
boolean has(in AString aName)
void set(in AString aName, in nsIVariant aValue, in PRInt32 aExpiration)
readonly attribute fuelIWindow window
attribute AString description
readonly attribute extIEvents events
fuelIBookmarkFolder addFolder(in AString aTitle)