• Home
  • Raw
  • Download

Lines Matching refs:_private

698     return _private->dataSource;
703 return [_private->dataSource _webView];
708 return [[_private->dataSource webFrame] frameView];
951 if (!_private || !_private->observingMouseMovedNotifications)
955 _private->observingMouseMovedNotifications = false;
960 if (!_private || !_private->observingSuperviewNotifications)
971 _private->observingSuperviewNotifications = false;
976 if (!_private->observingWindowNotifications)
988 _private->observingWindowNotifications = false;
1081 if (event == _private->mouseDownEvent)
1085 [_private->mouseDownEvent release];
1086 _private->mouseDownEvent = event;
1091 if (_private->updateMouseoverTimer) {
1092 CFRunLoopTimerInvalidate(_private->updateMouseoverTimer);
1093 CFRelease(_private->updateMouseoverTimer);
1094 _private->updateMouseoverTimer = NULL;
1101 …WebHTMLView *view = (WebHTMLView *)[[[[_private->dataSource _webView] mainFrame] frameView] docume…
1117 _private->enumeratingSubviews = YES;
1131 _private->enumeratingSubviews = NO;
1140 _private->enumeratingSubviews = YES;
1154 _private->enumeratingSubviews = NO;
1163 _private->enumeratingSubviews = YES;
1177 _private->enumeratingSubviews = NO;
1258 … if (!NSEqualPoints(_private->lastScrollPosition, origin) && ![scrollView inProgrammaticScroll]) {
1262 _private->inScrollPositionChanged = YES;
1266 _private->inScrollPositionChanged = NO;
1271 [_private->completionController endRevertingChange:NO moveLeft:NO];
1275 _private->lastScrollPosition = origin;
1277 if ([self window] && !_private->closed && !_private->updateMouseoverTimer) {
1282_private->updateMouseoverTimer = CFRunLoopTimerCreate(NULL, CFAbsoluteTimeGetCurrent() + 0.1, 0, 0…
1284 … CFRunLoopAddTimer(CFRunLoopGetCurrent(), _private->updateMouseoverTimer, kCFRunLoopDefaultMode);
1294 ASSERT(!_private->subviewsSetAside);
1295 ASSERT(_private->savedSubviews == nil);
1296 _private->savedSubviews = _subviews;
1299 if (_private->layerHostingView) {
1300 NSArray* newSubviews = [[NSArray alloc] initWithObjects:_private->layerHostingView, nil];
1307 _private->subviewsSetAside = YES;
1312 ASSERT(_private->subviewsSetAside);
1314 if (_private->layerHostingView) {
1316 _subviews = _private->savedSubviews;
1319 _subviews = _private->savedSubviews;
1323 _subviews = _private->savedSubviews;
1325 _private->savedSubviews = nil;
1326 _private->subviewsSetAside = NO;
1333 if (_private->enumeratingSubviews)
1359 if (_private->dataSource && [self _isTopHTMLView])
1371 BOOL wasInPrintingMode = _private->printing;
1418 BOOL needToSetAsideSubviews = !_private->subviewsSetAside;
1420 BOOL wasInPrintingMode = _private->printing;
1513 if (_private->closed)
1533 if (_private && hitView == _private->layerHostingView)
1551 ASSERT(_private->trackingRectOwner == nil);
1552 _private->trackingRectOwner = owner;
1553 _private->trackingRectUserData = data;
1560 ASSERT(_private->trackingRectOwner == nil);
1561 _private->trackingRectOwner = owner;
1562 _private->trackingRectUserData = data;
1570 ASSERT(_private->trackingRectOwner == nil);
1571 _private->trackingRectOwner = owner;
1572 _private->trackingRectUserData = userDataList[0];
1581 if (_private && (tag == TRACKING_RECT_TAG)) {
1582 _private->trackingRectOwner = nil;
1586 if (_private && (tag == _private->lastToolTipTag)) {
1588 _private->lastToolTipTag = 0;
1605 if (_private != nil) {
1606 _private->trackingRectOwner = nil;
1622 userData:_private->trackingRectUserData];
1623 [_private->trackingRectOwner mouseExited:fakeEvent];
1637 userData:_private->trackingRectUserData];
1638 [_private->trackingRectOwner mouseEntered:fakeEvent];
1644 NSString *oldToolTip = _private->toolTip;
1652 _private->toolTip = [toolTip copy];
1657 _private->lastToolTipTag = [self addToolTipRect:wideOpenRect owner:self userData:NULL];
1664 return [[_private->toolTip copy] autorelease];
1669 if (_private->closed)
1761 return _private->pluginController;
1794 if (_private->autoscrollTimer == nil) {
1795 _private->autoscrollTimer = [[NSTimer scheduledTimerWithTimeInterval:AUTOSCROLL_INTERVAL
1797 _private->autoscrollTriggerEvent = [triggerEvent retain];
1810 NSTimer *timer = _private->autoscrollTimer;
1811 _private->autoscrollTimer = nil;
1812 [_private->autoscrollTriggerEvent release];
1813 _private->autoscrollTriggerEvent = nil;
1881 return _private->transparentBackground;
1886 _private->transparentBackground = f;
1955 if (!_private->highlighters)
1956 _private->highlighters = [[NSMutableDictionary alloc] init];
1957 [_private->highlighters setObject:highlighter forKey:type];
1962 [_private->highlighters removeObjectForKey:type];
1986 …// Check for a nil _private here in case we were created with initWithCoder. In that case, the Web…
1988 if (!_private || _private->closed)
1991 _private->closed = YES;
1998 [_private->pluginController destroyAllPlugins];
1999 [_private->pluginController setDataSource:nil];
2000 // remove tooltips before clearing _private so removeTrackingRect: will work correctly
2003 if (_private->isInSecureInputState) {
2005 _private->isInSecureInputState = NO;
2008 [_private clear];
2190 return _private->layerHostingView != nil;
2199 return _private->layerHostingView;
2207 return _private->printing;
2258 return _private->paginateScreenContent;
2401 _private = [[WebHTMLViewPrivate alloc] init];
2403 _private->pluginController = [[WebPluginController alloc] initWithDocumentView:self];
2417 [_private release];
2418 _private = nil;
2435 BOOL callerAlreadyCalledDelegate = _private->selectorForDoCommandBySelector == selector;
2436 _private->selectorForDoCommandBySelector = 0;
2876 && !_private->handlingMouseDownEvent
2923 … if (!_private->dataSource || ![self _isTopHTMLView] || _private->observingMouseMovedNotifications)
2937 _private->observingMouseMovedNotifications = true;
2954 if (_private->observingSuperviewNotifications)
2972 _private->observingSuperviewNotifications = true;
2977 if (_private->observingWindowNotifications)
2989 _private->observingWindowNotifications = true;
3017 if (!_private)
3037 if (!_private || _private->closed)
3042 _private->lastScrollPosition = [[self superview] bounds].origin;
3051 _private->lastScrollPosition = NSZeroPoint;
3056 if (_private->layerHostingView) {
3063 …[[_private->layerHostingView layer] setTransform:CATransform3DMakeScale(scaleFactor, scaleFactor, …
3108 // Have to null-check _private, since this can be called via -dealloc when
3110 if (_private && _private->enumeratingSubviews)
3219 [_private->completionController endRevertingChange:NO moveLeft:NO];
3230 _private->handlingMouseDownEvent = YES;
3234 _private->handlingMouseDownEvent = NO;
3299 if (_private->inScrollPositionChanged) {
3305 invalidRect.origin.x -= _private->lastScrollPosition.x - origin.x;
3306 invalidRect.origin.y -= _private->lastScrollPosition.y - origin.y;
3386 BOOL subviewsWereSetAside = _private->subviewsSetAside;
3493 [_private->completionController endRevertingChange:NO moveLeft:NO];
3504 [_private->completionController endRevertingChange:NO moveLeft:NO];
3597 _private->handlingMouseDownEvent = YES;
3606 [_private->completionController endRevertingChange:NO moveLeft:NO];
3611 _private->ignoringMouseDraggedEvents = NO;
3623 _private->handlingMouseDownEvent = NO;
3651 if (!_private->ignoringMouseDraggedEvents) {
3688 _private->ignoringMouseDraggedEvents = YES;
3822 if (exposeInputContext != _private->exposeInputContext) {
3823 _private->exposeInputContext = exposeInputContext;
3827 _private->_forceUpdateSecureInputState = YES;
3829 _private->_forceUpdateSecureInputState = NO;
3856 if (_private->isInSecureInputState) {
3858 _private->isInSecureInputState = NO;
3860 [_private->completionController endRevertingChange:NO moveLeft:NO];
3885 if (_private->dataSource != dataSource) {
3886 ASSERT(!_private->closed);
3887 BOOL hadDataSource = _private->dataSource != nil;
3890 [_private->dataSource release];
3891 _private->dataSource = dataSource;
3892 [_private->pluginController setDataSource:dataSource];
3914 if (printing == _private->printing && paginateScreenContent == _private->paginateScreenContent)
3929 [_private->pageRects release];
3930 _private->pageRects = nil;
3931 _private->printing = printing;
3932 _private->paginateScreenContent = paginateScreenContent;
3937 coreView->setMediaType(_private->printing ? "print" : "screen");
3939 document->setPaginatedForScreen(_private->paginateScreenContent);
3940 document->setPrinting(_private->printing);
3964 BOOL wasInPrintingMode = _private->printing;
4078 [_private->pageRects release];
4091 _private->pageRects = [newPageRects retain];
4093 range->length = [_private->pageRects count];
4101 return [[_private->pageRects objectAtIndex:page - 1] rectValue];
4141 BOOL eventWasSentToWebCore = (_private->keyDownEvent == event);
4145 [_private->keyDownEvent release];
4146 _private->keyDownEvent = [event retain];
4148 …BOOL completionPopupWasOpen = _private->completionController && [_private->completionController po…
4153 [_private->completionController endRevertingChange:YES moveLeft:NO];
4154 …} else if (!_private->completionController || ![_private->completionController filterKeyDown:event…
4156 [_private->completionController endRevertingChange:YES moveLeft:NO];
4172 BOOL eventWasSentToWebCore = (_private->keyDownEvent == event);
4426 BOOL eventWasSentToWebCore = (_private->keyDownEvent == event);
4429 [_private->keyDownEvent release];
4430 _private->keyDownEvent = [event retain];
4783 if (!_private->completionController)
4784_private->completionController = [[WebTextCompletionController alloc] initWithWebView:[self _webVi…
4785 [_private->completionController doCompletion];
5033 if (e == _private->keyDownEvent)
5065 _private->nextResponderDisabledOnce = YES;
5076 BOOL disabled = _private->nextResponderDisabledOnce;
5077 _private->nextResponderDisabledOnce = NO;
5189 return _private->mouseDownEvent;
5194 return [_private->highlighters objectForKey:type];
5199 return [_private->dataSource webFrame];
5456 WebHTMLViewInterpretKeyEventsParameters* parameters = _private->interpretKeyEventsParameters;
5504 if ([macEvent type] == NSKeyDown && [_private->completionController filterKeyDown:macEvent])
5511 _private->interpretKeyEventsParameters = &parameters;
5539 _private->interpretKeyEventsParameters = 0;
5558 return _private->promisedDragTIFFDataSource;
5566 if (_private->promisedDragTIFFDataSource)
5567 _private->promisedDragTIFFDataSource->removeClient(promisedDataClient());
5568 _private->promisedDragTIFFDataSource = source;
5575 ASSERT(!_private->subviewsSetAside);
5602 if (!_private->layerHostingView) {
5610 _private->layerHostingView = hostingView;
5655 [viewLayer setBounds:NSRectToCGRect([_private->layerHostingView bounds])];
5657 …CGPoint layerPosition = NSPointToCGPoint([self convertPointToBase:[_private->layerHostingView fram…
5661 [_private->layerHostingView setLayer:viewLayer];
5662 [_private->layerHostingView setWantsLayer:YES];
5681 if (_private->layerHostingView) {
5682 [_private->layerHostingView setLayer:nil];
5683 [_private->layerHostingView setWantsLayer:NO];
5684 [_private->layerHostingView removeFromSuperview];
5685 _private->layerHostingView = nil;
5693 if (!_private->layerHostingView)
5711 [[_private->layerHostingView layer] setSublayerTransform:flipTransform];
5714 …[_private->layerHostingView _updateLayerGeometryFromView]; // Workaround for <rdar://problem/7071…
5715 [_private->layerHostingView setFrame:layerViewFrame];
5721 if (_private) {
5722 ASSERT(!_private->drawingIntoLayer);
5723 _private->drawingIntoLayer = YES;
5728 if (_private)
5729 _private->drawingIntoLayer = NO;
5734 return _private->drawingIntoLayer;
5763 return _private->exposeInputContext ? [super inputContext] : nil;
5768 if (!_private->exposeInputContext) {
5927 WebHTMLViewInterpretKeyEventsParameters* parameters = _private->interpretKeyEventsParameters;
5968 WebHTMLViewInterpretKeyEventsParameters* parameters = _private->interpretKeyEventsParameters;
6012 WebHTMLViewInterpretKeyEventsParameters* parameters = _private->interpretKeyEventsParameters;
6027 _private->interpretKeyEventsParameters = 0;
6040 _private->selectorForDoCommandBySelector = selector;
6050 _private->selectorForDoCommandBySelector = 0;
6057 _private->interpretKeyEventsParameters = parameters;
6068 WebHTMLViewInterpretKeyEventsParameters* parameters = _private->interpretKeyEventsParameters;
6128 …if (![[self window] isKeyWindow] || ([[self window] firstResponder] != self && !_private->_forceUp…
6129 if (_private->isInSecureInputState) {
6131 _private->isInSecureInputState = NO;
6141 if (!_private->isInSecureInputState)
6143 _private->isInSecureInputState = YES;
6150 if (_private->isInSecureInputState)
6152 _private->isInSecureInputState = NO;
6164 if (exposeInputContext != _private->exposeInputContext) {
6165 _private->exposeInputContext = exposeInputContext;