dev.stuconnolly.com / svn / safaritabs

  1. /*
  2.  *  $Id: SearchableWebView.h 224 2011-08-13 20:39:45Z stuart $
  3.  *
  4.  *  SafariTabs
  5.  *  http://stuconnolly.com/projects/safaritabs/
  6.  *
  7.  *  Copyright (c) 2010 Stuart Connolly. All rights reserved.
  8.  *
  9.  *  This program is free software: you can redistribute it and/or modify
  10.  *  it under the terms of the GNU General Public License as published by
  11.  *  the Free Software Foundation, either version 3 of the License, or
  12.  *  (at your option) any later version.
  13.  *
  14.  *  This program is distributed in the hope that it will be useful,
  15.  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  16.  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17.  *  GNU General Public License for more details.
  18.  *
  19.  *  You should have received a copy of the GNU General Public License
  20.  *  along with this program. If not, see <http://www.gnu.org/licenses/>.
  21.  */
  22.  
  23. #import "WebViewPlus.h"
  24.  
  25. @class FindBanner;
  26.  
  27. @interface SearchableWebView : WebViewPlus
  28. {
  29.     FindBanner *_findInPageBanner;
  30. }
  31.  
  32. - (void)awakeFromNib;
  33. - (BOOL)canFindNext;
  34. - (BOOL)canFindPrevious;
  35. - (BOOL)canFocusSearchField;
  36. - (BOOL)canHideFindInPageBanner;
  37. - (BOOL)canShowFindInPageBanner;
  38. - (void)close;
  39. - (BOOL)currentPageIsSearchable;
  40. - (void)dealloc;
  41. - (BOOL)findBanner:(id)arg1 doSearchFieldCommandBySelector:(SEL)arg2;
  42. - (id)findInPageBanner;
  43. - (void)findInPageBannerNeedsUpdateInRect:(struct _NSRect)arg1;
  44. - (void)findNext;
  45. - (void)findPrevious;
  46. - (void)focusSearchField;
  47. - (void)hideFindInPageBannerAllowingAnimation:(BOOL)arg1;
  48. - (id)initWithFrame:(struct _NSRect)arg1 frameName:(id)arg2 groupName:(id)arg3;
  49. - (BOOL)isShowingFindInPageBanner;
  50. - (NSUInteger)matchCountForString:(id)arg1 limit:(NSUInteger)arg2;
  51. - (void)showFindInPageBannerAllowingAnimation:(BOOL)arg1;
  52. - (void)viewDidMoveToWindow;
  53. - (void)webView:(id)arg1 didDrawRect:(struct _NSRect)arg2;
  54. - (void)webView:(id)arg1 didScrollDocumentInFrameView:(id)arg2;
  55.  
  56. @end
  57.