From f34871868e10fd8a454ab8d262b87381ef4456b0 Mon Sep 17 00:00:00 2001 From: "oshima@chromium.org" Date: Fri, 19 Nov 2010 00:50:34 +0000 Subject: New offline page that is closer to mock. This is intermediate solution and I will work on merging chrome's error page and offline page after beta. BUG=chromium-os:5066, chromium-os:8285 TEST=turn off wifi, disconnect ethernet. open app from ntp and/or type in url in omnibox. New offline page should be shown as in 5066. Review URL: http://codereview.chromium.org/5151006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66713 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/chromeos/offline/offline_load_page.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'chrome/browser/chromeos/offline/offline_load_page.h') diff --git a/chrome/browser/chromeos/offline/offline_load_page.h b/chrome/browser/chromeos/offline/offline_load_page.h index b6eb046..fc8c528 100644 --- a/chrome/browser/chromeos/offline/offline_load_page.h +++ b/chrome/browser/chromeos/offline/offline_load_page.h @@ -13,6 +13,8 @@ #include "chrome/common/notification_observer.h" #include "chrome/common/notification_service.h" +class DictionaryValue; +class Extension; class TabContents; namespace chromeos { @@ -59,6 +61,14 @@ class OfflineLoadPage : public InterstitialPage { const NotificationSource& source, const NotificationDetails& details); + // Retrieves template strings of the offline page for app and + // normal site. + void GetAppOfflineStrings(const Extension* app, + const string16& faield_url, + DictionaryValue* strings) const; + void GetNormalOfflineStrings(const string16& faield_url, + DictionaryValue* strings) const; + Delegate* delegate_; NotificationRegistrar registrar_; -- cgit v1.1