Home | History | Annotate | Download | only in editing

Lines Matching refs:m_frame

65     : m_frame(frame)
82 return m_frame.editor();
93 return m_frame.eventHandler().handleTextInputEvent(text, 0, TextEventInputComposition);
106 m_frame.selection().setSelection(selection, 0);
148 m_frame.chromeClient().willSetInputMethodState();
162 Position start = m_frame.selection().start();
163 Position end = m_frame.selection().end();
171 m_frame.chromeClient().didCancelCompositionOnSelectionChange();
188 if (m_frame.selection().isNone())
194 if (Element* target = m_frame.document()->focusedElement()) {
195 unsigned baseOffset = m_frame.selection().base().downstream().deprecatedEditingOffset();
203 RefPtrWillBeRawPtr<CompositionEvent> event = CompositionEvent::create(EventTypeNames::compositionend, m_frame.domWindow(), text, underlines);
210 ASSERT(m_frame.document());
211 TypingCommand::deleteSelection(*m_frame.document(), 0);
221 TypingCommand::closeTyping(&m_frame);
234 m_frame.document()->updateRenderTreeIfNeeded();
238 if (m_frame.selection().isNone())
241 if (Element* target = m_frame.document()->focusedElement()) {
262 target->dispatchEvent(CompositionEvent::create(EventTypeNames::compositionstart, m_frame.domWindow(), m_frame.selectedText(), underlines));
263 event = CompositionEvent::create(EventTypeNames::compositionupdate, m_frame.domWindow(), text, underlines);
267 event = CompositionEvent::create(EventTypeNames::compositionupdate, m_frame.domWindow(), text, underlines);
269 event = CompositionEvent::create(EventTypeNames::compositionend, m_frame.domWindow(), text, underlines);
278 ASSERT(m_frame.document());
279 TypingCommand::deleteSelection(*m_frame.document(), TypingCommand::PreventSpellChecking);
286 ASSERT(m_frame.document());
287 TypingCommand::insertText(*m_frame.document(), text, TypingCommand::SelectInsertedText | TypingCommand::PreventSpellChecking, TypingCommand::TextCompositionUpdate);
290 Position base = m_frame.selection().base().downstream();
291 Position extent = m_frame.selection().extent();
313 m_frame.selection().setSelectedRange(selectedRange.get(), DOWNSTREAM, FrameSelection::NonDirectional, NotUserTriggered);
320 Element* editable = m_frame.selection().rootEditableElement();
321 Position base = m_frame.selection().base().downstream();
329 if (!baseNode || baseNode != m_frame.selection().extent().anchorNode())
350 setComposition(m_frame.selectedText(), underlines, 0, 0);
367 RefPtrWillBeRawPtr<Range> range = m_frame.selection().selection().firstRange();
370 Node* editable = m_frame.selection().rootEditableElementOrTreeScopeRootNode();
379 Element* rootEditableElement = m_frame.selection().rootEditableElement();
387 return m_frame.selection().setSelectedRange(range.get(), VP_DEFAULT_AFFINITY, FrameSelection::NonDirectional, FrameSelection::CloseTyping);
423 } while (m_frame.selection().start() == m_frame.selection().end() && before <= static_cast<int>(selectionOffsets.start()));
424 TypingCommand::deleteSelection(*m_frame.document());