OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 // Contains code for handling "about:" URLs in the browser process. | 5 // Contains code for handling "about:" URLs in the browser process. |
6 | 6 |
7 #ifndef CHROME_BROWSER_BROWSER_ABOUT_HANDLER_H_ | 7 #ifndef CHROME_BROWSER_BROWSER_ABOUT_HANDLER_H_ |
8 #define CHROME_BROWSER_BROWSER_ABOUT_HANDLER_H_ | 8 #define CHROME_BROWSER_BROWSER_ABOUT_HANDLER_H_ |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 static std::string AboutCredits(); | 64 static std::string AboutCredits(); |
65 | 65 |
66 // Renders a special page for "about:terms" which displays our | 66 // Renders a special page for "about:terms" which displays our |
67 // terms and conditions. | 67 // terms and conditions. |
68 static std::string AboutTerms(); | 68 static std::string AboutTerms(); |
69 | 69 |
70 // Renders a special page for about:memory which displays | 70 // Renders a special page for about:memory which displays |
71 // information about current state. | 71 // information about current state. |
72 static void AboutMemory(AboutSource*, int request_id); | 72 static void AboutMemory(AboutSource*, int request_id); |
73 | 73 |
| 74 // This displays the Linux splash screen for development releases. |
| 75 static std::string AboutLinuxSplash(); |
| 76 |
74 private: | 77 private: |
75 ChromeURLDataManager::DataSource* about_source_; | 78 ChromeURLDataManager::DataSource* about_source_; |
76 DISALLOW_COPY_AND_ASSIGN(BrowserAboutHandler); | 79 DISALLOW_COPY_AND_ASSIGN(BrowserAboutHandler); |
77 }; | 80 }; |
78 | 81 |
79 #endif // CHROME_BROWSER_BROWSER_ABOUT_HANDLER_H_ | 82 #endif // CHROME_BROWSER_BROWSER_ABOUT_HANDLER_H_ |
OLD | NEW |