Lines Matching refs:walk
938 NodeWalk walk;
956 while (walk.mMore || (node = node->traverseNextNode()) != NULL) {
1067 bool more = walk.mMore;
1068 walk.reset();
1144 if (isFocusableText(&walk, more, node, &checkType,
1162 if (ConstructTextRects((WebCore::Text*) node, walk.mStart,
1163 (WebCore::Text*) walk.mFinalNode, walk.mEnd, globalOffsetX,
2166 // a real challenge to adapt to walk text across multiple nodes, I imagine
2168 // either walk the node tree directly or make a callout to get the next or previous node, if there is one
2534 bool CacheBuilder::isFocusableText(NodeWalk* walk, bool more, Node* node,
2548 walk->mStart = 0;
2549 walk->mEnd = 0;
2550 walk->mFinalNode = node;
2551 walk->mLastInline = NULL;
2558 InlineTextBox* baseInline = walk->mLastInline != NULL ? walk->mLastInline :
2562 int start = walk->mEnd;
2618 if (foundBetter == false || walk->mStart > findState.mStartResult) {
2619 walk->mStart = findState.mStartResult + firstStart;
2621 walk->mFinalNode = node;
2622 walk->mEnd = findState.mEndResult + start;
2623 walk->mMore = node == textNode &&
2624 walk->mEnd < (int) string->length();
2625 walk->mLastInline = inlineTextBox;
2627 walk->mFinalNode = lastPartialNode;
2628 walk->mEnd = lastPartialEnd;
2629 walk->mMore = lastPartialMore;
2630 walk->mLastInline = lastPartialInline;
2639 start = walk->mStart;
2644 int end = tempText == walk->mFinalNode ?
2645 walk->mEnd : string->length();
2650 if (temp == walk->mFinalNode)
2741 walk->reset();