OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 |
11 #include "base/string16.h" | 11 #include "base/string16.h" |
12 #include "chrome/browser/chromeos/cros/cert_library.h" | 12 #include "chrome/browser/chromeos/cros/cert_library.h" |
13 #include "chrome/browser/chromeos/options/network_config_view.h" | 13 #include "chrome/browser/chromeos/options/network_config_view.h" |
14 #include "chrome/browser/ui/select_file_dialog.h" | 14 #include "chrome/browser/ui/select_file_dialog.h" |
15 #include "ui/views/controls/button/button.h" | 15 #include "ui/views/controls/button/button.h" |
16 #include "ui/views/controls/combobox/combobox_listener.h" | 16 #include "ui/views/controls/combobox/combobox_listener.h" |
17 #include "ui/views/controls/textfield/textfield_controller.h" | 17 #include "ui/views/controls/textfield/textfield_controller.h" |
18 #include "views/view.h" | 18 #include "ui/views/view.h" |
19 | 19 |
20 namespace views { | 20 namespace views { |
21 class Label; | 21 class Label; |
22 } | 22 } |
23 | 23 |
24 namespace chromeos { | 24 namespace chromeos { |
25 | 25 |
26 // A dialog box to allow configuration of VPN connection. | 26 // A dialog box to allow configuration of VPN connection. |
27 class VPNConfigView : public ChildNetworkConfigView, | 27 class VPNConfigView : public ChildNetworkConfigView, |
28 public views::TextfieldController, | 28 public views::TextfieldController, |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 views::Label* group_name_label_; | 132 views::Label* group_name_label_; |
133 views::Textfield* group_name_textfield_; | 133 views::Textfield* group_name_textfield_; |
134 views::Label* error_label_; | 134 views::Label* error_label_; |
135 | 135 |
136 DISALLOW_COPY_AND_ASSIGN(VPNConfigView); | 136 DISALLOW_COPY_AND_ASSIGN(VPNConfigView); |
137 }; | 137 }; |
138 | 138 |
139 } // namespace chromeos | 139 } // namespace chromeos |
140 | 140 |
141 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_VPN_CONFIG_VIEW_H_ | 141 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_VPN_CONFIG_VIEW_H_ |
OLD | NEW |