| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_DOM_UI_CROS_OPTIONS_PAGE_UI_HANDLER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_DOM_UI_CROS_OPTIONS_PAGE_UI_HANDLER_H_ |
| 7 #pragma once |
| 8 |
| 9 #include "chrome/browser/chromeos/cros_settings_provider.h" |
| 10 #include "chrome/browser/dom_ui/options_ui.h" |
| 11 |
| 12 namespace chromeos { |
| 13 |
| 14 // The base class handler of Javascript messages of options pages. |
| 15 class CrosOptionsPageUIHandler : public OptionsPageUIHandler { |
| 16 public: |
| 17 explicit CrosOptionsPageUIHandler(CrosSettingsProvider* provider); |
| 18 virtual ~CrosOptionsPageUIHandler(); |
| 19 |
| 20 protected: |
| 21 scoped_ptr<CrosSettingsProvider> settings_provider_; |
| 22 |
| 23 private: |
| 24 DISALLOW_COPY_AND_ASSIGN(CrosOptionsPageUIHandler); |
| 25 }; |
| 26 |
| 27 } // namespace chromeos |
| 28 |
| 29 #endif // CHROME_BROWSER_CHROMEOS_DOM_UI_CROS_OPTIONS_PAGE_UI_HANDLER_H_ |
| OLD | NEW |