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 20 matching lines...) Expand all Loading... |
31 public: | 31 public: |
32 // Wimax login dialog for wimax network |wimax|. |wimax| must be a non NULL | 32 // Wimax login dialog for wimax network |wimax|. |wimax| must be a non NULL |
33 // pointer to a WimaxNetwork in NetworkLibrary. | 33 // pointer to a WimaxNetwork in NetworkLibrary. |
34 WimaxConfigView(NetworkConfigView* parent, WimaxNetwork* wimax); | 34 WimaxConfigView(NetworkConfigView* parent, WimaxNetwork* wimax); |
35 virtual ~WimaxConfigView(); | 35 virtual ~WimaxConfigView(); |
36 | 36 |
37 // views::TextfieldController: | 37 // views::TextfieldController: |
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 views::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 views::Event& event) OVERRIDE; | 45 const views::Event& event) OVERRIDE; |
46 | 46 |
47 // ChildNetworkConfigView: | 47 // ChildNetworkConfigView: |
48 virtual views::View* GetInitiallyFocusedView() OVERRIDE; | 48 virtual views::View* GetInitiallyFocusedView() OVERRIDE; |
49 virtual bool CanLogin() OVERRIDE; | 49 virtual bool CanLogin() OVERRIDE; |
50 virtual bool Login() OVERRIDE; | 50 virtual bool Login() OVERRIDE; |
51 virtual void Cancel() OVERRIDE; | 51 virtual void Cancel() OVERRIDE; |
(...skipping 27 matching lines...) Expand all Loading... |
79 views::Textfield* passphrase_textfield_; | 79 views::Textfield* passphrase_textfield_; |
80 views::ToggleImageButton* passphrase_visible_button_; | 80 views::ToggleImageButton* passphrase_visible_button_; |
81 views::Label* error_label_; | 81 views::Label* error_label_; |
82 | 82 |
83 DISALLOW_COPY_AND_ASSIGN(WimaxConfigView); | 83 DISALLOW_COPY_AND_ASSIGN(WimaxConfigView); |
84 }; | 84 }; |
85 | 85 |
86 } // namespace chromeos | 86 } // namespace chromeos |
87 | 87 |
88 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_WIMAX_CONFIG_VIEW_H_ | 88 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_WIMAX_CONFIG_VIEW_H_ |
OLD | NEW |