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

Side by Side Diff: chrome/browser/chromeos/offline/offline_load_page.h

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_OFFLINE_OFFLINE_LOAD_PAGE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_OFFLINE_OFFLINE_LOAD_PAGE_H_
6 #define CHROME_BROWSER_CHROMEOS_OFFLINE_OFFLINE_LOAD_PAGE_H_ 6 #define CHROME_BROWSER_CHROMEOS_OFFLINE_OFFLINE_LOAD_PAGE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 } 54 }
55 55
56 private: 56 private:
57 // ChromeInterstitialPage implementation. 57 // ChromeInterstitialPage implementation.
58 virtual std::string GetHTMLContents(); 58 virtual std::string GetHTMLContents();
59 virtual void CommandReceived(const std::string& command); 59 virtual void CommandReceived(const std::string& command);
60 virtual void Proceed(); 60 virtual void Proceed();
61 virtual void DontProceed(); 61 virtual void DontProceed();
62 62
63 // Overrides ChromeInterstitialPage's Observe. 63 // Overrides ChromeInterstitialPage's Observe.
64 virtual void Observe(NotificationType type, 64 virtual void Observe(int type,
65 const NotificationSource& source, 65 const NotificationSource& source,
66 const NotificationDetails& details); 66 const NotificationDetails& details);
67 67
68 // Retrieves template strings of the offline page for app and 68 // Retrieves template strings of the offline page for app and
69 // normal site. 69 // normal site.
70 void GetAppOfflineStrings(const Extension* app, 70 void GetAppOfflineStrings(const Extension* app,
71 const string16& faield_url, 71 const string16& faield_url,
72 DictionaryValue* strings) const; 72 DictionaryValue* strings) const;
73 void GetNormalOfflineStrings(const string16& faield_url, 73 void GetNormalOfflineStrings(const string16& faield_url,
74 DictionaryValue* strings) const; 74 DictionaryValue* strings) const;
(...skipping 10 matching lines...) Expand all
85 ScopedRunnableMethodFactory<OfflineLoadPage> method_factory_; 85 ScopedRunnableMethodFactory<OfflineLoadPage> method_factory_;
86 86
87 bool in_test_; 87 bool in_test_;
88 88
89 DISALLOW_COPY_AND_ASSIGN(OfflineLoadPage); 89 DISALLOW_COPY_AND_ASSIGN(OfflineLoadPage);
90 }; 90 };
91 91
92 } // namespace chromeos 92 } // namespace chromeos
93 93
94 #endif // CHROME_BROWSER_CHROMEOS_OFFLINE_OFFLINE_LOAD_PAGE_H_ 94 #endif // CHROME_BROWSER_CHROMEOS_OFFLINE_OFFLINE_LOAD_PAGE_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/notifications/notification_panel.cc ('k') | chrome/browser/chromeos/offline/offline_load_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698