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

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

Issue 8896009: Fix page zoom for plug-in documents (PDF, etc.) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/ui/prefs/prefs_tab_helper.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "chrome/browser/renderer_preferences_util.h" 5 #include "chrome/browser/renderer_preferences_util.h"
6 6
7 #include "chrome/browser/prefs/pref_service.h" 7 #include "chrome/browser/prefs/pref_service.h"
8 #include "chrome/browser/profiles/profile.h" 8 #include "chrome/browser/profiles/profile.h"
9 #include "chrome/common/pref_names.h" 9 #include "chrome/common/pref_names.h"
10 #include "content/public/common/renderer_preferences.h" 10 #include "content/public/common/renderer_preferences.h"
(...skipping 30 matching lines...) Expand all
41 prefs->active_selection_bg_color = SkColorSetRGB(0xDC, 0xE4, 0xFA); 41 prefs->active_selection_bg_color = SkColorSetRGB(0xDC, 0xE4, 0xFA);
42 prefs->active_selection_fg_color = SK_ColorBLACK; 42 prefs->active_selection_fg_color = SK_ColorBLACK;
43 prefs->inactive_selection_bg_color = SkColorSetRGB(0xEA, 0xEA, 0xEA); 43 prefs->inactive_selection_bg_color = SkColorSetRGB(0xEA, 0xEA, 0xEA);
44 prefs->inactive_selection_fg_color = SK_ColorBLACK; 44 prefs->inactive_selection_fg_color = SK_ColorBLACK;
45 #endif // defined(OS_CHROMEOS) 45 #endif // defined(OS_CHROMEOS)
46 46
47 #endif // defined(TOOLKIT_USES_GTK) 47 #endif // defined(TOOLKIT_USES_GTK)
48 48
49 prefs->enable_referrers = 49 prefs->enable_referrers =
50 profile->GetPrefs()->GetBoolean(prefs::kEnableReferrers); 50 profile->GetPrefs()->GetBoolean(prefs::kEnableReferrers);
51 prefs->default_zoom_level =
52 profile->GetPrefs()->GetDouble(prefs::kDefaultZoomLevel);
51 } 53 }
52 54
53 } // renderer_preferences_util 55 } // renderer_preferences_util
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/prefs/prefs_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698