Home
last modified time | relevance | path

Searched refs:chapter_stops (Results 1 – 2 of 2) sorted by relevance

/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/toolbar/
H A Dback_forward_menu_model.cc63 int chapter_stops = 0; in GetItemCount() local
67 chapter_stops = GetChapterStopCount(items); in GetItemCount()
69 if (chapter_stops) in GetItemCount()
70 items += chapter_stops + 1; // Chapter stops also need a separator. in GetItemCount()
218 int chapter_stops = GetChapterStopCount(history_items); in IsSeparator() local
219 if (chapter_stops == 0) in IsSeparator()
223 return (index == history_items + 1 + chapter_stops); in IsSeparator()
312 int chapter_stops = 0; in GetChapterStopCount() local
317 ++chapter_stops; in GetChapterStopCount()
318 } while (chapter_stops < kMaxChapterStops); in GetChapterStopCount()
[all …]
H A Dback_forward_menu_model_unittest.cc78 int chapter_stops) { in ValidateModel() argument
80 int c = std::min(BackForwardMenuModel::kMaxChapterStops, chapter_stops); in ValidateModel()