Bug 514991 - Remove unused childViewHasPlugin method. r=josh

--HG--
extra : rebase_source : 1ea5cae0c5fde6feefc69738f9731a09775939a2
This commit is contained in:
Markus Stange 2009-09-08 09:48:54 +12:00
parent ad388c7623
commit 8d20e351bb

View File

@ -180,8 +180,6 @@ PRUint32 nsChildView::sLastInputEventCount = 0;
- (void)setPluginEventModel:(NPEventModel)eventModel;
- (NPEventModel)pluginEventModel;
- (BOOL)childViewHasPlugin;
- (BOOL)isRectObscuredBySubview:(NSRect)inRect;
- (void)processPendingRedraws;
@ -2376,22 +2374,6 @@ NSEvent* gLastDragEvent = nil;
return mPluginEventModel;
}
- (BOOL)childViewHasPlugin
{
NS_OBJC_BEGIN_TRY_ABORT_BLOCK_RETURN;
NSArray* subviews = [self subviews];
for (unsigned int i = 0; i < [subviews count]; i ++) {
id subview = [subviews objectAtIndex:i];
if ([subview respondsToSelector:@selector(isPluginView)] && [subview isPluginView])
return YES;
}
return NO;
NS_OBJC_END_TRY_ABORT_BLOCK_RETURN(NO);
}
- (void)sendFocusEvent:(PRUint32)eventType
{
if (!mGeckoChild)