| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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_OPTIONS_WIFI_CONFIG_VIEW_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_OPTIONS_WIFI_CONFIG_VIEW_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_OPTIONS_WIFI_CONFIG_VIEW_H_ | 6 #define CHROME_BROWSER_CHROMEOS_OPTIONS_WIFI_CONFIG_VIEW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/string16.h" | 12 #include "base/string16.h" |
| 13 #include "chrome/browser/chromeos/cros/cert_library.h" | 13 #include "chrome/browser/chromeos/cros/cert_library.h" |
| 14 #include "chrome/browser/chromeos/options/network_config_view.h" | 14 #include "chrome/browser/chromeos/options/network_config_view.h" |
| 15 #include "ui/base/models/combobox_model.h" | 15 #include "ui/base/models/combobox_model.h" |
| 16 #include "views/controls/button/button.h" | 16 #include "views/controls/button/button.h" |
| 17 #include "views/controls/combobox/combobox.h" | 17 #include "views/controls/combobox/combobox.h" |
| 18 #include "views/controls/textfield/textfield_controller.h" | 18 #include "views/controls/textfield/textfield_controller.h" |
| 19 #include "views/view.h" | 19 #include "views/view.h" |
| 20 | 20 |
| 21 namespace views { | 21 namespace views { |
| 22 class Checkbox; | 22 class Checkbox; |
| 23 class ToggleImageButton; | 23 class ToggleImageButton; |
| 24 class Label; | 24 class Label; |
| 25 } | 25 } |
| 26 | 26 |
| 27 class FilePath; | |
| 28 | |
| 29 namespace chromeos { | 27 namespace chromeos { |
| 30 | 28 |
| 31 // A dialog box for showing a password textfield. | 29 // A dialog box for showing a password textfield. |
| 32 class WifiConfigView : public ChildNetworkConfigView, | 30 class WifiConfigView : public ChildNetworkConfigView, |
| 33 public views::TextfieldController, | 31 public views::TextfieldController, |
| 34 public views::ButtonListener, | 32 public views::ButtonListener, |
| 35 public views::Combobox::Listener, | 33 public views::Combobox::Listener, |
| 36 public CertLibrary::Observer { | 34 public CertLibrary::Observer { |
| 37 public: | 35 public: |
| 38 // Wifi login dialog for wifi network |wifi|. |wifi| must be a non NULL | 36 // Wifi login dialog for wifi network |wifi|. |wifi| must be a non NULL |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 views::Textfield* passphrase_textfield_; | 126 views::Textfield* passphrase_textfield_; |
| 129 views::ToggleImageButton* passphrase_visible_button_; | 127 views::ToggleImageButton* passphrase_visible_button_; |
| 130 views::Label* error_label_; | 128 views::Label* error_label_; |
| 131 | 129 |
| 132 DISALLOW_COPY_AND_ASSIGN(WifiConfigView); | 130 DISALLOW_COPY_AND_ASSIGN(WifiConfigView); |
| 133 }; | 131 }; |
| 134 | 132 |
| 135 } // namespace chromeos | 133 } // namespace chromeos |
| 136 | 134 |
| 137 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_WIFI_CONFIG_VIEW_H_ | 135 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_WIFI_CONFIG_VIEW_H_ |
| OLD | NEW |