Lines Matching refs:_private
636 return _private->usesDocumentViews;
685 _private->preferences = [standardPreferences retain];
686 _private->catchesDelegateExceptions = YES;
687 _private->mainFrameDocumentReady = NO;
688 _private->drawsBackground = YES;
689 _private->backgroundColor = [[NSColor colorWithDeviceWhite:1 alpha:1] retain];
690 _private->usesDocumentViews = usesDocumentViews;
691 _private->includesFlattenedCompositingLayersWhenDrawingToBitmap = YES;
694 if (_private->usesDocumentViews) {
737 _private->page = new Page(pageClients);
739 _private->page->setCanStartMedia([self window]);
740 _private->page->settings()->setLocalStorageDatabasePath([[self preferences] _localStorageDatabasePath]);
743 _private->page->settings()->setShouldInjectUserScriptsInInitialEmptyDocument(true);
747 [WebFrame _createMainFrameWithPage:_private->page frameName:frameName frameView:frameView];
822 _private = [[WebViewPrivate alloc] init];
854 ASSERT(!_private->usesDocumentViews);
877 return _private && !_private->usesDocumentViews;
882 if (!_private->usesDocumentViews && !NSEqualSizes(_private->lastLayoutSize, size)) {
891 _private->lastLayoutSize = size;
912 if (!_private->usesDocumentViews)
922 if (_private->usesDocumentViews)
1029 if ([[self class] _viewClass:vClass andRepresentationClass:rClass forMIMEType:MIMEType allowingPlugins:[_private->preferences arePlugInsEnabled]])
1032 if (_private->pluginDatabase) {
1033 WebBasePluginPackage *pluginPackage = [_private->pluginDatabase pluginForMIMEType:MIMEType];
1085 return !_private || _private->closed;
1095 if (_private->pluginDatabase) {
1096 [_private->pluginDatabase destroyAllPluginInstanceViews];
1097 [_private->pluginDatabase close];
1098 [_private->pluginDatabase release];
1099 _private->pluginDatabase = nil;
1142 if (!_private || _private->closed)
1145 _private->closed = YES;
1178 [_private->inspector webViewClosed];
1186 Page* page = _private->page;
1187 _private->page = 0;
1190 if (_private->hasSpellCheckerDocumentTag) {
1191 [[NSSpellChecker sharedSpellChecker] closeSpellDocumentWithTag:_private->spellCheckerDocumentTag];
1192 _private->hasSpellCheckerDocumentTag = NO;
1208 WebPreferences *preferences = _private->preferences;
1209 _private->preferences = nil;
1263 delegate:_private->downloadDelegate
1286 if (!_private->inspector)
1287 _private->inspector = [[WebInspector alloc] initWithWebView:self];
1288 return _private->inspector;
1293 return _private->page;
1304 if (_private->UIDelegate && [_private->UIDelegate respondsToSelector:selector]) {
1333 if (!_private->page)
1336 if (!otherView->_private->page)
1343 BackForwardList* backForwardList = _private->page->backForwardList();
1346 BackForwardList* otherBackForwardList = otherView->_private->page->backForwardList();
1358 otherView->_private->page->mainFrame()->loader()->history()->saveDocumentAndScrollState();
1367 _private->page->goToItem(newItemToGoTo, FrameLoadTypeIndexedBackForward);
1372 _private->formDelegate = delegate;
1377 return _private->formDelegate;
1435 || (_private->page && _private->page->settings()->usesDashboardBackwardCompatibilityMode())
1455 if (!_private->userAgentOverridden)
1456 _private->userAgent = String();
1459 _private->useSiteSpecificSpoofing = [preferences _useSiteSpecificSpoofing];
1462 if (!_private->page)
1465 Settings* settings = _private->page->settings();
1521 settings->setNeedsSiteSpecificQuirks(_private->useSiteSpecificSpoofing);
1565 if (_private->zoomsTextOnly != zoomsTextOnly)
1566 [self _setZoomMultiplier:_private->zoomMultiplier isTextOnly:zoomsTextOnly];
1576 WebResourceDelegateImplementationCache *cache = &_private->resourceLoadDelegateImplementations;
1577 id delegate = _private->resourceProgressDelegate;
1604 WebFrameLoadDelegateImplementationCache *cache = &_private->frameLoadDelegateImplementations;
1605 id delegate = _private->frameLoadDelegate;
1641 WebScriptDebugDelegateImplementationCache *cache = &_private->scriptDebugDelegateImplementations;
1642 id delegate = _private->scriptDebugDelegate;
1673 WebHistoryDelegateImplementationCache *cache = &_private->historyDelegateImplementations;
1674 id delegate = _private->historyDelegate;
1690 if (!_private->policyDelegateForwarder)
1691 _private->policyDelegateForwarder = [[_WebSafeForwarder alloc] initWithTarget:_private->policyDelegate defaultTarget:[WebDefaultPolicyDelegate sharedPolicyDelegate] catchExceptions:_private->catchesDelegateExceptions];
1692 return _private->policyDelegateForwarder;
1697 if (!_private->UIDelegateForwarder)
1698 _private->UIDelegateForwarder = [[_WebSafeForwarder alloc] initWithTarget:_private->UIDelegate defaultTarget:[WebDefaultUIDelegate sharedUIDelegate] catchExceptions:_private->catchesDelegateExceptions];
1699 return _private->UIDelegateForwarder;
1706 if (!_private)
1709 if (!_private->editingDelegateForwarder)
1710 _private->editingDelegateForwarder = [[_WebSafeForwarder alloc] initWithTarget:_private->editingDelegate defaultTarget:[WebDefaultEditingDelegate sharedEditingDelegate] catchExceptions:_private->catchesDelegateExceptions];
1711 return _private->editingDelegateForwarder;
1793 _private->programmaticFocusCount++;
1798 _private->programmaticFocusCount--;
1803 return _private->programmaticFocusCount != 0;
1839 _private->observationInfo = info;
1844 return _private->observationInfo;
1952 if (!_private->page)
1954 _private->page->dragController()->setDidInitiateDrag(initiatedDrag);
2079 if (behavior == WebDashboardBehaviorAllowWheelScrolling && flag == NO && _private->page)
2080 _private->page->settings()->setUsesDashboardBackwardCompatibilityMode(true);
2084 _private->dashboardBehaviorAlwaysSendMouseEventsToAllWindows = flag;
2088 _private->dashboardBehaviorAlwaysSendActiveNullEventsToPlugIns = flag;
2092 _private->dashboardBehaviorAlwaysAcceptsFirstMouse = flag;
2096 _private->dashboardBehaviorAllowWheelScrolling = flag;
2100 if (_private->page)
2101 _private->page->settings()->setUsesDashboardBackwardCompatibilityMode(flag);
2108 if (_private->page)
2109 _private->page->settings()->setUsePreHTML5ParserQuirks([self _needsPreHTML5ParserQuirks]);
2116 return _private->dashboardBehaviorAlwaysSendMouseEventsToAllWindows;
2119 return _private->dashboardBehaviorAlwaysSendActiveNullEventsToPlugIns;
2122 return _private->dashboardBehaviorAlwaysAcceptsFirstMouse;
2125 return _private->dashboardBehaviorAllowWheelScrolling;
2128 return _private->page && _private->page->settings()->usesDashboardBackwardCompatibilityMode();
2210 if (_private->page && _private->page->inLowQualityImageInterpolationMode() != flag) {
2211 _private->page->setInLowQualityImageInterpolationMode(flag);
2218 if (_private->page)
2219 return _private->page->inLowQualityImageInterpolationMode();
2225 if (_private->page)
2226 return _private->page->cookieEnabled();
2232 if (_private->page)
2233 _private->page->setCookieEnabled(enable);
2238 if (!_private->pluginDatabase)
2239 _private->pluginDatabase = [[WebPluginDatabase alloc] init];
2241 [_private->pluginDatabase setPlugInPaths:newPaths];
2242 [_private->pluginDatabase refresh];
2259 if ([_private->backgroundColor isEqual:backgroundColor])
2262 id old = _private->backgroundColor;
2263 _private->backgroundColor = [backgroundColor retain];
2271 return _private->backgroundColor;
2276 if (!_private->page)
2278 return _private->page->defersLoading();
2283 if (!_private->page)
2285 return _private->page->setDefersLoading(defer);
2293 return _private->usesPageCache && [[self preferences] usesPageCache];
2298 _private->usesPageCache = usesPageCache;
2307 if (!_private)
2310 return kit(_private->_globalHistoryItem.get());
2315 _private->_globalHistoryItem = historyItem;
2340 if (!_private->page)
2342 _private->page->clearUndoRedoOperations();
2347 _private->catchesDelegateExceptions = f;
2352 return _private->catchesDelegateExceptions;
2365 if (!_private->page)
2367 return _private->page->setCustomHTMLTokenizerTimeDelay(timeDelay);
2372 if (!_private->page)
2374 return _private->page->setCustomHTMLTokenizerChunkSize(chunkSize);
2379 _private->page->mainFrame()->tree()->clearName();
2384 _private->selectTrailingWhitespaceEnabled = flag;
2391 return _private->selectTrailingWhitespaceEnabled;
2396 _private->page->setMemoryCacheClientCallsEnabled(enabled);
2401 return _private->page->areMemoryCacheClientCallsEnabled();
2406 _private->page->setJavaScriptURLsAreAllowed(areAllowed);
2417 return _private->postsAcceleratedCompositingNotifications;
2426 _private->postsAcceleratedCompositingNotifications = flag;
2433 if (_private->usesDocumentViews) {
2447 return _private->interactiveFormValidationEnabled;
2452 _private->interactiveFormValidationEnabled = enabled;
2457 return _private->validationMessageTimerMagnification;
2462 _private->validationMessageTimerMagnification = newValue;
2468 if (_private->usesDocumentViews) {
2483 _private->includesFlattenedCompositingLayersWhenDrawingToBitmap = flag;
2488 return _private->includesFlattenedCompositingLayersWhenDrawingToBitmap;
2546 return _private ? _private->insertionPasteboard : nil;
2566 if (_private && _private->page)
2567 _private->page->focusController()->setActive([[self window] isKeyWindow]);
2698 return _private->cssAnimationsSuspended;
2703 if (suspended == _private->cssAnimationsSuspended)
2706 _private->cssAnimationsSuspended = suspended;
2825 if (_private->page)
2826 _private->page->settings()->setMinDOMTimerInterval(intervalInSeconds);
2946 return [[self class] _canShowMIMEType:MIMEType allowingPlugins:[_private->preferences arePlugInsEnabled]];
2951 if (![_private->preferences arePlugInsEnabled])
2958 if (_private->pluginDatabase)
2959 return [_private->pluginDatabase pluginForMIMEType:MIMEType];
2971 if (_private->pluginDatabase)
2972 return [_private->pluginDatabase pluginForMIMEType:MIMEType];
2980 if (![_private->preferences arePlugInsEnabled])
2987 if (_private->pluginDatabase)
2988 return [_private->pluginDatabase pluginForExtension:extension];
2995 if (!_private->pluginDatabase)
2996 _private->pluginDatabase = [[WebPluginDatabase alloc] init];
2997 [_private->pluginDatabase addPluginInstanceView:view];
3002 if (_private->pluginDatabase)
3003 [_private->pluginDatabase removePluginInstanceView:view];
3008 if (_private->pluginDatabase)
3009 [_private->pluginDatabase removePluginInstanceViewsFor:webFrame];
3014 if (![_private->preferences arePlugInsEnabled])
3020 if (_private->pluginDatabase && [_private->pluginDatabase isMIMETypeRegistered:MIMEType])
3165 result->_private = [[WebViewPrivate alloc] init];
3202 result->_private->allowsUndo = allowsUndo;
3225 BOOL useBackForwardList = _private->page && static_cast<BackForwardListImpl*>(_private->page->backForwardList())->enabled();
3231 [encoder encodeBool:_private->allowsUndo forKey:@"AllowsUndo"];
3258 [_private->frameLoadDelegate release];
3260 [_private release];
3261 // [super dealloc] can end up dispatching against _private (3466082)
3262 _private = nil;
3269 ASSERT(_private->closed);
3284 _private->shouldCloseWithWindow = close;
3289 return _private->shouldCloseWithWindow;
3322 if (!_private || _private->closed)
3337 _private->page->setCanStartMedia(false);
3338 _private->page->willMoveOffscreen();
3353 if (!_private || _private->closed)
3357 _private->page->setCanStartMedia(true);
3358 _private->page->didMoveOnscreen();
3395 if (_private->preferences == prefs)
3400 WebPreferences *oldPrefs = _private->preferences;
3405 _private->preferences = [prefs retain];
3419 return _private->preferences;
3424 if (!_private->closed && ![anIdentifier isEqual:[[self preferences] identifier]]) {
3439 _private->UIDelegate = delegate;
3440 [_private->UIDelegateForwarder release];
3441 _private->UIDelegateForwarder = nil;
3446 return _private->UIDelegate;
3451 _private->resourceProgressDelegate = delegate;
3457 return _private->resourceProgressDelegate;
3462 _private->downloadDelegate = delegate;
3468 return _private->downloadDelegate;
3473 _private->policyDelegate = delegate;
3474 [_private->policyDelegateForwarder release];
3475 _private->policyDelegateForwarder = nil;
3480 return _private->policyDelegate;
3491 [_private->frameLoadDelegate release];
3494 _private->frameLoadDelegate = delegate;
3499 if (_private->frameLoadDelegateImplementations.didReceiveIconForFrameFunc)
3506 return _private->frameLoadDelegate;
3511 // This can be called in initialization, before _private has been set up (3465613)
3512 if (!_private || !_private->page)
3514 return kit(_private->page->mainFrame());
3519 if (_private->usesDocumentViews) {
3535 if (!_private->page)
3537 BackForwardListImpl* list = static_cast<BackForwardListImpl*>(_private->page->backForwardList());
3545 if (!_private->page)
3547 static_cast<BackForwardListImpl*>(_private->page->backForwardList())->setEnabled(flag);
3552 if (!_private->page)
3555 return _private->page->goBack();
3560 if (!_private->page)
3563 return _private->page->goForward();
3568 if (!_private->page)
3571 _private->page->goToItem(core(item), FrameLoadTypeIndexedBackForward);
3582 return [self _realZoomMultiplierIsTextOnly] ? _private->zoomMultiplier : 1.0f;
3588 _private->zoomMultiplier = multiplier;
3589 _private->zoomsTextOnly = isTextOnly;
3591 // FIXME: It might be nice to rework this code so that _private->zoomMultiplier doesn't exist
3595 if (_private->zoomsTextOnly)
3606 return _private->zoomMultiplier;
3611 return _private->zoomMultiplier;
3616 if (!_private->page)
3619 return _private->zoomsTextOnly;
3695 [_private->applicationNameForUserAgent release];
3696 _private->applicationNameForUserAgent = name;
3697 if (!_private->userAgentOverridden)
3698 _private->userAgent = String();
3703 return [[_private->applicationNameForUserAgent retain] autorelease];
3708 _private->userAgent = userAgentString;
3709 _private->userAgentOverridden = userAgentString != nil;
3714 if (!_private->userAgentOverridden)
3716 return _private->userAgent;
3721 if (_private->mediaStyle != mediaStyle) {
3722 [_private->mediaStyle release];
3723 _private->mediaStyle = [mediaStyle copy];
3729 return _private->mediaStyle;
3794 if (_private->useSiteSpecificSpoofing) {
3798 if (_private->userAgent.isNull())
3799 _private->userAgent = [[self class] _standardUserAgentWithApplicationName:_private->applicationNameForUserAgent];
3801 return _private->userAgent;
3806 if (_private->closed && hostWindow)
3808 if (hostWindow == _private->hostWindow)
3812 if (_private->usesDocumentViews) {
3816 if (_private->hostWindow && [self window] != _private->hostWindow)
3817 [[NSNotificationCenter defaultCenter] removeObserver:self name:NSWindowWillCloseNotification object:_private->hostWindow];
3820 [_private->hostWindow release];
3821 _private->hostWindow = [hostWindow retain];
3822 if (_private->usesDocumentViews) {
3832 if (!_private)
3835 return _private->hostWindow;
3946 if (_private->usesDocumentViews)
3955 if (_private->usesDocumentViews) {
3956 if (_private->becomingFirstResponder) {
3975 _private->becomingFirstResponder = YES;
3976 _private->becomingFirstResponderFromOutside = fromOutside;
3978 _private->becomingFirstResponderFromOutside = NO;
3979 _private->becomingFirstResponder = NO;
3986 _private->becomingFirstResponder = YES;
3987 _private->becomingFirstResponderFromOutside = fromOutside;
3989 _private->becomingFirstResponderFromOutside = NO;
3990 _private->becomingFirstResponder = NO;
4003 if (_private && _private->usesDocumentViews) {
4012 if (_private && _private->usesDocumentViews) {
4052 if (!_private->page)
4054 _private
4059 if (!_private->page)
4061 return _private->page->groupName();
4066 if (!_private->page)
4068 return _private->page->progress()->estimatedProgress();
4160 if (_private->mainFrameDocumentReady)
4167 if (_private->drawsBackground == drawsBackground)
4169 _private->drawsBackground = drawsBackground;
4175 // This method can be called beneath -[NSView dealloc] after we have cleared _private,
4177 return !_private || _private->drawsBackground;
4182 if (_private->shouldUpdateWhileOffscreen == updateWhileOffscreen)
4184 _private->shouldUpdateWhileOffscreen = updateWhileOffscreen;
4190 return _private->shouldUpdateWhileOffscreen;
4195 id old = _private->currentNodeHighlight;
4196 _private->currentNodeHighlight = [nodeHighlight retain];
4202 return _private->currentNodeHighlight;
4248 if (!_private->page || _private->page->defersLoading())
4251 return !!_private->page->backForwardList()->backItem();
4256 if (!_private->page || _private->page->defersLoading())
4259 return !!_private->page->backForwardList()->forwardItem();
4467 if (_private->closed)
4524 if (_private->hoverFeedbackSuspended == newValue)
4527 _private->hoverFeedbackSuspended = newValue;
4529 if (_private->usesDocumentViews) {
4547 return _private->hoverFeedbackSuspended;
4555 if (_private->mainFrameDocumentReady == mainFrameDocumentReady)
4558 _private->mainFrameDocumentReady = mainFrameDocumentReady;
4572 _private->tabKeyCyclesThroughElementsChanged = YES;
4573 if (_private->page)
4574 _private->page->setTabKeyCyclesThroughElements(cyclesElements);
4579 return _private->page && _private->page->tabKeyCyclesThroughElements();
4584 _private->scriptDebugDelegate = delegate;
4595 return _private->scriptDebugDelegate;
4600 _private->historyDelegate = delegate;
4606 return _private->historyDelegate;
4687 if (_private->closed)
4709 if (_private->closed)
4736 if (_private->closed)
4751 if (_private->closed)
4796 return _private->allowsUndo;
4801 _private->allowsUndo = flag;
4811 return ![self _realZoomMultiplierIsTextOnly] ? _private->zoomMultiplier : 1.0f;
4846 if (_private->page)
4847 _private->page->setMediaVolume(volume);
4852 if (!_private->page)
4855 return _private->page->mediaVolume();
4901 if (![_private->UIDelegate respondsToSelector:selector])
4924 if (![_private->UIDelegate respondsToSelector:selector])
5080 if ([self isEditable] != flag && _private->page) {
5081 _private->page->setEditable(flag);
5082 if (!_private->tabKeyCyclesThroughElementsChanged)
5083 _private->page->setTabKeyCyclesThroughElements(!flag);
5098 return _private->page && _private->page->isEditable();
5115 if (_private->smartInsertDeleteEnabled != flag) {
5116 _private->smartInsertDeleteEnabled = flag;
5117 [[NSUserDefaults standardUserDefaults] setBool:_private->smartInsertDeleteEnabled forKey:WebSmartInsertDeleteEnabled];
5125 return _private->smartInsertDeleteEnabled;
5149 if (!_private->hasSpellCheckerDocumentTag) {
5150 _private->spellCheckerDocumentTag = [NSSpellChecker uniqueSpellDocumentTag];
5151 _private->hasSpellCheckerDocumentTag = YES;
5153 return _private->spellCheckerDocumentTag;
5158 if (!_private->allowsUndo)
5171 if ([_private->editingDelegate respondsToSelector:selector])
5172 [defaultCenter addObserver:_private->editingDelegate selector:selector name:name object:self];
5177 if (_private->editingDelegate == delegate)
5183 [defaultCenter removeObserver:_private->editingDelegate name:WebViewDidBeginEditingNotification object:self];
5184 [defaultCenter removeObserver:_private->editingDelegate name:WebViewDidChangeNotification object:self];
5185 [defaultCenter removeObserver:_private->editingDelegate name:WebViewDidEndEditingNotification object:self];
5186 [defaultCenter removeObserver:_private->editingDelegate name:WebViewDidChangeTypingStyleNotification object:self];
5187 [defaultCenter removeObserver:_private->editingDelegate name:WebViewDidChangeSelectionNotification object:self];
5189 _private->editingDelegate = delegate;
5190 [_private->editingDelegateForwarder release];
5191 _private->editingDelegateForwarder = nil;
5203 return _private->editingDelegate;
5763 if (_private->closed)
5765 ASSERT(_private->usesDocumentViews);
5878 if (!_private->layerSyncRunLoopObserver)
5881 CFRunLoopObserverInvalidate(_private->layerSyncRunLoopObserver);
5882 CFRelease(_private->layerSyncRunLoopObserver);
5883 _private->layerSyncRunLoopObserver = 0;
5890 if (!_private->glibRunLoopObserver)
5893 CFRunLoopObserverInvalidate(_private->glibRunLoopObserver);
5894 CFRelease(_private->glibRunLoopObserver);
5895 _private->glibRunLoopObserver = 0;
5909 return _private->becomingFirstResponderFromOutside;
5944 WebFrameLoadDelegateImplementationCache* cache = &_private->frameLoadDelegateImplementations;
5957 ASSERT(!_private->identifierMap.contains(identifier));
5962 if (_private->identifierMap.isEmpty())
5965 _private->identifierMap.set(identifier, object);
5970 return _private->identifierMap.get(identifier).get();
5975 ASSERT(_private->identifierMap.contains(identifier));
5976 _private->identifierMap.remove(identifier);
5980 if (_private->identifierMap.isEmpty())
5994 _private->_keyboardUIMode = (mode & 0x2) ? KeyboardAccessFull : KeyboardAccessDefault;
5997 if ([_private->preferences tabsToLinks])
5998 _private->_keyboardUIMode = (KeyboardUIMode)(_private->_keyboardUIMode | KeyboardAccessTabsToLinks);
6003 if (!_private->_keyboardUIModeAccessed) {
6004 _private->_keyboardUIModeAccessed = YES;
6016 return _private->_keyboardUIMode;
6021 _private->insertionPasteboard = pasteboard;
6026 if (_private->usesDocumentViews) {
6038 return (_private && _private->page) ? _private->page->mainFrame() : 0;
6053 return _private->needsOneShotDrawingSynchronization;
6058 _private->needsOneShotDrawingSynchronization = needsSynchronization;
6145 if (_private->layerSyncRunLoopObserver)
6156 _private->layerSyncRunLoopObserver = CFRunLoopObserverCreate(NULL,
6160 CFRunLoopAddObserver(currentRunLoop, _private->layerSyncRunLoopObserver, kCFRunLoopCommonModes);
6172 if (_private->fullscreenController) {
6173 if ([_private->fullscreenController mediaElement] == videoElement) {
6176 [_private->fullscreenController setMediaElement:videoElement];
6181 [_private->fullscreenController mediaElement]->exitFullscreen();
6183 // which has to clear _private->fullscreenController.
6184 ASSERT(!_private->fullscreenController);
6186 if (!_private->fullscreenController) {
6187 _private->fullscreenController = [[WebVideoFullscreenController alloc] init];
6188 [_private->fullscreenController setMediaElement:videoElement];
6189 [_private->fullscreenController enterFullscreen:[[self window] screen]];
6192 [_private->fullscreenController setMediaElement:videoElement];
6197 if (!_private->fullscreenController)
6199 [_private->fullscreenController exitFullscreen];
6200 [_private->fullscreenController release];
6201 _private->fullscreenController = nil;
6222 if (!_private->newFullscreenController)
6223 _private->newFullscreenController = [[WebFullScreenController alloc] init];
6225 [_private->newFullscreenController setElement:element];
6226 [_private->newFullscreenController setWebView:self];
6227 [_private->newFullscreenController enterFullscreen:[[self window] screen]];
6232 if (!_private->newFullscreenController)
6234 [_private->newFullscreenController exitFullscreen];
6239 if (!_private->newFullscreenController)
6240 _private->newFullscreenController = [[WebFullScreenController alloc] init];
6241 [_private->newFullscreenController setRenderer:renderer];
6254 if (_private->glibRunLoopObserver)
6261 _private->glibRunLoopObserver = CFRunLoopObserverCreate(kCFAllocatorDefault, kCFRunLoopBeforeWaiting, YES, 0, &glibContextIterationCallback, &context);
6263 if (_private->glibRunLoopObserver) {
6265 CFRunLoopAddObserver(cfLoop, _private->glibRunLoopObserver, kCFRunLoopDefaultMode);
6278 if (_private)
6279 _private->m_deviceOrientationProvider = deviceOrientationProvider;
6284 if (_private)
6285 return _private->m_deviceOrientationProvider;
6295 if (_private)
6296 _private->_geolocationProvider = geolocationProvider;
6301 if (_private)
6302 return _private->_geolocationProvider;
6309 if (_private && _private->page)
6310 _private->page->geolocationController()->positionChanged(core(position));
6317 if (_private && _private->page) {
6319 _private->page->geolocationController()->errorOccurred(geolocatioError.get());