Home | History | Annotate | Download | only in WebView

Lines Matching refs:_private

234     return frame ? frame->_private->coreFrame : 0;
267 frame->_private->coreFrame = coreFrame.get();
294 return _private && _private->includedInWebKitStatistics;
299 ScriptController* scriptController = _private->coreFrame->script();
311 if (_private->scriptDebugger) {
312 ASSERT(_private->scriptDebugger == globalObject->debugger());
316 _private->scriptDebugger = new WebScriptDebugger(globalObject);
321 if (!_private->scriptDebugger)
324 delete _private->scriptDebugger;
325 _private->scriptDebugger = 0;
334 _private = [[WebFramePrivate alloc] init];
338 if ((_private->includedInWebKitStatistics = [[v class] shouldIncludeInWebKitStatistics]))
342 [_private setWebFrameView:fv];
346 _private->shouldCreateRenderers = YES;
353 _private->coreFrame = 0;
362 Frame* coreFrame = _private->coreFrame;
388 _private->internalLoadDelegate = internalLoadDelegate;
393 return _private->internalLoadDelegate;
399 Frame* coreFrame = _private->coreFrame;
409 Frame* coreFrame = _private->coreFrame;
419 id documentView = [_private->webFrameView documentView];
423 if (Frame* coreFrame = _private->coreFrame)
432 Frame* coreFrame = _private->coreFrame;
439 id documentView = [_private->webFrameView documentView];
449 Frame* coreFrame = _private->coreFrame;
462 Frame* coreFrame = _private->coreFrame;
491 return dataSource(_private->coreFrame->loader()->documentLoader());
496 return _private->coreFrame->documentTypeString() + markupString;
521 return _private->coreFrame->displayStringModifiedByEncoding(_private->coreFrame->editor()->selectedText());
549 id documentView = [_private->webFrameView documentView];
564 FrameView* view = _private->coreFrame->view();
567 if (Frame* parentFrame = _private->coreFrame->tree()->parent()) {
593 if (RenderPart* ownerRenderer = _private->coreFrame->ownerRenderer()) {
610 ASSERT(_private->coreFrame->document());
612 JSValue result = _private->coreFrame->script()->executeScript(string, forceUserGesture).jsValue();
614 if (!_private->coreFrame) // In case the script removed our frame from the page.
624 return ustringToString(result.toString(_private->coreFrame->script()->globalObject(mainThreadNormalWorld())->globalExec()));
635 return _private->coreFrame->editor()->firstRectForRange(core(range));
652 return _private->coreFrame->view() ? _private->coreFrame->view()->needsLayout() : false;
657 if (_private->coreFrame->selection()->isNone())
661 selection.setSelection(_private->coreFrame->selection()->selection());
668 return _private->coreFrame->selection()->granularity();
697 Element* selectionRoot = _private->coreFrame->selection()->rootEditableElement();
698 Element* scope = selectionRoot ? selectionRoot : _private->coreFrame->document()->documentElement();
726 return kit(_private->coreFrame->editor()->mark().toNormalizedRange().get());
741 _private->coreFrame->document()->updateLayoutIgnorePendingStylesheets();
755 RefPtr<Range> range = _private->coreFrame->document()->createRange();
764 if (!_private->coreFrame || !_private->coreFrame->document())
767 return kit(createFragmentFromMarkup(_private->coreFrame->document(), markupString, baseURLString, FragmentScriptingNotAllowed).get());
772 if (!_private->coreFrame || !_private->coreFrame->document())
781 return kit(createFragmentFromNodes(_private->coreFrame->document(), nodesVector).get());
786 DOMDocumentFragment *fragment = kit(_private->coreFrame->document()->createDocumentFragment().get());
793 if (_private->coreFrame->selection()->isNone())
796 TypingCommand::insertParagraphSeparatorInQuotedContent(_private->coreFrame->document());
797 _private->coreFrame->selection()->revealSelection(ScrollAlignment::alignToEdgeIfNeeded);
803 return _private->coreFrame->visiblePositionForPoint(IntPoint(point));
808 return kit(_private->coreFrame->rangeForPoint(IntPoint(point)).get());
813 if (!_private->coreFrame)
815 RefPtr<CSSMutableStyleDeclaration> typingStyle = _private->coreFrame->selection()->copyTypingStyle();
823 if (!_private->coreFrame)
825 _private->coreFrame->editor()->computeAndSetTypingStyle(core(style), undoAction);
830 if (!_private->coreFrame)
832 FrameView* view = _private->coreFrame->view();
839 _private->coreFrame->eventHandler()->dragSourceEndedAt(event, (DragOperation)operation);
844 Frame* frame = _private->coreFrame;
866 Document* document = _private->coreFrame->document();
867 document->setShouldCreateRenderers(_private->shouldCreateRenderers);
869 _private->coreFrame->loader()->documentLoader()->commitData((const char *)[data bytes], [data length]);
879 Frame* coreFrame = _private->coreFrame;
885 _private->shouldCreateRenderers = shouldCreateRenderers;
890 Document* document = _private->coreFrame->document();
907 Document* document = _private->coreFrame->document();
913 return _private->coreFrame->loader()->stateMachine()->firstLayoutDone();
918 return (WebFrameLoadType)_private->coreFrame->loader()->loadType();
923 return [self _convertToNSRange:_private->coreFrame->selection()->toNormalizedRange().get()];
930 _private->coreFrame->selection()->setSelection(VisibleSelection(domRange.get(), SEL_DEFAULT_AFFINITY));
935 Document* document = _private->coreFrame->document();
941 return _private->coreFrame->domWindow()->pendingUnloadEventListeners();
946 _private->coreFrame->setIsDisconnected(isDisconnected);
951 _private->coreFrame->setExcludeFromTextSearch(exclude);
1066 if (_private->coreFrame->selection()->isNone() || !fragment)
1075 applyCommand(ReplaceSelectionCommand::create(_private->coreFrame->document(), core(fragment), options));
1076 _private->coreFrame->selection()->revealSelection(ScrollAlignment::alignToEdgeIfNeeded);
1081 DOMDocumentFragment* fragment = kit(createFragmentFromText(_private->coreFrame->selection()->toNormalizedRange().get(), text).get());
1153 FrameLoader* frameLoader = _private->coreFrame->loader();
1161 if (DOMWindow* domWindow = _private->coreFrame->domWindow()) {
1171 if (Document* document = _private->coreFrame->document()) {
1189 if (!_private->coreFrame)
1191 return _private->coreFrame->document()->securityOrigin()->canDisplay(URL);
1197 JSDOMWindow* anyWorldGlobalObject = _private->coreFrame->script()->globalObject(mainThreadNormalWorld());
1224 Frame* coreFrame = _private->coreFrame;
1256 if (!_private->coreFrame || !_private->coreFrame->document())
1259 AccessibilityObject* rootObject = _private->coreFrame->document()->axObjectCache()->rootObject();
1269 Frame* coreFrame = _private->coreFrame;
1300 if (!_private->coreFrame || !_private->coreFrame->document())
1303 AccessibilityObject* rootObject = _private->coreFrame->document()->axObjectCache()->rootObjectForFrame(_private->coreFrame);
1320 Frame* coreFrame = _private->coreFrame;
1333 if (!_private->coreFrame)
1335 if (!_private->coreFrame->document())
1337 if (!_private->coreFrame->view())
1339 if (!_private->coreFrame->view()->documentView())
1342 RenderView* root = toRenderView(_private->coreFrame->document()->renderer());
1349 PrintContext printContext(_private->coreFrame);
1377 if (_private && _private->includedInWebKitStatistics)
1380 [_private release];
1387 if (_private && _private->includedInWebKitStatistics)
1395 Frame* coreFrame = _private->coreFrame;
1404 return _private->webFrameView;
1423 Frame* coreFrame = _private->coreFrame;
1446 Frame* coreFrame = _private->coreFrame;
1454 Frame* coreFrame = _private->coreFrame;
1460 Frame* coreFrame = _private->coreFrame;
1466 Frame* coreFrame = _private->coreFrame;
1500 _private->coreFrame->loader()->load(request, substituteData, false);
1536 _private->coreFrame->loader()->loadArchive(coreArchive);
1541 if (!_private->coreFrame)
1543 _private->coreFrame->loader()->stopForUserCancel();
1549 _private->coreFrame->loader()->reload(GetCurrentKeyModifiers() & shiftKey);
1551 _private->coreFrame->loader()->reload(false);
1556 _private->coreFrame->loader()->reload(true);
1561 Frame* coreFrame = _private->coreFrame;
1569 Frame* coreFrame = _private->coreFrame;
1577 Frame* coreFrame = _private->coreFrame;
1588 Frame* coreFrame = _private->coreFrame;
1596 Frame* coreFrame = _private->coreFrame;