Lines Matching refs:m_frame
76 ASSERT(m_frame);
77 return m_frame->selection().selection();
104 if (!m_frame)
112 if (!m_frame)
120 if (!m_frame)
128 if (!m_frame)
136 if (!m_frame)
144 if (!m_frame)
152 if (!m_frame)
160 if (!m_frame)
168 if (!m_frame || selectionShadowAncestor(m_frame))
170 return !m_frame->selection().isRange();
175 if (!m_frame)
178 FrameSelection& selection = m_frame->selection();
192 if (!m_frame)
194 return m_frame->selection().isNone() ? 0 : 1;
199 if (!m_frame)
203 m_frame->selection().clear();
221 m_frame->selection().setSelectedRange(range.get(), DOWNSTREAM, m_frame->selection().isDirectional() ? FrameSelection::Directional : FrameSelection::NonDirectional);
226 if (!m_frame)
229 const VisibleSelection& selection = m_frame->selection().selection();
236 m_frame->selection().moveTo(VisiblePosition(selection.end(), DOWNSTREAM));
241 if (!m_frame)
244 const VisibleSelection& selection = m_frame->selection().selection();
251 m_frame->selection().moveTo(VisiblePosition(selection.start(), DOWNSTREAM));
256 if (!m_frame)
258 m_frame->selection().clear();
263 if (!m_frame)
283 m_frame->selection().moveTo(visibleBase, visibleExtent);
288 if (!m_frame)
333 m_frame->selection().modify(alter, direction, granularity);
340 if (!m_frame)
356 m_frame->selection().setExtent(VisiblePosition(createLegacyEditingPosition(node, offset), DOWNSTREAM));
361 if (!m_frame)
372 if (Node* shadowAncestor = selectionShadowAncestor(m_frame)) {
379 return m_frame->selection().firstRange();
384 if (!m_frame)
386 m_frame->selection().clear();
391 if (!m_frame)
405 FrameSelection& selection = m_frame->selection();
443 if (!m_frame)
446 FrameSelection& selection = m_frame->selection();
462 if (!m_frame)
465 FrameSelection& selection = m_frame->selection();
467 if (!n || m_frame->document() != n->document() || selection.isNone())
505 if (!m_frame)
509 if (m_frame->selection().selection().toNormalizedPositions(start, end))
551 ASSERT(m_frame);
554 return node->document() == m_frame->document();