Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(223)

Unified Diff: chrome/browser/chromeos/options/options_window_view.cc

Issue 6307019: Cleanup: remove unused internet and system pages for chrome os options. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/options/options_window_view.cc
diff --git a/chrome/browser/chromeos/options/options_window_view.cc b/chrome/browser/chromeos/options/options_window_view.cc
index 1cc4a62e6a6044657e46db9a01d213b7a7ad1733..3d776bac9c498c41c0478a330841b63fd59a0c73 100644
--- a/chrome/browser/chromeos/options/options_window_view.cc
+++ b/chrome/browser/chromeos/options/options_window_view.cc
@@ -4,8 +4,7 @@
#include "base/scoped_ptr.h"
#include "chrome/browser/browser_process.h"
-#include "chrome/browser/chromeos/options/internet_page_view.h"
-#include "chrome/browser/chromeos/options/system_page_view.h"
+#include "chrome/browser/chromeos/options/settings_page_view.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser_list.h"
#include "chrome/browser/ui/browser_window.h"
@@ -295,23 +294,6 @@ void OptionsWindowView::Init() {
// Setup tab pages.
int tab_index = 0;
-
- SystemPageView* system_page = new SystemPageView(profile_);
- system_page->set_background(views::Background::CreateSolidBackground(
- SK_ColorWHITE));
- tabs_->AddTabAtIndex(tab_index++,
- UTF16ToWide(l10n_util::GetStringUTF16(
- IDS_OPTIONS_SYSTEM_TAB_LABEL)),
- system_page, false);
-
- InternetPageView* internet_page = new InternetPageView(profile_);
- internet_page->set_background(views::Background::CreateSolidBackground(
- SK_ColorWHITE));
- tabs_->AddTabAtIndex(tab_index++,
- UTF16ToWide(l10n_util::GetStringUTF16(
- IDS_OPTIONS_INTERNET_TAB_LABEL)),
- internet_page, false);
-
tabs_->AddTabAtIndex(tab_index++,
UTF16ToWide(l10n_util::GetStringUTF16(
IDS_OPTIONS_GENERAL_TAB_LABEL)),
« no previous file with comments | « chrome/browser/chromeos/options/internet_page_view.cc ('k') | chrome/browser/chromeos/options/system_page_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698