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

Unified Diff: content/public/common/renderer_preferences.cc

Issue 410413008: Revert of content: Remove RendererPreferences font-rendering enums. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/common/renderer_preferences.h ('k') | content/renderer/render_view_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/renderer_preferences.cc
diff --git a/content/public/common/renderer_preferences.cc b/content/public/common/renderer_preferences.cc
index eb4cb47b3d6ac0d794bd8a1f1e69b095c780d4ad..1e4c6d55ec82770d0839efd0d992a732d91fc263 100644
--- a/content/public/common/renderer_preferences.cc
+++ b/content/public/common/renderer_preferences.cc
@@ -5,7 +5,6 @@
#include "content/public/common/renderer_preferences.h"
#include "third_party/skia/include/core/SkColor.h"
-#include "ui/gfx/font_render_params.h"
namespace {
// The touchpad / touchscreen fling profiles are a matched set
@@ -22,11 +21,12 @@
RendererPreferences::RendererPreferences()
: can_accept_load_drops(true),
should_antialias_text(true),
- hinting(gfx::FontRenderParams::HINTING_MEDIUM),
+ hinting(RENDERER_PREFERENCES_HINTING_SYSTEM_DEFAULT),
use_autohinter(false),
use_bitmaps(false),
- subpixel_rendering(gfx::FontRenderParams::SUBPIXEL_RENDERING_NONE),
- use_subpixel_positioning(true),
+ subpixel_rendering(
+ RENDERER_PREFERENCES_SUBPIXEL_RENDERING_SYSTEM_DEFAULT),
+ use_subpixel_positioning(false),
focus_ring_color(SkColorSetARGB(255, 229, 151, 0)),
thumb_active_color(SkColorSetRGB(244, 244, 244)),
thumb_inactive_color(SkColorSetRGB(234, 234, 234)),
« no previous file with comments | « content/public/common/renderer_preferences.h ('k') | content/renderer/render_view_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698