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

Unified Diff: chrome/browser/ui/webui/chromeos/login/network_screen_handler.h

Issue 220693003: [oobe] Postpone localized content reload till WebUI is ready (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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/ui/webui/chromeos/login/network_screen_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/chromeos/login/network_screen_handler.h
diff --git a/chrome/browser/ui/webui/chromeos/login/network_screen_handler.h b/chrome/browser/ui/webui/chromeos/login/network_screen_handler.h
index d163df7f881bdbaf6844045b7f35d5df36cbfd80..b8b56f8c7bd67cb5acd1f36456f48415ec3d03cc 100644
--- a/chrome/browser/ui/webui/chromeos/login/network_screen_handler.h
+++ b/chrome/browser/ui/webui/chromeos/login/network_screen_handler.h
@@ -60,6 +60,9 @@ class NetworkScreenHandler : public NetworkScreenActor,
// Registers the preference for derelict state.
static void RegisterPrefs(PrefRegistrySimple* registry);
+ // Reloads localized contents.
+ void ReloadLocalizedContent();
+
private:
// Handles moving off the screen.
void HandleOnExit();
@@ -124,11 +127,17 @@ class NetworkScreenHandler : public NetworkScreenActor,
// Timeout to detect if the machine is in a derelict state.
base::TimeDelta derelict_detection_timeout_;
+
// Timeout before showing our demo app if the machine is in a derelict state.
base::TimeDelta derelict_idle_timeout_;
+
// Time between updating our total time on oobe.
base::TimeDelta oobe_timer_update_interval_;
+ // True if should reinitialize language and keyboard list once the page
+ // is ready.
+ bool should_reinitialize_language_keyboard_list_;
+
base::WeakPtrFactory<NetworkScreenHandler> weak_ptr_factory_;
DISALLOW_COPY_AND_ASSIGN(NetworkScreenHandler);
« no previous file with comments | « no previous file | chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698