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 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 26 matching lines...) Expand all Loading... |
37 public CertLibrary::Observer { | 37 public CertLibrary::Observer { |
38 public: | 38 public: |
39 VPNConfigView(NetworkConfigView* parent, VirtualNetwork* vpn); | 39 VPNConfigView(NetworkConfigView* parent, VirtualNetwork* vpn); |
40 explicit VPNConfigView(NetworkConfigView* parent); | 40 explicit VPNConfigView(NetworkConfigView* parent); |
41 virtual ~VPNConfigView(); | 41 virtual ~VPNConfigView(); |
42 | 42 |
43 // views::TextfieldController: | 43 // views::TextfieldController: |
44 virtual void ContentsChanged(views::Textfield* sender, | 44 virtual void ContentsChanged(views::Textfield* sender, |
45 const string16& new_contents) OVERRIDE; | 45 const string16& new_contents) OVERRIDE; |
46 virtual bool HandleKeyEvent(views::Textfield* sender, | 46 virtual bool HandleKeyEvent(views::Textfield* sender, |
47 const views::KeyEvent& key_event) OVERRIDE; | 47 const ui::KeyEvent& key_event) OVERRIDE; |
48 | 48 |
49 // views::ButtonListener: | 49 // views::ButtonListener: |
50 virtual void ButtonPressed(views::Button* sender, | 50 virtual void ButtonPressed(views::Button* sender, |
51 const views::Event& event) OVERRIDE; | 51 const views::Event& event) OVERRIDE; |
52 | 52 |
53 // views::ComboboxListener: | 53 // views::ComboboxListener: |
54 virtual void OnSelectedIndexChanged(views::Combobox* combobox) OVERRIDE; | 54 virtual void OnSelectedIndexChanged(views::Combobox* combobox) OVERRIDE; |
55 | 55 |
56 // CertLibrary::Observer: | 56 // CertLibrary::Observer: |
57 virtual void OnCertificatesLoaded(bool initial_load) OVERRIDE; | 57 virtual void OnCertificatesLoaded(bool initial_load) OVERRIDE; |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 views::Label* group_name_label_; | 158 views::Label* group_name_label_; |
159 views::Textfield* group_name_textfield_; | 159 views::Textfield* group_name_textfield_; |
160 views::Label* error_label_; | 160 views::Label* error_label_; |
161 | 161 |
162 DISALLOW_COPY_AND_ASSIGN(VPNConfigView); | 162 DISALLOW_COPY_AND_ASSIGN(VPNConfigView); |
163 }; | 163 }; |
164 | 164 |
165 } // namespace chromeos | 165 } // namespace chromeos |
166 | 166 |
167 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_VPN_CONFIG_VIEW_H_ | 167 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_VPN_CONFIG_VIEW_H_ |
OLD | NEW |