| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_CHROMEOS_LOGIN_UI_PROXY_SETTINGS_DIALOG_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UI_PROXY_SETTINGS_DIALOG_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_PROXY_SETTINGS_DIALOG_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_PROXY_SETTINGS_DIALOG_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/chromeos/login/ui/login_web_dialog.h" | 8 #include "chrome/browser/chromeos/login/ui/login_web_dialog.h" |
| 9 #include "ui/gfx/native_widget_types.h" | 9 #include "ui/gfx/native_widget_types.h" |
| 10 | 10 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 static bool IsShown(); | 23 static bool IsShown(); |
| 24 | 24 |
| 25 ProxySettingsDialog(content::BrowserContext* browser_context, | 25 ProxySettingsDialog(content::BrowserContext* browser_context, |
| 26 const NetworkState& network, | 26 const NetworkState& network, |
| 27 LoginWebDialog::Delegate* delegate, | 27 LoginWebDialog::Delegate* delegate, |
| 28 gfx::NativeWindow window); | 28 gfx::NativeWindow window); |
| 29 virtual ~ProxySettingsDialog(); | 29 virtual ~ProxySettingsDialog(); |
| 30 | 30 |
| 31 protected: | 31 protected: |
| 32 // ui::WebDialogDelegate implementation. | 32 // ui::WebDialogDelegate implementation. |
| 33 virtual void OnDialogClosed(const std::string& json_retval) OVERRIDE; | 33 virtual void OnDialogClosed(const std::string& json_retval) override; |
| 34 | 34 |
| 35 private: | 35 private: |
| 36 // TODO(altimofeev): consider avoidance static variable by extending current | 36 // TODO(altimofeev): consider avoidance static variable by extending current |
| 37 // WebUI/login interfaces. | 37 // WebUI/login interfaces. |
| 38 static int instance_count_; | 38 static int instance_count_; |
| 39 | 39 |
| 40 DISALLOW_COPY_AND_ASSIGN(ProxySettingsDialog); | 40 DISALLOW_COPY_AND_ASSIGN(ProxySettingsDialog); |
| 41 }; | 41 }; |
| 42 | 42 |
| 43 } // namespace chromeos | 43 } // namespace chromeos |
| 44 | 44 |
| 45 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_PROXY_SETTINGS_DIALOG_H_ | 45 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_PROXY_SETTINGS_DIALOG_H_ |
| OLD | NEW |