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

Side by Side Diff: chrome/browser/gtk/options/general_page_gtk.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_GTK_OPTIONS_GENERAL_PAGE_GTK_H_ 5 #ifndef CHROME_BROWSER_GTK_OPTIONS_GENERAL_PAGE_GTK_H_
6 #define CHROME_BROWSER_GTK_OPTIONS_GENERAL_PAGE_GTK_H_ 6 #define CHROME_BROWSER_GTK_OPTIONS_GENERAL_PAGE_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 10
11 #include <string> 11 #include <string>
12 12
13 #include "app/gtk_signal.h" 13 #include "app/gtk_signal.h"
14 #include "chrome/browser/gtk/gtk_tree.h" 14 #include "chrome/browser/gtk/gtk_tree.h"
15 #include "chrome/browser/gtk/options/managed_prefs_banner_gtk.h" 15 #include "chrome/browser/gtk/options/managed_prefs_banner_gtk.h"
16 #include "chrome/browser/options_page_base.h" 16 #include "chrome/browser/options_page_base.h"
17 #include "chrome/browser/prefs/pref_change_registrar.h"
17 #include "chrome/browser/prefs/pref_member.h" 18 #include "chrome/browser/prefs/pref_member.h"
18 #include "chrome/browser/search_engines/template_url_model_observer.h" 19 #include "chrome/browser/search_engines/template_url_model_observer.h"
19 #include "chrome/browser/shell_integration.h" 20 #include "chrome/browser/shell_integration.h"
20 #include "googleurl/src/gurl.h" 21 #include "googleurl/src/gurl.h"
21 22
22 class AccessibleWidgetHelper; 23 class AccessibleWidgetHelper;
23 class CustomHomePagesTableModel; 24 class CustomHomePagesTableModel;
24 class Profile; 25 class Profile;
25 class TemplateURLModel; 26 class TemplateURLModel;
26 27
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 154
154 // The helper object that performs default browser set/check tasks. 155 // The helper object that performs default browser set/check tasks.
155 scoped_refptr<ShellIntegration::DefaultBrowserWorker> default_browser_worker_; 156 scoped_refptr<ShellIntegration::DefaultBrowserWorker> default_browser_worker_;
156 157
157 // Helper object to manage accessibility metadata. 158 // Helper object to manage accessibility metadata.
158 scoped_ptr<AccessibleWidgetHelper> accessible_widget_helper_; 159 scoped_ptr<AccessibleWidgetHelper> accessible_widget_helper_;
159 160
160 // Tracks managed preference warning banner state. 161 // Tracks managed preference warning banner state.
161 ManagedPrefsBannerGtk managed_prefs_banner_; 162 ManagedPrefsBannerGtk managed_prefs_banner_;
162 163
164 PrefChangeRegistrar registrar_;
165
163 DISALLOW_COPY_AND_ASSIGN(GeneralPageGtk); 166 DISALLOW_COPY_AND_ASSIGN(GeneralPageGtk);
164 }; 167 };
165 168
166 #endif // CHROME_BROWSER_GTK_OPTIONS_GENERAL_PAGE_GTK_H_ 169 #endif // CHROME_BROWSER_GTK_OPTIONS_GENERAL_PAGE_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/gtk/gtk_theme_provider.cc ('k') | chrome/browser/gtk/options/general_page_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698