1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/embedding/browser/webBrowser/nsIWebBrowserChromeFocus.idl
3 : */
4 :
5 : #ifndef __gen_nsIWebBrowserChromeFocus_h__
6 : #define __gen_nsIWebBrowserChromeFocus_h__
7 :
8 :
9 : #ifndef __gen_nsISupports_h__
10 : #include "nsISupports.h"
11 : #endif
12 :
13 : /* For IDL files that don't want to include root IDL files. */
14 : #ifndef NS_NO_VTABLE
15 : #define NS_NO_VTABLE
16 : #endif
17 :
18 : /* starting interface: nsIWebBrowserChromeFocus */
19 : #define NS_IWEBBROWSERCHROMEFOCUS_IID_STR "d2206418-1dd1-11b2-8e55-acddcd2bcfb8"
20 :
21 : #define NS_IWEBBROWSERCHROMEFOCUS_IID \
22 : {0xd2206418, 0x1dd1, 0x11b2, \
23 : { 0x8e, 0x55, 0xac, 0xdd, 0xcd, 0x2b, 0xcf, 0xb8 }}
24 :
25 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIWebBrowserChromeFocus : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IWEBBROWSERCHROMEFOCUS_IID)
29 :
30 : /* void focusNextElement (); */
31 : NS_SCRIPTABLE NS_IMETHOD FocusNextElement(void) = 0;
32 :
33 : /* void focusPrevElement (); */
34 : NS_SCRIPTABLE NS_IMETHOD FocusPrevElement(void) = 0;
35 :
36 : };
37 :
38 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIWebBrowserChromeFocus, NS_IWEBBROWSERCHROMEFOCUS_IID)
39 :
40 : /* Use this macro when declaring classes that implement this interface. */
41 : #define NS_DECL_NSIWEBBROWSERCHROMEFOCUS \
42 : NS_SCRIPTABLE NS_IMETHOD FocusNextElement(void); \
43 : NS_SCRIPTABLE NS_IMETHOD FocusPrevElement(void);
44 :
45 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
46 : #define NS_FORWARD_NSIWEBBROWSERCHROMEFOCUS(_to) \
47 : NS_SCRIPTABLE NS_IMETHOD FocusNextElement(void) { return _to FocusNextElement(); } \
48 : NS_SCRIPTABLE NS_IMETHOD FocusPrevElement(void) { return _to FocusPrevElement(); }
49 :
50 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
51 : #define NS_FORWARD_SAFE_NSIWEBBROWSERCHROMEFOCUS(_to) \
52 : NS_SCRIPTABLE NS_IMETHOD FocusNextElement(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->FocusNextElement(); } \
53 : NS_SCRIPTABLE NS_IMETHOD FocusPrevElement(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->FocusPrevElement(); }
54 :
55 : #if 0
56 : /* Use the code below as a template for the implementation class for this interface. */
57 :
58 : /* Header file */
59 : class nsWebBrowserChromeFocus : public nsIWebBrowserChromeFocus
60 : {
61 : public:
62 : NS_DECL_ISUPPORTS
63 : NS_DECL_NSIWEBBROWSERCHROMEFOCUS
64 :
65 : nsWebBrowserChromeFocus();
66 :
67 : private:
68 : ~nsWebBrowserChromeFocus();
69 :
70 : protected:
71 : /* additional members */
72 : };
73 :
74 : /* Implementation file */
75 : NS_IMPL_ISUPPORTS1(nsWebBrowserChromeFocus, nsIWebBrowserChromeFocus)
76 :
77 : nsWebBrowserChromeFocus::nsWebBrowserChromeFocus()
78 : {
79 : /* member initializers and constructor code */
80 : }
81 :
82 : nsWebBrowserChromeFocus::~nsWebBrowserChromeFocus()
83 : {
84 : /* destructor code */
85 : }
86 :
87 : /* void focusNextElement (); */
88 : NS_IMETHODIMP nsWebBrowserChromeFocus::FocusNextElement()
89 : {
90 : return NS_ERROR_NOT_IMPLEMENTED;
91 : }
92 :
93 : /* void focusPrevElement (); */
94 : NS_IMETHODIMP nsWebBrowserChromeFocus::FocusPrevElement()
95 : {
96 : return NS_ERROR_NOT_IMPLEMENTED;
97 : }
98 :
99 : /* End of implementation class template. */
100 : #endif
101 :
102 :
103 : #endif /* __gen_nsIWebBrowserChromeFocus_h__ */
|