Lines Matching defs:distance
391 bool Page::canGoBackOrForward(int distance) const
393 if (distance == 0)
395 if (distance > 0 && distance <= backForward()->forwardCount())
397 if (distance < 0 && -distance <= backForward()->backCount())
402 void Page::goBackOrForward(int distance)
404 if (distance == 0)
407 HistoryItem* item = backForward()->itemAtIndex(distance);
409 if (distance > 0) {