Home | History | Annotate | Download | only in toolbar

Lines Matching refs:history_items

198   int history_items = GetHistoryItemCount();
201 if (index > history_items) {
204 int chapter_stops = GetChapterStopCount(history_items);
209 return (index == history_items + 1 + chapter_stops);
213 return index == history_items;
301 int BackForwardMenuModel::GetChapterStopCount(int history_items) const {
307 if (history_items == kMaxHistoryItems) {
310 chapter_id += history_items;
312 chapter_id -= history_items;
408 int history_items = GetHistoryItemCount();
413 if (index < history_items) {
422 if (index == history_items)
425 if (index >= history_items + 1 + GetChapterStopCount(history_items))
429 index = FindChapterStop(history_items,
431 index - history_items - 1);