| 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_VPN_CONFIG_VIEW_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_OPTIONS_VPN_CONFIG_VIEW_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_OPTIONS_VPN_CONFIG_VIEW_H_ | 6 #define CHROME_BROWSER_CHROMEOS_OPTIONS_VPN_CONFIG_VIEW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 virtual void ContentsChanged(views::Textfield* sender, | 39 virtual void ContentsChanged(views::Textfield* sender, |
| 40 const string16& new_contents) OVERRIDE; | 40 const string16& new_contents) OVERRIDE; |
| 41 virtual bool HandleKeyEvent(views::Textfield* sender, | 41 virtual bool HandleKeyEvent(views::Textfield* sender, |
| 42 const views::KeyEvent& key_event) OVERRIDE; | 42 const views::KeyEvent& key_event) OVERRIDE; |
| 43 | 43 |
| 44 // views::ButtonListener: | 44 // views::ButtonListener: |
| 45 virtual void ButtonPressed(views::Button* sender, | 45 virtual void ButtonPressed(views::Button* sender, |
| 46 const views::Event& event) OVERRIDE; | 46 const views::Event& event) OVERRIDE; |
| 47 | 47 |
| 48 // views::ComboboxListener: | 48 // views::ComboboxListener: |
| 49 virtual void ItemChanged(views::Combobox* combo_box, | 49 virtual void OnSelectedIndexChanged(views::Combobox* combobox) OVERRIDE; |
| 50 int prev_index, | |
| 51 int new_index) OVERRIDE; | |
| 52 | 50 |
| 53 // CertLibrary::Observer: | 51 // CertLibrary::Observer: |
| 54 virtual void OnCertificatesLoaded(bool initial_load) OVERRIDE; | 52 virtual void OnCertificatesLoaded(bool initial_load) OVERRIDE; |
| 55 | 53 |
| 56 // ChildNetworkConfigView: | 54 // ChildNetworkConfigView: |
| 57 virtual string16 GetTitle() OVERRIDE; | 55 virtual string16 GetTitle() OVERRIDE; |
| 58 virtual views::View* GetInitiallyFocusedView() OVERRIDE; | 56 virtual views::View* GetInitiallyFocusedView() OVERRIDE; |
| 59 virtual bool CanLogin() OVERRIDE; | 57 virtual bool CanLogin() OVERRIDE; |
| 60 virtual bool Login() OVERRIDE; | 58 virtual bool Login() OVERRIDE; |
| 61 virtual void Cancel() OVERRIDE; | 59 virtual void Cancel() OVERRIDE; |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 views::Label* group_name_label_; | 149 views::Label* group_name_label_; |
| 152 views::Textfield* group_name_textfield_; | 150 views::Textfield* group_name_textfield_; |
| 153 views::Label* error_label_; | 151 views::Label* error_label_; |
| 154 | 152 |
| 155 DISALLOW_COPY_AND_ASSIGN(VPNConfigView); | 153 DISALLOW_COPY_AND_ASSIGN(VPNConfigView); |
| 156 }; | 154 }; |
| 157 | 155 |
| 158 } // namespace chromeos | 156 } // namespace chromeos |
| 159 | 157 |
| 160 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_VPN_CONFIG_VIEW_H_ | 158 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_VPN_CONFIG_VIEW_H_ |
| OLD | NEW |