Home | History | Annotate | Download | only in Hosted

Lines Matching full:self

63     WebCoreObjCFinalizeOnMainThread(self);
78 self = [super initWithFrame:frame pluginPackage:pluginPackage URL:URL baseURL:baseURL MIMEType:MIME attributeKeys:keys attributeValues:values loadManually:loadManually element:element];
79 if (!self)
82 return self;
88 _proxy->mouseEvent(self, event, NPCocoaEventMouseMoved);
104 NSString *userAgent = [[self webView] userAgentForURL:_baseURL.get()];
107 accleratedCompositingEnabled = [[[self webView] preferences] acceleratedCompositingEnabled];
110 _proxy = NetscapePluginHostManager::shared().instantiatePlugin(_pluginPackage.get(), self, _MIMEType.get(), _attributeKeys.get(), _attributeValues.get(), userAgent, _sourceURL.get(),
121 [self element]->setNeedsStyleRecalc(SyntheticStyleChange);
123 self.wantsLayer = YES;
127 _proxy->windowFrameChanged([[self window] frame]);
163 NSRect boundsInWindow = [self convertRect:[self bounds] toView:nil];
170 BOOL shouldClipOutPlugin = _pluginLayer && [self shouldClipOutPlugin];
172 visibleRectInWindow = [self convertRect:[self visibleRect] toView:nil];
177 float borderViewHeight = [[self currentWindow] frame].size.height;
238 if (_proxy && [self window])
239 _proxy->windowFrameChanged([[self window] frame]);
246 ASSERT([self window]);
248 NSWindow *window = [self window];
251 [notificationCenter addObserver:self selector:@selector(windowFrameDidChange:)
253 [notificationCenter addObserver:self selector:@selector(windowFrameDidChange:)
258 [self updateAndSetWindow];
266 [notificationCenter removeObserver:self name:NSWindowDidMoveNotification object:nil];
267 [notificationCenter removeObserver:self name:NSWindowDidResizeNotification object:nil];
273 _proxy->mouseEvent(self, event, NPCocoaEventMouseDown);
279 _proxy->mouseEvent(self, event, NPCocoaEventMouseUp);
285 _proxy->mouseEvent(self, event, NPCocoaEventMouseDragged);
291 _proxy->mouseEvent(self, event, NPCocoaEventMouseEntered);
297 _proxy->mouseEvent(self, event, NPCocoaEventMouseExited);
305 processedEvent = _proxy->wheelEvent(self, event);
328 _proxy->keyEvent(self, event, NPCocoaEventKeyDown);
334 _proxy->keyEvent(self, event, NPCocoaEventKeyUp);
357 self.wantsLayer = NO;
359 [self invalidatePluginContentRect:[self bounds]];
371 _proxy->print(reinterpret_cast<CGContextRef>([[NSGraphicsContext currentContext] graphicsPort]), [self bounds].size.width, [self bounds].size.height);
389 NSSize viewSize = [self bounds].size;
412 _proxy->setManualStream(HostedNetscapePluginStream::create(_proxy.get(), core([self webFrame])->loader()));
481 [self webFrame:webFrame didFinishLoadWithReason:reason];