OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * DO NOT EDIT. THIS FILE IS GENERATED FROM c:/builds/tinderbox/XR-Mozilla1.8.0
-Release/WINNT_5.2_Depend/mozilla/embedding/components/find/public/nsIWebBrowser
Find.idl |
| 3 */ |
| 4 |
| 5 #ifndef __gen_nsIWebBrowserFind_h__ |
| 6 #define __gen_nsIWebBrowserFind_h__ |
| 7 |
| 8 |
| 9 #ifndef __gen_nsISupports_h__ |
| 10 #include "nsISupports.h" |
| 11 #endif |
| 12 |
| 13 #ifndef __gen_domstubs_h__ |
| 14 #include "domstubs.h" |
| 15 #endif |
| 16 |
| 17 /* For IDL files that don't want to include root IDL files. */ |
| 18 #ifndef NS_NO_VTABLE |
| 19 #define NS_NO_VTABLE |
| 20 #endif |
| 21 |
| 22 /* starting interface: nsIWebBrowserFind */ |
| 23 #define NS_IWEBBROWSERFIND_IID_STR "2f977d44-5485-11d4-87e2-0010a4e75ef2" |
| 24 |
| 25 #define NS_IWEBBROWSERFIND_IID \ |
| 26 {0x2f977d44, 0x5485, 0x11d4, \ |
| 27 { 0x87, 0xe2, 0x00, 0x10, 0xa4, 0xe7, 0x5e, 0xf2 }} |
| 28 |
| 29 /** |
| 30 * nsIWebBrowserFind |
| 31 * |
| 32 * Searches for text in a web browser. |
| 33 * |
| 34 * Get one by doing a GetInterface on an nsIWebBrowser. |
| 35 * |
| 36 * By default, the implementation will search the focussed frame, or |
| 37 * if there is no focussed frame, the web browser content area. It |
| 38 * does not by default search subframes or iframes. To change this |
| 39 * behaviour, and to explicitly set the frame to search, |
| 40 * QueryInterface to nsIWebBrowserFindInFrames. |
| 41 * |
| 42 * @status FROZEN |
| 43 */ |
| 44 class NS_NO_VTABLE nsIWebBrowserFind : public nsISupports { |
| 45 public: |
| 46 |
| 47 NS_DEFINE_STATIC_IID_ACCESSOR(NS_IWEBBROWSERFIND_IID) |
| 48 |
| 49 /** |
| 50 * findNext |
| 51 * |
| 52 * Finds, highlights, and scrolls into view the next occurrence of the |
| 53 * search string, using the current search settings. Fails if the |
| 54 * search string is empty. |
| 55 * |
| 56 * @return Whether an occurrence was found |
| 57 */ |
| 58 /* boolean findNext (); */ |
| 59 NS_IMETHOD FindNext(PRBool *_retval) = 0; |
| 60 |
| 61 /** |
| 62 * searchString |
| 63 * |
| 64 * The string to search for. This must be non-empty to search. |
| 65 */ |
| 66 /* attribute wstring searchString; */ |
| 67 NS_IMETHOD GetSearchString(PRUnichar * *aSearchString) = 0; |
| 68 NS_IMETHOD SetSearchString(const PRUnichar * aSearchString) = 0; |
| 69 |
| 70 /** |
| 71 * findBackwards |
| 72 * |
| 73 * Whether to find backwards (towards the beginning of the document). |
| 74 * Default is false (search forward). |
| 75 */ |
| 76 /* attribute boolean findBackwards; */ |
| 77 NS_IMETHOD GetFindBackwards(PRBool *aFindBackwards) = 0; |
| 78 NS_IMETHOD SetFindBackwards(PRBool aFindBackwards) = 0; |
| 79 |
| 80 /** |
| 81 * wrapFind |
| 82 * |
| 83 * Whether the search wraps around to the start (or end) of the document |
| 84 * if no match was found between the current position and the end (or |
| 85 * beginning). Works correctly when searching backwards. Default is |
| 86 * false. |
| 87 */ |
| 88 /* attribute boolean wrapFind; */ |
| 89 NS_IMETHOD GetWrapFind(PRBool *aWrapFind) = 0; |
| 90 NS_IMETHOD SetWrapFind(PRBool aWrapFind) = 0; |
| 91 |
| 92 /** |
| 93 * entireWord |
| 94 * |
| 95 * Whether to match entire words only. Default is false. |
| 96 */ |
| 97 /* attribute boolean entireWord; */ |
| 98 NS_IMETHOD GetEntireWord(PRBool *aEntireWord) = 0; |
| 99 NS_IMETHOD SetEntireWord(PRBool aEntireWord) = 0; |
| 100 |
| 101 /** |
| 102 * matchCase |
| 103 * |
| 104 * Whether to match case (case sensitive) when searching. Default is false. |
| 105 */ |
| 106 /* attribute boolean matchCase; */ |
| 107 NS_IMETHOD GetMatchCase(PRBool *aMatchCase) = 0; |
| 108 NS_IMETHOD SetMatchCase(PRBool aMatchCase) = 0; |
| 109 |
| 110 /** |
| 111 * searchFrames |
| 112 * |
| 113 * Whether to search through all frames in the content area. Default is true
. |
| 114 * |
| 115 * Note that you can control whether the search propagates into child or |
| 116 * parent frames explicitly using nsIWebBrowserFindInFrames, but if one, |
| 117 * but not both, of searchSubframes and searchParentFrames are set, this |
| 118 * returns false. |
| 119 */ |
| 120 /* attribute boolean searchFrames; */ |
| 121 NS_IMETHOD GetSearchFrames(PRBool *aSearchFrames) = 0; |
| 122 NS_IMETHOD SetSearchFrames(PRBool aSearchFrames) = 0; |
| 123 |
| 124 }; |
| 125 |
| 126 /* Use this macro when declaring classes that implement this interface. */ |
| 127 #define NS_DECL_NSIWEBBROWSERFIND \ |
| 128 NS_IMETHOD FindNext(PRBool *_retval); \ |
| 129 NS_IMETHOD GetSearchString(PRUnichar * *aSearchString); \ |
| 130 NS_IMETHOD SetSearchString(const PRUnichar * aSearchString); \ |
| 131 NS_IMETHOD GetFindBackwards(PRBool *aFindBackwards); \ |
| 132 NS_IMETHOD SetFindBackwards(PRBool aFindBackwards); \ |
| 133 NS_IMETHOD GetWrapFind(PRBool *aWrapFind); \ |
| 134 NS_IMETHOD SetWrapFind(PRBool aWrapFind); \ |
| 135 NS_IMETHOD GetEntireWord(PRBool *aEntireWord); \ |
| 136 NS_IMETHOD SetEntireWord(PRBool aEntireWord); \ |
| 137 NS_IMETHOD GetMatchCase(PRBool *aMatchCase); \ |
| 138 NS_IMETHOD SetMatchCase(PRBool aMatchCase); \ |
| 139 NS_IMETHOD GetSearchFrames(PRBool *aSearchFrames); \ |
| 140 NS_IMETHOD SetSearchFrames(PRBool aSearchFrames); |
| 141 |
| 142 /* Use this macro to declare functions that forward the behavior of this interfa
ce to another object. */ |
| 143 #define NS_FORWARD_NSIWEBBROWSERFIND(_to) \ |
| 144 NS_IMETHOD FindNext(PRBool *_retval) { return _to FindNext(_retval); } \ |
| 145 NS_IMETHOD GetSearchString(PRUnichar * *aSearchString) { return _to GetSearchS
tring(aSearchString); } \ |
| 146 NS_IMETHOD SetSearchString(const PRUnichar * aSearchString) { return _to SetSe
archString(aSearchString); } \ |
| 147 NS_IMETHOD GetFindBackwards(PRBool *aFindBackwards) { return _to GetFindBackwa
rds(aFindBackwards); } \ |
| 148 NS_IMETHOD SetFindBackwards(PRBool aFindBackwards) { return _to SetFindBackwar
ds(aFindBackwards); } \ |
| 149 NS_IMETHOD GetWrapFind(PRBool *aWrapFind) { return _to GetWrapFind(aWrapFind);
} \ |
| 150 NS_IMETHOD SetWrapFind(PRBool aWrapFind) { return _to SetWrapFind(aWrapFind);
} \ |
| 151 NS_IMETHOD GetEntireWord(PRBool *aEntireWord) { return _to GetEntireWord(aEnti
reWord); } \ |
| 152 NS_IMETHOD SetEntireWord(PRBool aEntireWord) { return _to SetEntireWord(aEntir
eWord); } \ |
| 153 NS_IMETHOD GetMatchCase(PRBool *aMatchCase) { return _to GetMatchCase(aMatchCa
se); } \ |
| 154 NS_IMETHOD SetMatchCase(PRBool aMatchCase) { return _to SetMatchCase(aMatchCas
e); } \ |
| 155 NS_IMETHOD GetSearchFrames(PRBool *aSearchFrames) { return _to GetSearchFrames
(aSearchFrames); } \ |
| 156 NS_IMETHOD SetSearchFrames(PRBool aSearchFrames) { return _to SetSearchFrames(
aSearchFrames); } |
| 157 |
| 158 /* Use this macro to declare functions that forward the behavior of this interfa
ce to another object in a safe way. */ |
| 159 #define NS_FORWARD_SAFE_NSIWEBBROWSERFIND(_to) \ |
| 160 NS_IMETHOD FindNext(PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _
to->FindNext(_retval); } \ |
| 161 NS_IMETHOD GetSearchString(PRUnichar * *aSearchString) { return !_to ? NS_ERRO
R_NULL_POINTER : _to->GetSearchString(aSearchString); } \ |
| 162 NS_IMETHOD SetSearchString(const PRUnichar * aSearchString) { return !_to ? NS
_ERROR_NULL_POINTER : _to->SetSearchString(aSearchString); } \ |
| 163 NS_IMETHOD GetFindBackwards(PRBool *aFindBackwards) { return !_to ? NS_ERROR_N
ULL_POINTER : _to->GetFindBackwards(aFindBackwards); } \ |
| 164 NS_IMETHOD SetFindBackwards(PRBool aFindBackwards) { return !_to ? NS_ERROR_NU
LL_POINTER : _to->SetFindBackwards(aFindBackwards); } \ |
| 165 NS_IMETHOD GetWrapFind(PRBool *aWrapFind) { return !_to ? NS_ERROR_NULL_POINTE
R : _to->GetWrapFind(aWrapFind); } \ |
| 166 NS_IMETHOD SetWrapFind(PRBool aWrapFind) { return !_to ? NS_ERROR_NULL_POINTER
: _to->SetWrapFind(aWrapFind); } \ |
| 167 NS_IMETHOD GetEntireWord(PRBool *aEntireWord) { return !_to ? NS_ERROR_NULL_PO
INTER : _to->GetEntireWord(aEntireWord); } \ |
| 168 NS_IMETHOD SetEntireWord(PRBool aEntireWord) { return !_to ? NS_ERROR_NULL_POI
NTER : _to->SetEntireWord(aEntireWord); } \ |
| 169 NS_IMETHOD GetMatchCase(PRBool *aMatchCase) { return !_to ? NS_ERROR_NULL_POIN
TER : _to->GetMatchCase(aMatchCase); } \ |
| 170 NS_IMETHOD SetMatchCase(PRBool aMatchCase) { return !_to ? NS_ERROR_NULL_POINT
ER : _to->SetMatchCase(aMatchCase); } \ |
| 171 NS_IMETHOD GetSearchFrames(PRBool *aSearchFrames) { return !_to ? NS_ERROR_NUL
L_POINTER : _to->GetSearchFrames(aSearchFrames); } \ |
| 172 NS_IMETHOD SetSearchFrames(PRBool aSearchFrames) { return !_to ? NS_ERROR_NULL
_POINTER : _to->SetSearchFrames(aSearchFrames); } |
| 173 |
| 174 #if 0 |
| 175 /* Use the code below as a template for the implementation class for this interf
ace. */ |
| 176 |
| 177 /* Header file */ |
| 178 class nsWebBrowserFind : public nsIWebBrowserFind |
| 179 { |
| 180 public: |
| 181 NS_DECL_ISUPPORTS |
| 182 NS_DECL_NSIWEBBROWSERFIND |
| 183 |
| 184 nsWebBrowserFind(); |
| 185 |
| 186 private: |
| 187 ~nsWebBrowserFind(); |
| 188 |
| 189 protected: |
| 190 /* additional members */ |
| 191 }; |
| 192 |
| 193 /* Implementation file */ |
| 194 NS_IMPL_ISUPPORTS1(nsWebBrowserFind, nsIWebBrowserFind) |
| 195 |
| 196 nsWebBrowserFind::nsWebBrowserFind() |
| 197 { |
| 198 /* member initializers and constructor code */ |
| 199 } |
| 200 |
| 201 nsWebBrowserFind::~nsWebBrowserFind() |
| 202 { |
| 203 /* destructor code */ |
| 204 } |
| 205 |
| 206 /* boolean findNext (); */ |
| 207 NS_IMETHODIMP nsWebBrowserFind::FindNext(PRBool *_retval) |
| 208 { |
| 209 return NS_ERROR_NOT_IMPLEMENTED; |
| 210 } |
| 211 |
| 212 /* attribute wstring searchString; */ |
| 213 NS_IMETHODIMP nsWebBrowserFind::GetSearchString(PRUnichar * *aSearchString) |
| 214 { |
| 215 return NS_ERROR_NOT_IMPLEMENTED; |
| 216 } |
| 217 NS_IMETHODIMP nsWebBrowserFind::SetSearchString(const PRUnichar * aSearchString) |
| 218 { |
| 219 return NS_ERROR_NOT_IMPLEMENTED; |
| 220 } |
| 221 |
| 222 /* attribute boolean findBackwards; */ |
| 223 NS_IMETHODIMP nsWebBrowserFind::GetFindBackwards(PRBool *aFindBackwards) |
| 224 { |
| 225 return NS_ERROR_NOT_IMPLEMENTED; |
| 226 } |
| 227 NS_IMETHODIMP nsWebBrowserFind::SetFindBackwards(PRBool aFindBackwards) |
| 228 { |
| 229 return NS_ERROR_NOT_IMPLEMENTED; |
| 230 } |
| 231 |
| 232 /* attribute boolean wrapFind; */ |
| 233 NS_IMETHODIMP nsWebBrowserFind::GetWrapFind(PRBool *aWrapFind) |
| 234 { |
| 235 return NS_ERROR_NOT_IMPLEMENTED; |
| 236 } |
| 237 NS_IMETHODIMP nsWebBrowserFind::SetWrapFind(PRBool aWrapFind) |
| 238 { |
| 239 return NS_ERROR_NOT_IMPLEMENTED; |
| 240 } |
| 241 |
| 242 /* attribute boolean entireWord; */ |
| 243 NS_IMETHODIMP nsWebBrowserFind::GetEntireWord(PRBool *aEntireWord) |
| 244 { |
| 245 return NS_ERROR_NOT_IMPLEMENTED; |
| 246 } |
| 247 NS_IMETHODIMP nsWebBrowserFind::SetEntireWord(PRBool aEntireWord) |
| 248 { |
| 249 return NS_ERROR_NOT_IMPLEMENTED; |
| 250 } |
| 251 |
| 252 /* attribute boolean matchCase; */ |
| 253 NS_IMETHODIMP nsWebBrowserFind::GetMatchCase(PRBool *aMatchCase) |
| 254 { |
| 255 return NS_ERROR_NOT_IMPLEMENTED; |
| 256 } |
| 257 NS_IMETHODIMP nsWebBrowserFind::SetMatchCase(PRBool aMatchCase) |
| 258 { |
| 259 return NS_ERROR_NOT_IMPLEMENTED; |
| 260 } |
| 261 |
| 262 /* attribute boolean searchFrames; */ |
| 263 NS_IMETHODIMP nsWebBrowserFind::GetSearchFrames(PRBool *aSearchFrames) |
| 264 { |
| 265 return NS_ERROR_NOT_IMPLEMENTED; |
| 266 } |
| 267 NS_IMETHODIMP nsWebBrowserFind::SetSearchFrames(PRBool aSearchFrames) |
| 268 { |
| 269 return NS_ERROR_NOT_IMPLEMENTED; |
| 270 } |
| 271 |
| 272 /* End of implementation class template. */ |
| 273 #endif |
| 274 |
| 275 |
| 276 /* starting interface: nsIWebBrowserFindInFrames */ |
| 277 #define NS_IWEBBROWSERFINDINFRAMES_IID_STR "e0f5d182-34bc-11d5-be5b-b760676c6ebc
" |
| 278 |
| 279 #define NS_IWEBBROWSERFINDINFRAMES_IID \ |
| 280 {0xe0f5d182, 0x34bc, 0x11d5, \ |
| 281 { 0xbe, 0x5b, 0xb7, 0x60, 0x67, 0x6c, 0x6e, 0xbc }} |
| 282 |
| 283 /** |
| 284 * nsIWebBrowserFindInFrames |
| 285 * |
| 286 * Controls how find behaves when multiple frames or iframes are present. |
| 287 * |
| 288 * Get by doing a QueryInterface from nsIWebBrowserFind. |
| 289 * |
| 290 * @status FROZEN |
| 291 */ |
| 292 class NS_NO_VTABLE nsIWebBrowserFindInFrames : public nsISupports { |
| 293 public: |
| 294 |
| 295 NS_DEFINE_STATIC_IID_ACCESSOR(NS_IWEBBROWSERFINDINFRAMES_IID) |
| 296 |
| 297 /** |
| 298 * currentSearchFrame |
| 299 * |
| 300 * Frame at which to start the search. Once the search is done, this will |
| 301 * be set to be the last frame searched, whether or not a result was found. |
| 302 * Has to be equal to or contained within the rootSearchFrame. |
| 303 */ |
| 304 /* attribute nsIDOMWindow currentSearchFrame; */ |
| 305 NS_IMETHOD GetCurrentSearchFrame(nsIDOMWindow * *aCurrentSearchFrame) = 0; |
| 306 NS_IMETHOD SetCurrentSearchFrame(nsIDOMWindow * aCurrentSearchFrame) = 0; |
| 307 |
| 308 /** |
| 309 * rootSearchFrame |
| 310 * |
| 311 * Frame within which to confine the search (normally the content area frame
). |
| 312 * Set this to only search a subtree of the frame hierarchy. |
| 313 */ |
| 314 /* attribute nsIDOMWindow rootSearchFrame; */ |
| 315 NS_IMETHOD GetRootSearchFrame(nsIDOMWindow * *aRootSearchFrame) = 0; |
| 316 NS_IMETHOD SetRootSearchFrame(nsIDOMWindow * aRootSearchFrame) = 0; |
| 317 |
| 318 /** |
| 319 * searchSubframes |
| 320 * |
| 321 * Whether to recurse down into subframes while searching. Default is true. |
| 322 * |
| 323 * Setting nsIWebBrowserfind.searchFrames to true sets this to true. |
| 324 */ |
| 325 /* attribute boolean searchSubframes; */ |
| 326 NS_IMETHOD GetSearchSubframes(PRBool *aSearchSubframes) = 0; |
| 327 NS_IMETHOD SetSearchSubframes(PRBool aSearchSubframes) = 0; |
| 328 |
| 329 /** |
| 330 * searchParentFrames |
| 331 * |
| 332 * Whether to allow the search to propagate out of the currentSearchFrame in
to its |
| 333 * parent frame(s). Search is always confined within the rootSearchFrame. De
fault |
| 334 * is true. |
| 335 * |
| 336 * Setting nsIWebBrowserfind.searchFrames to true sets this to true. |
| 337 */ |
| 338 /* attribute boolean searchParentFrames; */ |
| 339 NS_IMETHOD GetSearchParentFrames(PRBool *aSearchParentFrames) = 0; |
| 340 NS_IMETHOD SetSearchParentFrames(PRBool aSearchParentFrames) = 0; |
| 341 |
| 342 }; |
| 343 |
| 344 /* Use this macro when declaring classes that implement this interface. */ |
| 345 #define NS_DECL_NSIWEBBROWSERFINDINFRAMES \ |
| 346 NS_IMETHOD GetCurrentSearchFrame(nsIDOMWindow * *aCurrentSearchFrame); \ |
| 347 NS_IMETHOD SetCurrentSearchFrame(nsIDOMWindow * aCurrentSearchFrame); \ |
| 348 NS_IMETHOD GetRootSearchFrame(nsIDOMWindow * *aRootSearchFrame); \ |
| 349 NS_IMETHOD SetRootSearchFrame(nsIDOMWindow * aRootSearchFrame); \ |
| 350 NS_IMETHOD GetSearchSubframes(PRBool *aSearchSubframes); \ |
| 351 NS_IMETHOD SetSearchSubframes(PRBool aSearchSubframes); \ |
| 352 NS_IMETHOD GetSearchParentFrames(PRBool *aSearchParentFrames); \ |
| 353 NS_IMETHOD SetSearchParentFrames(PRBool aSearchParentFrames); |
| 354 |
| 355 /* Use this macro to declare functions that forward the behavior of this interfa
ce to another object. */ |
| 356 #define NS_FORWARD_NSIWEBBROWSERFINDINFRAMES(_to) \ |
| 357 NS_IMETHOD GetCurrentSearchFrame(nsIDOMWindow * *aCurrentSearchFrame) { return
_to GetCurrentSearchFrame(aCurrentSearchFrame); } \ |
| 358 NS_IMETHOD SetCurrentSearchFrame(nsIDOMWindow * aCurrentSearchFrame) { return
_to SetCurrentSearchFrame(aCurrentSearchFrame); } \ |
| 359 NS_IMETHOD GetRootSearchFrame(nsIDOMWindow * *aRootSearchFrame) { return _to G
etRootSearchFrame(aRootSearchFrame); } \ |
| 360 NS_IMETHOD SetRootSearchFrame(nsIDOMWindow * aRootSearchFrame) { return _to Se
tRootSearchFrame(aRootSearchFrame); } \ |
| 361 NS_IMETHOD GetSearchSubframes(PRBool *aSearchSubframes) { return _to GetSearch
Subframes(aSearchSubframes); } \ |
| 362 NS_IMETHOD SetSearchSubframes(PRBool aSearchSubframes) { return _to SetSearchS
ubframes(aSearchSubframes); } \ |
| 363 NS_IMETHOD GetSearchParentFrames(PRBool *aSearchParentFrames) { return _to Get
SearchParentFrames(aSearchParentFrames); } \ |
| 364 NS_IMETHOD SetSearchParentFrames(PRBool aSearchParentFrames) { return _to SetS
earchParentFrames(aSearchParentFrames); } |
| 365 |
| 366 /* Use this macro to declare functions that forward the behavior of this interfa
ce to another object in a safe way. */ |
| 367 #define NS_FORWARD_SAFE_NSIWEBBROWSERFINDINFRAMES(_to) \ |
| 368 NS_IMETHOD GetCurrentSearchFrame(nsIDOMWindow * *aCurrentSearchFrame) { return
!_to ? NS_ERROR_NULL_POINTER : _to->GetCurrentSearchFrame(aCurrentSearchFrame);
} \ |
| 369 NS_IMETHOD SetCurrentSearchFrame(nsIDOMWindow * aCurrentSearchFrame) { return
!_to ? NS_ERROR_NULL_POINTER : _to->SetCurrentSearchFrame(aCurrentSearchFrame);
} \ |
| 370 NS_IMETHOD GetRootSearchFrame(nsIDOMWindow * *aRootSearchFrame) { return !_to
? NS_ERROR_NULL_POINTER : _to->GetRootSearchFrame(aRootSearchFrame); } \ |
| 371 NS_IMETHOD SetRootSearchFrame(nsIDOMWindow * aRootSearchFrame) { return !_to ?
NS_ERROR_NULL_POINTER : _to->SetRootSearchFrame(aRootSearchFrame); } \ |
| 372 NS_IMETHOD GetSearchSubframes(PRBool *aSearchSubframes) { return !_to ? NS_ERR
OR_NULL_POINTER : _to->GetSearchSubframes(aSearchSubframes); } \ |
| 373 NS_IMETHOD SetSearchSubframes(PRBool aSearchSubframes) { return !_to ? NS_ERRO
R_NULL_POINTER : _to->SetSearchSubframes(aSearchSubframes); } \ |
| 374 NS_IMETHOD GetSearchParentFrames(PRBool *aSearchParentFrames) { return !_to ?
NS_ERROR_NULL_POINTER : _to->GetSearchParentFrames(aSearchParentFrames); } \ |
| 375 NS_IMETHOD SetSearchParentFrames(PRBool aSearchParentFrames) { return !_to ? N
S_ERROR_NULL_POINTER : _to->SetSearchParentFrames(aSearchParentFrames); } |
| 376 |
| 377 #if 0 |
| 378 /* Use the code below as a template for the implementation class for this interf
ace. */ |
| 379 |
| 380 /* Header file */ |
| 381 class nsWebBrowserFindInFrames : public nsIWebBrowserFindInFrames |
| 382 { |
| 383 public: |
| 384 NS_DECL_ISUPPORTS |
| 385 NS_DECL_NSIWEBBROWSERFINDINFRAMES |
| 386 |
| 387 nsWebBrowserFindInFrames(); |
| 388 |
| 389 private: |
| 390 ~nsWebBrowserFindInFrames(); |
| 391 |
| 392 protected: |
| 393 /* additional members */ |
| 394 }; |
| 395 |
| 396 /* Implementation file */ |
| 397 NS_IMPL_ISUPPORTS1(nsWebBrowserFindInFrames, nsIWebBrowserFindInFrames) |
| 398 |
| 399 nsWebBrowserFindInFrames::nsWebBrowserFindInFrames() |
| 400 { |
| 401 /* member initializers and constructor code */ |
| 402 } |
| 403 |
| 404 nsWebBrowserFindInFrames::~nsWebBrowserFindInFrames() |
| 405 { |
| 406 /* destructor code */ |
| 407 } |
| 408 |
| 409 /* attribute nsIDOMWindow currentSearchFrame; */ |
| 410 NS_IMETHODIMP nsWebBrowserFindInFrames::GetCurrentSearchFrame(nsIDOMWindow * *aC
urrentSearchFrame) |
| 411 { |
| 412 return NS_ERROR_NOT_IMPLEMENTED; |
| 413 } |
| 414 NS_IMETHODIMP nsWebBrowserFindInFrames::SetCurrentSearchFrame(nsIDOMWindow * aCu
rrentSearchFrame) |
| 415 { |
| 416 return NS_ERROR_NOT_IMPLEMENTED; |
| 417 } |
| 418 |
| 419 /* attribute nsIDOMWindow rootSearchFrame; */ |
| 420 NS_IMETHODIMP nsWebBrowserFindInFrames::GetRootSearchFrame(nsIDOMWindow * *aRoot
SearchFrame) |
| 421 { |
| 422 return NS_ERROR_NOT_IMPLEMENTED; |
| 423 } |
| 424 NS_IMETHODIMP nsWebBrowserFindInFrames::SetRootSearchFrame(nsIDOMWindow * aRootS
earchFrame) |
| 425 { |
| 426 return NS_ERROR_NOT_IMPLEMENTED; |
| 427 } |
| 428 |
| 429 /* attribute boolean searchSubframes; */ |
| 430 NS_IMETHODIMP nsWebBrowserFindInFrames::GetSearchSubframes(PRBool *aSearchSubfra
mes) |
| 431 { |
| 432 return NS_ERROR_NOT_IMPLEMENTED; |
| 433 } |
| 434 NS_IMETHODIMP nsWebBrowserFindInFrames::SetSearchSubframes(PRBool aSearchSubfram
es) |
| 435 { |
| 436 return NS_ERROR_NOT_IMPLEMENTED; |
| 437 } |
| 438 |
| 439 /* attribute boolean searchParentFrames; */ |
| 440 NS_IMETHODIMP nsWebBrowserFindInFrames::GetSearchParentFrames(PRBool *aSearchPar
entFrames) |
| 441 { |
| 442 return NS_ERROR_NOT_IMPLEMENTED; |
| 443 } |
| 444 NS_IMETHODIMP nsWebBrowserFindInFrames::SetSearchParentFrames(PRBool aSearchPare
ntFrames) |
| 445 { |
| 446 return NS_ERROR_NOT_IMPLEMENTED; |
| 447 } |
| 448 |
| 449 /* End of implementation class template. */ |
| 450 #endif |
| 451 |
| 452 |
| 453 #endif /* __gen_nsIWebBrowserFind_h__ */ |
OLD | NEW |