/*
* $Id: SearchableWebView.h 224 2011-08-13 20:39:45Z stuart $
*
* SafariTabs
* http://stuconnolly.com/projects/safaritabs/
*
* Copyright (c) 2010 Stuart Connolly. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#import "WebViewPlus.h"
@class FindBanner;
@interface SearchableWebView : WebViewPlus
{
FindBanner *_findInPageBanner;
}
- (void)awakeFromNib;
- (BOOL)canFindNext;
- (BOOL)canFindPrevious;
- (BOOL)canFocusSearchField;
- (BOOL)canHideFindInPageBanner;
- (BOOL)canShowFindInPageBanner;
- (void)close;
- (BOOL)currentPageIsSearchable;
- (void)dealloc;
- (BOOL)findBanner:(id)arg1 doSearchFieldCommandBySelector:(SEL)arg2;
- (id)findInPageBanner;
- (void)findInPageBannerNeedsUpdateInRect:(struct _NSRect)arg1;
- (void)findNext;
- (void)findPrevious;
- (void)focusSearchField;
- (void)hideFindInPageBannerAllowingAnimation:(BOOL)arg1;
- (id)initWithFrame:(struct _NSRect)arg1 frameName:(id)arg2 groupName:(id)arg3;
- (BOOL)isShowingFindInPageBanner;
- (NSUInteger)matchCountForString:(id)arg1 limit:(NSUInteger)arg2;
- (void)showFindInPageBannerAllowingAnimation:(BOOL)arg1;
- (void)viewDidMoveToWindow;
- (void)webView:(id)arg1 didDrawRect:(struct _NSRect)arg2;
- (void)webView:(id)arg1 didScrollDocumentInFrameView:(id)arg2;
@end