blob: f2ad38e45d3c8c9db0605c5ce512ea3f24a3a9e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_CHROMEOS_OPTIONS_CELLULAR_CONFIG_VIEW_H_
#define CHROME_BROWSER_CHROMEOS_OPTIONS_CELLULAR_CONFIG_VIEW_H_
#include <string>
#include "chrome/browser/chromeos/cros/network_library.h"
#include "views/controls/button/checkbox.h"
#include "views/view.h"
namespace chromeos {
class NetworkConfigView;
// A dialog box for showing a password textfield.
class CellularConfigView : public views::View {
public:
CellularConfigView(NetworkConfigView* parent,
const CellularNetwork& cellular);
explicit CellularConfigView(NetworkConfigView* parent);
virtual ~CellularConfigView() {}
// Save network information.
virtual bool Save();
private:
// Initializes UI.
void Init();
NetworkConfigView* parent_;
CellularNetwork cellular_;
views::Checkbox* autoconnect_checkbox_;
DISALLOW_COPY_AND_ASSIGN(CellularConfigView);
};
} // namespace chromeos
#endif // CHROME_BROWSER_CHROMEOS_OPTIONS_CELLULAR_CONFIG_VIEW_H_
|