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

Side by Side Diff: content/public/common/renderer_preferences.cc

Issue 549303004: Allow default font size changing on Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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) 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 #include "content/public/common/renderer_preferences.h" 5 #include "content/public/common/renderer_preferences.h"
6 6
7 #include "third_party/skia/include/core/SkColor.h" 7 #include "third_party/skia/include/core/SkColor.h"
8 #include "ui/gfx/font_render_params.h" 8 #include "ui/gfx/font_render_params.h"
9 9
10 namespace { 10 namespace {
(...skipping 30 matching lines...) Expand all
41 use_custom_colors(true), 41 use_custom_colors(true),
42 enable_referrers(true), 42 enable_referrers(true),
43 enable_do_not_track(false), 43 enable_do_not_track(false),
44 default_zoom_level(0), 44 default_zoom_level(0),
45 report_frame_name_changes(false), 45 report_frame_name_changes(false),
46 touchpad_fling_profile(3), 46 touchpad_fling_profile(3),
47 touchscreen_fling_profile(3), 47 touchscreen_fling_profile(3),
48 tap_multiple_targets_strategy(TAP_MULTIPLE_TARGETS_STRATEGY_POPUP), 48 tap_multiple_targets_strategy(TAP_MULTIPLE_TARGETS_STRATEGY_POPUP),
49 disable_client_blocked_error_page(false), 49 disable_client_blocked_error_page(false),
50 plugin_fullscreen_allowed(true), 50 plugin_fullscreen_allowed(true),
51 use_video_overlay_for_embedded_encrypted_video(false) { 51 use_video_overlay_for_embedded_encrypted_video(false),
52 default_font_size(0) {
52 touchpad_fling_profile[0] = kDefaultAlpha; 53 touchpad_fling_profile[0] = kDefaultAlpha;
53 touchpad_fling_profile[1] = kDefaultBeta; 54 touchpad_fling_profile[1] = kDefaultBeta;
54 touchpad_fling_profile[2] = kDefaultGamma; 55 touchpad_fling_profile[2] = kDefaultGamma;
55 touchscreen_fling_profile = touchpad_fling_profile; 56 touchscreen_fling_profile = touchpad_fling_profile;
56 } 57 }
57 58
58 RendererPreferences::~RendererPreferences() { } 59 RendererPreferences::~RendererPreferences() { }
59 60
60 } // namespace content 61 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698