| 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_WIMAX_CONFIG_VIEW_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_OPTIONS_WIMAX_CONFIG_VIEW_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_OPTIONS_WIMAX_CONFIG_VIEW_H_ | 6 #define CHROME_BROWSER_CHROMEOS_OPTIONS_WIMAX_CONFIG_VIEW_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 virtual void ContentsChanged(views::Textfield* sender, | 38 virtual void ContentsChanged(views::Textfield* sender, |
| 39 const string16& new_contents) OVERRIDE; | 39 const string16& new_contents) OVERRIDE; |
| 40 virtual bool HandleKeyEvent(views::Textfield* sender, | 40 virtual bool HandleKeyEvent(views::Textfield* sender, |
| 41 const ui::KeyEvent& key_event) OVERRIDE; | 41 const ui::KeyEvent& key_event) OVERRIDE; |
| 42 | 42 |
| 43 // views::ButtonListener: | 43 // views::ButtonListener: |
| 44 virtual void ButtonPressed(views::Button* sender, | 44 virtual void ButtonPressed(views::Button* sender, |
| 45 const ui::Event& event) OVERRIDE; | 45 const ui::Event& event) OVERRIDE; |
| 46 | 46 |
| 47 // ChildNetworkConfigView: | 47 // ChildNetworkConfigView: |
| 48 virtual string16 GetTitle() const OVERRIDE; |
| 48 virtual views::View* GetInitiallyFocusedView() OVERRIDE; | 49 virtual views::View* GetInitiallyFocusedView() OVERRIDE; |
| 49 virtual bool CanLogin() OVERRIDE; | 50 virtual bool CanLogin() OVERRIDE; |
| 50 virtual bool Login() OVERRIDE; | 51 virtual bool Login() OVERRIDE; |
| 51 virtual void Cancel() OVERRIDE; | 52 virtual void Cancel() OVERRIDE; |
| 52 virtual void InitFocus() OVERRIDE; | 53 virtual void InitFocus() OVERRIDE; |
| 53 | 54 |
| 54 private: | 55 private: |
| 55 void Init(WimaxNetwork* wimax); | 56 void Init(WimaxNetwork* wimax); |
| 56 | 57 |
| 57 // Get input values. | 58 // Get input values. |
| (...skipping 21 matching lines...) Expand all Loading... |
| 79 views::Textfield* passphrase_textfield_; | 80 views::Textfield* passphrase_textfield_; |
| 80 views::ToggleImageButton* passphrase_visible_button_; | 81 views::ToggleImageButton* passphrase_visible_button_; |
| 81 views::Label* error_label_; | 82 views::Label* error_label_; |
| 82 | 83 |
| 83 DISALLOW_COPY_AND_ASSIGN(WimaxConfigView); | 84 DISALLOW_COPY_AND_ASSIGN(WimaxConfigView); |
| 84 }; | 85 }; |
| 85 | 86 |
| 86 } // namespace chromeos | 87 } // namespace chromeos |
| 87 | 88 |
| 88 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_WIMAX_CONFIG_VIEW_H_ | 89 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_WIMAX_CONFIG_VIEW_H_ |
| OLD | NEW |