nsIWebBrowserFind.h 17 KB

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