Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2668)

Unified Diff: chrome/browser/sessions/tab_loader.h

Issue 1130673003: Make session restore forced tab load delay Finch configurable, and separate first tab loads from su… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleaned up comments. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/sessions/tab_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sessions/tab_loader.h
diff --git a/chrome/browser/sessions/tab_loader.h b/chrome/browser/sessions/tab_loader.h
index 519d024f76d0e71c15abf3afedbaa9de5772040f..d40987d59077d2fcf0ce65bc8561d03345df556e 100644
--- a/chrome/browser/sessions/tab_loader.h
+++ b/chrome/browser/sessions/tab_loader.h
@@ -68,8 +68,14 @@ class TabLoader : public content::NotificationObserver,
// otherwise |force_load_timer_| is restarted.
void LoadNextTab();
- // Starts a timer to load load the next tab once expired before the current
- // tab loading is finished.
+ // Starts |force_load_timer_| to load the first non-visible tab if the timer
+ // expires before a visible tab has finished loading. This uses the same
+ // timer but a different timeout value than StartTimer.
+ void StartFirstTimer();
+
+ // Starts |force_load_timer_| to load the next tab if the timer expires
+ // before the current tab loading is finished. This uses the same timer but a
+ // different timeout value than StartFirstTimer.
void StartTimer();
// Removes the listeners from the specified tab and removes the tab from
« no previous file with comments | « no previous file | chrome/browser/sessions/tab_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698