| OLD | NEW |
| 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_UI_WEBUI_OPTIONS_CHROMEOS_ABOUT_PAGE_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_ABOUT_PAGE_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_ABOUT_PAGE_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_ABOUT_PAGE_HANDLER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "chrome/browser/ui/webui/options/options_ui.h" | 10 #include "chrome/browser/ui/webui/options/options_ui.h" |
| 11 | |
| 12 #include "chrome/browser/ui/webui/options/chromeos/cros_options_page_ui_handler.
h" | |
| 13 #include "chrome/browser/chromeos/cros/update_library.h" | 11 #include "chrome/browser/chromeos/cros/update_library.h" |
| 14 #include "chrome/browser/chromeos/version_loader.h" | 12 #include "chrome/browser/chromeos/version_loader.h" |
| 15 | 13 |
| 16 namespace chromeos { | 14 namespace chromeos { |
| 17 | 15 |
| 18 // ChromeOS about page UI handler. | 16 // ChromeOS about page UI handler. |
| 19 class AboutPageHandler : public CrosOptionsPageUIHandler { | 17 class AboutPageHandler : public OptionsPageUIHandler { |
| 20 | 18 |
| 21 public: | 19 public: |
| 22 AboutPageHandler(); | 20 AboutPageHandler(); |
| 23 virtual ~AboutPageHandler(); | 21 virtual ~AboutPageHandler(); |
| 24 | 22 |
| 25 // OptionsPageUIHandler implementation. | 23 // OptionsPageUIHandler implementation. |
| 26 virtual void GetLocalizedValues(base::DictionaryValue* localized_strings); | 24 virtual void GetLocalizedValues(base::DictionaryValue* localized_strings); |
| 27 virtual void RegisterMessages(); | 25 virtual void RegisterMessages(); |
| 28 | 26 |
| 29 private: | 27 private: |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 int progress_; | 61 int progress_; |
| 64 bool sticky_; | 62 bool sticky_; |
| 65 bool started_; | 63 bool started_; |
| 66 | 64 |
| 67 DISALLOW_COPY_AND_ASSIGN(AboutPageHandler); | 65 DISALLOW_COPY_AND_ASSIGN(AboutPageHandler); |
| 68 }; | 66 }; |
| 69 | 67 |
| 70 } // namespace chromeos | 68 } // namespace chromeos |
| 71 | 69 |
| 72 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_ABOUT_PAGE_HANDLER_H_ | 70 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_ABOUT_PAGE_HANDLER_H_ |
| OLD | NEW |