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

Side by Side Diff: chrome/browser/views/options/general_page_view.h

Issue 3304015: Use PrefChangeRegistrar everywhere (Closed)
Patch Set: final version for commit Created 10 years, 2 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #ifndef CHROME_BROWSER_VIEWS_OPTIONS_GENERAL_PAGE_VIEW_H_ 5 #ifndef CHROME_BROWSER_VIEWS_OPTIONS_GENERAL_PAGE_VIEW_H_
6 #define CHROME_BROWSER_VIEWS_OPTIONS_GENERAL_PAGE_VIEW_H_ 6 #define CHROME_BROWSER_VIEWS_OPTIONS_GENERAL_PAGE_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/prefs/pref_change_registrar.h"
9 #include "chrome/browser/prefs/pref_member.h" 10 #include "chrome/browser/prefs/pref_member.h"
10 #include "chrome/browser/shell_integration.h" 11 #include "chrome/browser/shell_integration.h"
11 #include "chrome/browser/views/options/options_page_view.h" 12 #include "chrome/browser/views/options/options_page_view.h"
12 #include "chrome/browser/views/url_picker.h" 13 #include "chrome/browser/views/url_picker.h"
13 #include "views/controls/combobox/combobox.h" 14 #include "views/controls/combobox/combobox.h"
14 #include "views/controls/button/button.h" 15 #include "views/controls/button/button.h"
15 #include "views/controls/table/table_view_observer.h" 16 #include "views/controls/table/table_view_observer.h"
16 #include "views/view.h" 17 #include "views/view.h"
17 18
18 namespace views { 19 namespace views {
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 scoped_ptr<SearchEngineListModel> default_search_engines_model_; 150 scoped_ptr<SearchEngineListModel> default_search_engines_model_;
150 151
151 // Controls for the Default Browser group 152 // Controls for the Default Browser group
152 OptionsGroupView* default_browser_group_; 153 OptionsGroupView* default_browser_group_;
153 views::Label* default_browser_status_label_; 154 views::Label* default_browser_status_label_;
154 views::NativeButton* default_browser_use_as_default_button_; 155 views::NativeButton* default_browser_use_as_default_button_;
155 156
156 // The helper object that performs default browser set/check tasks. 157 // The helper object that performs default browser set/check tasks.
157 scoped_refptr<ShellIntegration::DefaultBrowserWorker> default_browser_worker_; 158 scoped_refptr<ShellIntegration::DefaultBrowserWorker> default_browser_worker_;
158 159
160 PrefChangeRegistrar registrar_;
161
159 DISALLOW_COPY_AND_ASSIGN(GeneralPageView); 162 DISALLOW_COPY_AND_ASSIGN(GeneralPageView);
160 }; 163 };
161 164
162 #endif // CHROME_BROWSER_VIEWS_OPTIONS_GENERAL_PAGE_VIEW_H_ 165 #endif // CHROME_BROWSER_VIEWS_OPTIONS_GENERAL_PAGE_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/translate/translate_manager_unittest.cc ('k') | chrome/browser/views/options/general_page_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698