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

Side by Side Diff: chrome/browser/ui/prefs/prefs_tab_helper.h

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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
« no previous file with comments | « chrome/browser/ui/pdf/pdf_unsupported_feature.cc ('k') | chrome/browser/ui/sad_tab_helper.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/callback_list.h" 8 #include "base/callback_list.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 // Update the WebContents's RendererPreferences. 52 // Update the WebContents's RendererPreferences.
53 void UpdateRendererPreferences(); 53 void UpdateRendererPreferences();
54 54
55 void OnFontFamilyPrefChanged(const std::string& pref_name); 55 void OnFontFamilyPrefChanged(const std::string& pref_name);
56 void OnWebPrefChanged(const std::string& pref_name); 56 void OnWebPrefChanged(const std::string& pref_name);
57 57
58 content::WebContents* web_contents_; 58 content::WebContents* web_contents_;
59 Profile* profile_; 59 Profile* profile_;
60 content::NotificationRegistrar registrar_; 60 content::NotificationRegistrar registrar_;
61 scoped_ptr<base::CallbackList<void(void)>::Subscription> 61 std::unique_ptr<base::CallbackList<void(void)>::Subscription>
62 style_sheet_subscription_; 62 style_sheet_subscription_;
63 scoped_ptr<ChromeZoomLevelPrefs::DefaultZoomLevelSubscription> 63 std::unique_ptr<ChromeZoomLevelPrefs::DefaultZoomLevelSubscription>
64 default_zoom_level_subscription_; 64 default_zoom_level_subscription_;
65 base::WeakPtrFactory<PrefsTabHelper> weak_ptr_factory_; 65 base::WeakPtrFactory<PrefsTabHelper> weak_ptr_factory_;
66 66
67 DISALLOW_COPY_AND_ASSIGN(PrefsTabHelper); 67 DISALLOW_COPY_AND_ASSIGN(PrefsTabHelper);
68 }; 68 };
69 69
70 #endif // CHROME_BROWSER_UI_PREFS_PREFS_TAB_HELPER_H_ 70 #endif // CHROME_BROWSER_UI_PREFS_PREFS_TAB_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/pdf/pdf_unsupported_feature.cc ('k') | chrome/browser/ui/sad_tab_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698