| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 public views::Combobox::Listener, | 34 public views::Combobox::Listener, |
| 35 public SelectFileDialog::Listener { | 35 public SelectFileDialog::Listener { |
| 36 public: | 36 public: |
| 37 WifiConfigView(NetworkConfigView* parent, const WifiNetwork* wifi); | 37 WifiConfigView(NetworkConfigView* parent, const WifiNetwork* wifi); |
| 38 explicit WifiConfigView(NetworkConfigView* parent); | 38 explicit WifiConfigView(NetworkConfigView* parent); |
| 39 virtual ~WifiConfigView(); | 39 virtual ~WifiConfigView(); |
| 40 | 40 |
| 41 // views::Textfield::Controller methods. | 41 // views::Textfield::Controller methods. |
| 42 virtual void ContentsChanged(views::Textfield* sender, | 42 virtual void ContentsChanged(views::Textfield* sender, |
| 43 const string16& new_contents); | 43 const string16& new_contents); |
| 44 virtual bool HandleKeystroke(views::Textfield* sender, | 44 virtual bool HandleKeyEvent(views::Textfield* sender, |
| 45 const views::Textfield::Keystroke& keystroke); | 45 const views::KeyEvent& key_event); |
| 46 | 46 |
| 47 // views::ButtonListener | 47 // views::ButtonListener |
| 48 virtual void ButtonPressed(views::Button* sender, const views::Event& event); | 48 virtual void ButtonPressed(views::Button* sender, const views::Event& event); |
| 49 | 49 |
| 50 // views::Combobox::Listener | 50 // views::Combobox::Listener |
| 51 virtual void ItemChanged(views::Combobox* combo_box, | 51 virtual void ItemChanged(views::Combobox* combo_box, |
| 52 int prev_index, int new_index); | 52 int prev_index, int new_index); |
| 53 | 53 |
| 54 // SelectFileDialog::Listener implementation. | 54 // SelectFileDialog::Listener implementation. |
| 55 virtual void FileSelected(const FilePath& path, int index, void* params); | 55 virtual void FileSelected(const FilePath& path, int index, void* params); |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 views::Textfield* passphrase_textfield_; | 108 views::Textfield* passphrase_textfield_; |
| 109 views::ImageButton* passphrase_visible_button_; | 109 views::ImageButton* passphrase_visible_button_; |
| 110 views::Label* error_label_; | 110 views::Label* error_label_; |
| 111 | 111 |
| 112 DISALLOW_COPY_AND_ASSIGN(WifiConfigView); | 112 DISALLOW_COPY_AND_ASSIGN(WifiConfigView); |
| 113 }; | 113 }; |
| 114 | 114 |
| 115 } // namespace chromeos | 115 } // namespace chromeos |
| 116 | 116 |
| 117 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_WIFI_CONFIG_VIEW_H_ | 117 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_WIFI_CONFIG_VIEW_H_ |
| OLD | NEW |