• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3 // found in the LICENSE file.
4 
5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_PROXY_SETTINGS_UI_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_PROXY_SETTINGS_UI_H_
7 #pragma once
8 
9 #include "chrome/browser/ui/webui/options/options_ui.h"
10 #include "content/browser/webui/web_ui.h"
11 
12 namespace chromeos {
13 
14 // A WebUI to host proxy settings splitted from settings page for better
15 // performance.
16 class ProxySettingsUI : public WebUI,
17                         public OptionsPageUIHandlerHost {
18  public:
19   explicit ProxySettingsUI(TabContents* contents);
20   virtual ~ProxySettingsUI();
21 
22  private:
23   // Overridden from OptionsPageUIHandlerHost:
24   virtual void InitializeHandlers() OVERRIDE;
25 
26   DISALLOW_COPY_AND_ASSIGN(ProxySettingsUI);
27 };
28 
29 }  // namespace chromeos
30 
31 #endif  // CHROME_BROWSER_UI_WEBUI_CHROMEOS_PROXY_SETTINGS_UI_H_
32