| OLD | NEW |
| 1 // Copyright (c) 2010 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 #include "chrome/browser/chromeos/options/internet_page_view.h" | 5 #include "chrome/browser/chromeos/options/internet_page_view.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
| 10 #include "app/resource_bundle.h" | 10 #include "app/resource_bundle.h" |
| 11 #include "base/string_util.h" | 11 #include "base/string_util.h" |
| 12 #include "base/utf_string_conversions.h" | 12 #include "base/utf_string_conversions.h" |
| 13 #include "chrome/browser/chromeos/cros/cros_library.h" | 13 #include "chrome/browser/chromeos/cros/cros_library.h" |
| 14 #include "chrome/browser/chromeos/options/network_config_view.h" | 14 #include "chrome/browser/chromeos/options/network_config_view.h" |
| 15 #include "chrome/browser/chromeos/options/options_window_view.h" | 15 #include "chrome/browser/chromeos/options/options_window_view.h" |
| 16 #include "chrome/browser/chromeos/status/network_menu.h" | 16 #include "chrome/browser/chromeos/status/network_menu.h" |
| 17 #include "chrome/browser/views/window.h" | 17 #include "chrome/browser/ui/views/window.h" |
| 18 #include "grit/generated_resources.h" | 18 #include "grit/generated_resources.h" |
| 19 #include "grit/theme_resources.h" | 19 #include "grit/theme_resources.h" |
| 20 #include "views/controls/button/native_button.h" | 20 #include "views/controls/button/native_button.h" |
| 21 #include "views/controls/combobox/combobox.h" | 21 #include "views/controls/combobox/combobox.h" |
| 22 #include "views/controls/image_view.h" | 22 #include "views/controls/image_view.h" |
| 23 #include "views/controls/scroll_view.h" | 23 #include "views/controls/scroll_view.h" |
| 24 #include "views/widget/widget.h" | 24 #include "views/widget/widget.h" |
| 25 #include "views/window/window.h" | 25 #include "views/window/window.h" |
| 26 | 26 |
| 27 namespace chromeos { | 27 namespace chromeos { |
| (...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 587 scroll_view_->SetBounds(GetLocalBounds(false)); | 587 scroll_view_->SetBounds(GetLocalBounds(false)); |
| 588 scroll_view_->Layout(); | 588 scroll_view_->Layout(); |
| 589 } | 589 } |
| 590 | 590 |
| 591 void InternetPageView::InitControlLayout() { | 591 void InternetPageView::InitControlLayout() { |
| 592 AddChildView(scroll_view_); | 592 AddChildView(scroll_view_); |
| 593 scroll_view_->SetContents(contents_view_); | 593 scroll_view_->SetContents(contents_view_); |
| 594 } | 594 } |
| 595 | 595 |
| 596 } // namespace chromeos | 596 } // namespace chromeos |
| OLD | NEW |