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

Unified Diff: chrome/browser/views/options/options_page_view.cc

Issue 113967: Add general options page. Options are working with the following exceptions: (Closed)
Patch Set: Created 11 years, 7 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
« no previous file with comments | « chrome/browser/views/options/options_page_view.h ('k') | chrome/chrome.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/options/options_page_view.cc
diff --git a/chrome/browser/views/options/options_page_view.cc b/chrome/browser/views/options/options_page_view.cc
index 61906217cbdbdb1bc9680ded62b553cc1f7014b5..6e7747ba210ac9c623f593a0ed3b922a45c9385a 100644
--- a/chrome/browser/views/options/options_page_view.cc
+++ b/chrome/browser/views/options/options_page_view.cc
@@ -14,30 +14,13 @@
// OptionsPageView
OptionsPageView::OptionsPageView(Profile* profile)
- : profile_(profile),
+ : OptionsPageBase(profile),
initialized_(false) {
}
OptionsPageView::~OptionsPageView() {
}
-void OptionsPageView::UserMetricsRecordAction(const wchar_t* action,
- PrefService* prefs) {
- UserMetrics::RecordComputedAction(action, profile());
- if (prefs)
- prefs->ScheduleSavePersistentPrefs();
-}
-
-///////////////////////////////////////////////////////////////////////////////
-// OptionsPageView, NotificationObserver implementation:
-
-void OptionsPageView::Observe(NotificationType type,
- const NotificationSource& source,
- const NotificationDetails& details) {
- if (type == NotificationType::PREF_CHANGED)
- NotifyPrefChanged(Details<std::wstring>(details).ptr());
-}
-
///////////////////////////////////////////////////////////////////////////////
// OptionsPageView, views::View overrides:
« no previous file with comments | « chrome/browser/views/options/options_page_view.h ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698