| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_OPTIONS_INTERNET_PAGE_VIEW_H_ | |
| 6 #define CHROME_BROWSER_CHROMEOS_OPTIONS_INTERNET_PAGE_VIEW_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include "chrome/browser/chromeos/cros/network_library.h" | |
| 10 #include "chrome/browser/chromeos/options/settings_page_view.h" | |
| 11 | |
| 12 namespace views { | |
| 13 class ScrollView; | |
| 14 } // namespace views | |
| 15 | |
| 16 namespace chromeos { | |
| 17 | |
| 18 class InternetPageContentView; | |
| 19 | |
| 20 // Internet settings page for Chrome OS | |
| 21 class InternetPageView : public SettingsPageView, | |
| 22 public NetworkLibrary::NetworkManagerObserver { | |
| 23 public: | |
| 24 explicit InternetPageView(Profile* profile); | |
| 25 virtual ~InternetPageView(); | |
| 26 | |
| 27 // NetworkLibrary::NetworkManagerObserver implementation. | |
| 28 virtual void OnNetworkManagerChanged(NetworkLibrary* obj); | |
| 29 | |
| 30 // views::View overrides: | |
| 31 virtual void Layout(); | |
| 32 | |
| 33 protected: | |
| 34 // SettingsPageView implementation: | |
| 35 virtual void InitControlLayout(); | |
| 36 | |
| 37 private: | |
| 38 // The contents of the internet page view. | |
| 39 InternetPageContentView* contents_view_; | |
| 40 | |
| 41 // The scroll view that contains the advanced options. | |
| 42 views::ScrollView* scroll_view_; | |
| 43 | |
| 44 DISALLOW_COPY_AND_ASSIGN(InternetPageView); | |
| 45 }; | |
| 46 | |
| 47 } // namespace chromeos | |
| 48 | |
| 49 #endif // CHROME_BROWSER_CHROMEOS_OPTIONS_INTERNET_PAGE_VIEW_H_ | |
| OLD | NEW |