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

Unified Diff: ui/gfx/font_render_params.h

Issue 1091773002: Apply automatic range checks to content enum types across IPC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Apply automatic range checks to content enum types across IPC. Created 5 years, 8 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/window_container_type.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/font_render_params.h
diff --git a/ui/gfx/font_render_params.h b/ui/gfx/font_render_params.h
index ed4e593305696d847657e766dded8d2ec076487c..8febd661fd233edb3c8f2c11f80971511b460984 100644
--- a/ui/gfx/font_render_params.h
+++ b/ui/gfx/font_render_params.h
@@ -24,6 +24,8 @@ struct GFX_EXPORT FontRenderParams {
HINTING_SLIGHT,
HINTING_MEDIUM,
HINTING_FULL,
+
+ HINTING_MAX = HINTING_FULL,
};
// Different subpixel orders to be used for subpixel rendering.
@@ -33,6 +35,8 @@ struct GFX_EXPORT FontRenderParams {
SUBPIXEL_RENDERING_BGR,
SUBPIXEL_RENDERING_VRGB,
SUBPIXEL_RENDERING_VBGR,
+
+ SUBPIXEL_RENDERING_MAX = SUBPIXEL_RENDERING_VBGR,
};
// Antialiasing (grayscale if |subpixel_rendering| is SUBPIXEL_RENDERING_NONE
« no previous file with comments | « content/public/common/window_container_type.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698