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

Unified Diff: chrome/browser/dom_ui/advanced_options_handler.h

Issue 2830036: Advanced (Under the Hood) options panel code review (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/dom_ui/advanced_options_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/dom_ui/advanced_options_handler.h
===================================================================
--- chrome/browser/dom_ui/advanced_options_handler.h (revision 0)
+++ chrome/browser/dom_ui/advanced_options_handler.h (revision 0)
@@ -0,0 +1,40 @@
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_DOM_UI_ADVANCED_OPTIONS_HANDLER_H_
+#define CHROME_BROWSER_DOM_UI_ADVANCED_OPTIONS_HANDLER_H_
+
+#include "chrome/browser/dom_ui/options_ui.h"
+
+#if defined(OS_MACOSX)
+#include "chrome/browser/dom_ui/advanced_options_utils_mac.h"
+#endif
+
+// Chrome advanced options page UI handler.
+class AdvancedOptionsHandler : public OptionsPageUIHandler {
+ public:
+ AdvancedOptionsHandler();
+ virtual ~AdvancedOptionsHandler();
+
+ // OptionsUIHandler implementation.
+ virtual void GetLocalizedValues(DictionaryValue* localized_strings);
+
+ // DOMMessageHandler implementation.
+ virtual void RegisterMessages();
+
+ private:
+#if defined(OS_MACOSX)
+ // Callback for the "showNetworkProxySettings" message. This will invoke
+ // the Mac OS X Network panel for configuring proxy settings.
+ void ShowNetworkProxySettings(const Value* value);
+
+ // Callback for the "showManageSSLCertificates" message. This will invoke
+ // the Mac OS X Keychain application for inspecting certificates.
+ void ShowManageSSLCertificates(const Value* value);
+#endif
+
+ DISALLOW_COPY_AND_ASSIGN(AdvancedOptionsHandler);
+};
+
+#endif // CHROME_BROWSER_DOM_UI_ADVANCED_OPTIONS_HANDLER_H_
Property changes on: chrome/browser/dom_ui/advanced_options_handler.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « no previous file | chrome/browser/dom_ui/advanced_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698