Home | History | Annotate | Download | only in page

Lines Matching refs:innerFrame

337         Frame* innerFrame = element->document()->frame();
338 operation = dragIsMove(innerFrame->selection(), dragData) ? DragOperationMove : DragOperationCopy;
372 bool DragController::dispatchTextInputEventFor(Frame* innerFrame, DragData* dragData)
376 String text = dragCaret.isContentRichlyEditable() ? "" : dragData->asPlainText(innerFrame);
377 Node* target = innerFrame->editor()->findEventTargetFrom(dragCaret);
379 return target->dispatchEvent(TextEvent::createForDrop(innerFrame->domWindow(), text), ec);
394 Frame* innerFrame = element->ownerDocument()->frame();
395 ASSERT(innerFrame);
397 if (!m_page->dragCaretController()->isNone() && !dispatchTextInputEventFor(innerFrame, dragData))
404 RefPtr<Range> innerRange = innerFrame->selection()->toNormalizedRange();
408 if (!innerFrame->editor()->shouldApplyStyle(style.get(), innerRange.get()))
411 innerFrame->editor()->applyStyle(style.get(), EditActionSetColor);
453 if (dragIsMove(innerFrame->selection(), dragData) || dragCaret.isContentRichlyEditable()) {
455 RefPtr<DocumentFragment> fragment = documentFragmentFromDragData(dragData, innerFrame, range, true, chosePlainText);
456 if (!fragment || !innerFrame->editor()->shouldInsertFragment(fragment, range, EditorInsertActionDropped)) {
462 if (dragIsMove(innerFrame->selection(), dragData)) {
465 bool smartDelete = innerFrame->editor()->smartInsertDeleteEnabled();
466 bool smartInsert = smartDelete && innerFrame->selection()->granularity() == WordGranularity && dragData->canSmartReplace();
469 if (setSelectionToDragCaret(innerFrame, dragCaret, range, point)) {
479 String text = dragData->asPlainText(innerFrame);
480 if (text.isEmpty() || !innerFrame->editor()->shouldInsertText(text, range.get(), EditorInsertActionDropped)) {
486 if (setSelectionToDragCaret(innerFrame, dragCaret, range, point))