summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/offline/offline_load_page.h
diff options
context:
space:
mode:
authoroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-19 00:50:34 +0000
committeroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-19 00:50:34 +0000
commitf34871868e10fd8a454ab8d262b87381ef4456b0 (patch)
tree085b90357ac0854f1baf2b880f1d5b9a0ac410e2 /chrome/browser/chromeos/offline/offline_load_page.h
parente06c3beae331e70eb038a859b0ab6945fef041fb (diff)
downloadchromium_src-f34871868e10fd8a454ab8d262b87381ef4456b0.zip
chromium_src-f34871868e10fd8a454ab8d262b87381ef4456b0.tar.gz
chromium_src-f34871868e10fd8a454ab8d262b87381ef4456b0.tar.bz2
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
Diffstat (limited to 'chrome/browser/chromeos/offline/offline_load_page.h')
-rw-r--r--chrome/browser/chromeos/offline/offline_load_page.h10
1 files changed, 10 insertions, 0 deletions
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_;