blob: e75bf026fafca062bff1083a3992d680844eb528 (
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
46
47
48
49
50
|
// 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_INTERNET_PAGE_VIEW_H_
#define CHROME_BROWSER_CHROMEOS_OPTIONS_INTERNET_PAGE_VIEW_H_
#pragma once
#include "chrome/browser/chromeos/cros/network_library.h"
#include "chrome/browser/chromeos/options/settings_page_view.h"
namespace views {
class ScrollView;
} // namespace views
namespace chromeos {
class InternetPageContentView;
// Internet settings page for Chrome OS
class InternetPageView : public SettingsPageView,
public NetworkLibrary::Observer {
public:
explicit InternetPageView(Profile* profile);
virtual ~InternetPageView();
// NetworkLibrary::Observer implementation.
virtual void NetworkChanged(NetworkLibrary* obj);
virtual void NetworkTraffic(NetworkLibrary* obj, int traffic_type) {}
// views::View overrides:
virtual void Layout();
protected:
// SettingsPageView implementation:
virtual void InitControlLayout();
private:
// The contents of the internet page view.
InternetPageContentView* contents_view_;
// The scroll view that contains the advanced options.
views::ScrollView* scroll_view_;
DISALLOW_COPY_AND_ASSIGN(InternetPageView);
};
} // namespace chromeos
#endif // CHROME_BROWSER_CHROMEOS_OPTIONS_INTERNET_PAGE_VIEW_H_
|