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

Side by Side Diff: chrome/browser/ui/views/options/options_page_view.cc

Issue 6335001: Cleanup: Remove unneeded chrome/browser/prefs/pref_service.h usage.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 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/ui/views/options/options_page_view.h" 5 #include "chrome/browser/ui/views/options/options_page_view.h"
6 6
7 #include "chrome/browser/metrics/user_metrics.h" 7 #include "chrome/browser/metrics/user_metrics.h"
8 #include "chrome/browser/prefs/pref_service.h"
9 #include "views/widget/widget.h" 8 #include "views/widget/widget.h"
10 9
11 /////////////////////////////////////////////////////////////////////////////// 10 ///////////////////////////////////////////////////////////////////////////////
12 // OptionsPageView 11 // OptionsPageView
13 12
14 OptionsPageView::OptionsPageView(Profile* profile) 13 OptionsPageView::OptionsPageView(Profile* profile)
15 : OptionsPageBase(profile), 14 : OptionsPageBase(profile),
16 initialized_(false) { 15 initialized_(false) {
17 } 16 }
18 17
(...skipping 11 matching lines...) Expand all
30 // duplicating the view hierarchy when tabs are switched. 29 // duplicating the view hierarchy when tabs are switched.
31 initialized_ = true; 30 initialized_ = true;
32 InitControlLayout(); 31 InitControlLayout();
33 NotifyPrefChanged(NULL); 32 NotifyPrefChanged(NULL);
34 } 33 }
35 } 34 }
36 35
37 AccessibilityTypes::Role OptionsPageView::GetAccessibleRole() { 36 AccessibilityTypes::Role OptionsPageView::GetAccessibleRole() {
38 return AccessibilityTypes::ROLE_PAGETAB; 37 return AccessibilityTypes::ROLE_PAGETAB;
39 } 38 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/options/fonts_languages_window_view.cc ('k') | chrome/browser/ui/views/options/options_window_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698