OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_UI_PREFS_PREFS_TAB_HELPER_H_ | 5 #ifndef CHROME_BROWSER_UI_PREFS_PREFS_TAB_HELPER_H_ |
6 #define CHROME_BROWSER_UI_PREFS_PREFS_TAB_HELPER_H_ | 6 #define CHROME_BROWSER_UI_PREFS_PREFS_TAB_HELPER_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/prefs/public/pref_change_registrar.h" | 9 #include "base/prefs/pref_change_registrar.h" |
10 #include "content/public/browser/notification_observer.h" | 10 #include "content/public/browser/notification_observer.h" |
11 #include "content/public/browser/notification_registrar.h" | 11 #include "content/public/browser/notification_registrar.h" |
12 #include "content/public/browser/web_contents_user_data.h" | 12 #include "content/public/browser/web_contents_user_data.h" |
13 | 13 |
14 class OverlayUserPrefStore; | 14 class OverlayUserPrefStore; |
15 class PrefRegistrySyncable; | 15 class PrefRegistrySyncable; |
16 class PrefService; | 16 class PrefService; |
17 class Profile; | 17 class Profile; |
18 | 18 |
19 namespace content { | 19 namespace content { |
(...skipping 30 matching lines...) Expand all Loading... |
50 void OnWebPrefChanged(const std::string& pref_name); | 50 void OnWebPrefChanged(const std::string& pref_name); |
51 | 51 |
52 content::WebContents* web_contents_; | 52 content::WebContents* web_contents_; |
53 content::NotificationRegistrar registrar_; | 53 content::NotificationRegistrar registrar_; |
54 PrefChangeRegistrar pref_change_registrar_; | 54 PrefChangeRegistrar pref_change_registrar_; |
55 | 55 |
56 DISALLOW_COPY_AND_ASSIGN(PrefsTabHelper); | 56 DISALLOW_COPY_AND_ASSIGN(PrefsTabHelper); |
57 }; | 57 }; |
58 | 58 |
59 #endif // CHROME_BROWSER_UI_PREFS_PREFS_TAB_HELPER_H_ | 59 #endif // CHROME_BROWSER_UI_PREFS_PREFS_TAB_HELPER_H_ |
OLD | NEW |