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

Side by Side Diff: chrome/browser/renderer_preferences_util.h

Issue 541103002: Introduce ChromeZoomLevelPref, make zoom level prefs independent of profile prefs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove obsolete access of ZoomController from WebUILoginView. Created 6 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
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/browser/renderer_preferences_util.cc » ('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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_RENDERER_PREFERENCES_UTIL_H_ 5 #ifndef CHROME_BROWSER_RENDERER_PREFERENCES_UTIL_H_
6 #define CHROME_BROWSER_RENDERER_PREFERENCES_UTIL_H_ 6 #define CHROME_BROWSER_RENDERER_PREFERENCES_UTIL_H_
7 7
8 class Profile; 8 class Profile;
9 9
10 namespace content { 10 namespace content {
11 struct RendererPreferences; 11 struct RendererPreferences;
12 class WebContents;
12 } 13 }
13 14
14 namespace renderer_preferences_util { 15 namespace renderer_preferences_util {
15 16
16 // Copies system configuration preferences into |prefs|. 17 // Copies system configuration preferences into |prefs|.
17 void UpdateFromSystemSettings(content::RendererPreferences* prefs, 18 void UpdateFromSystemSettings(content::RendererPreferences* prefs,
18 Profile* profile); 19 Profile* profile,
20 content::WebContents* web_contents);
19 21
20 } // namespace renderer_preferences_util 22 } // namespace renderer_preferences_util
21 23
22 #endif // CHROME_BROWSER_RENDERER_PREFERENCES_UTIL_H_ 24 #endif // CHROME_BROWSER_RENDERER_PREFERENCES_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/browser/renderer_preferences_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698