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

Unified Diff: ui/gfx/font_smoothing_win.h

Issue 9370026: Respect the system ClearType setting in RenderTextWin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 10 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
Index: ui/gfx/font_smoothing_win.h
===================================================================
--- ui/gfx/font_smoothing_win.h (revision 0)
+++ ui/gfx/font_smoothing_win.h (revision 0)
@@ -0,0 +1,18 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_GFX_FONT_SMOOTHING_WIN_H_
+#define UI_GFX_FONT_SMOOTHING_WIN_H_
+#pragma once
+
+namespace gfx {
+
+// Returns the Windows system font smoothing settings: whether font smoothing
msw 2012/02/15 00:33:16 nit: verbosity, how about: "Returns the Windows sy
asvitkine_google 2012/02/15 15:10:44 Done.
+// is enabled and whether ClearType is enabled.
+void GetCachedFontSmoothingSettings(bool* smoothing_enabled,
+ bool* cleartype_enabled);
+
+} // namespace gfx
+
+#endif // UI_GFX_FONT_SMOOTHING_WIN_H_

Powered by Google App Engine
This is Rietveld 408576698