| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 virtual void ButtonPressed(views::Button* sender, | 60 virtual void ButtonPressed(views::Button* sender, |
| 61 const ui::Event& event) OVERRIDE; | 61 const ui::Event& event) OVERRIDE; |
| 62 | 62 |
| 63 // views::ComboboxListener: | 63 // views::ComboboxListener: |
| 64 virtual void OnSelectedIndexChanged(views::Combobox* combobox) OVERRIDE; | 64 virtual void OnSelectedIndexChanged(views::Combobox* combobox) OVERRIDE; |
| 65 | 65 |
| 66 // CertLibrary::Observer: | 66 // CertLibrary::Observer: |
| 67 virtual void OnCertificatesLoaded(bool initial_load) OVERRIDE; | 67 virtual void OnCertificatesLoaded(bool initial_load) OVERRIDE; |
| 68 | 68 |
| 69 // ChildNetworkConfigView: | 69 // ChildNetworkConfigView: |
| 70 virtual string16 GetTitle() const OVERRIDE; |
| 70 virtual views::View* GetInitiallyFocusedView() OVERRIDE; | 71 virtual views::View* GetInitiallyFocusedView() OVERRIDE; |
| 71 virtual bool CanLogin() OVERRIDE; | 72 virtual bool CanLogin() OVERRIDE; |
| 72 virtual bool Login() OVERRIDE; | 73 virtual bool Login() OVERRIDE; |
| 73 virtual void Cancel() OVERRIDE; | 74 virtual void Cancel() OVERRIDE; |
| 74 virtual void InitFocus() OVERRIDE; | 75 virtual void InitFocus() OVERRIDE; |
| 75 | 76 |
| 76 // Parses a WiFi UI |property| from the ONC associated with |network|. |key| | 77 // Parses a WiFi UI |property| from the ONC associated with |network|. |key| |
| 77 // is the property name within the ONC WiFi dictionary. | 78 // is the property name within the ONC WiFi dictionary. |
| 78 static void ParseWiFiUIProperty(NetworkPropertyUIData* property_ui_data, | 79 static void ParseWiFiUIProperty(NetworkPropertyUIData* property_ui_data, |
| 79 Network* network, | 80 Network* network, |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 views::Textfield* passphrase_textfield_; | 173 views::Textfield* passphrase_textfield_; |
| 173 views::ToggleImageButton* passphrase_visible_button_; | 174 views::ToggleImageButton* passphrase_visible_button_; |
| 174 views::Label* error_label_; | 175 views::Label* error_label_; |
| 175 | 176 |
| 176 DISALLOW_COPY_AND_ASSIGN(WifiConfigView); | 177 DISALLOW_COPY_AND_ASSIGN(WifiConfigView); |
| 177 }; | 178 }; |
| 178 | 179 |
| 179 } // namespace chromeos | 180 } // namespace chromeos |
| 180 | 181 |
| 181 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_WIFI_CONFIG_VIEW_H_ | 182 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_WIFI_CONFIG_VIEW_H_ |
| OLD | NEW |