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_DOM_UI_ADVANCED_OPTIONS_HANDLER_H_ |
| 6 #define CHROME_BROWSER_DOM_UI_ADVANCED_OPTIONS_HANDLER_H_ |
| 7 |
| 8 #include "chrome/browser/dom_ui/options_ui.h" |
| 9 |
| 10 #if defined(OS_MACOSX) |
| 11 #include "chrome/browser/dom_ui/advanced_options_utils_mac.h" |
| 12 #endif |
| 13 |
| 14 // Chrome advanced options page UI handler. |
| 15 class AdvancedOptionsHandler : public OptionsPageUIHandler { |
| 16 public: |
| 17 AdvancedOptionsHandler(); |
| 18 virtual ~AdvancedOptionsHandler(); |
| 19 |
| 20 // OptionsUIHandler implementation. |
| 21 virtual void GetLocalizedValues(DictionaryValue* localized_strings); |
| 22 |
| 23 // DOMMessageHandler implementation. |
| 24 virtual void RegisterMessages(); |
| 25 |
| 26 private: |
| 27 #if defined(OS_MACOSX) |
| 28 // Callback for the "showNetworkProxySettings" message. This will invoke |
| 29 // the Mac OS X Network panel for configuring proxy settings. |
| 30 void ShowNetworkProxySettings(const Value* value); |
| 31 |
| 32 // Callback for the "showManageSSLCertificates" message. This will invoke |
| 33 // the Mac OS X Keychain application for inspecting certificates. |
| 34 void ShowManageSSLCertificates(const Value* value); |
| 35 #endif |
| 36 |
| 37 DISALLOW_COPY_AND_ASSIGN(AdvancedOptionsHandler); |
| 38 }; |
| 39 |
| 40 #endif // CHROME_BROWSER_DOM_UI_ADVANCED_OPTIONS_HANDLER_H_ |
OLD | NEW |