mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 514991 - Remove unused childViewHasPlugin method. r=josh
--HG-- extra : rebase_source : 1ea5cae0c5fde6feefc69738f9731a09775939a2
This commit is contained in:
parent
ad388c7623
commit
8d20e351bb
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user