Index: content/common/view_messages.h |
diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
index 4605b46ecae07638f9afcb13d93389765a160ab6..393988f54ba9da7b14de605794571c8c06ba48b5 100644 |
--- a/content/common/view_messages.h |
+++ b/content/common/view_messages.h |
@@ -83,8 +83,11 @@ IPC_ENUM_TRAITS(WindowContainerType) |
IPC_ENUM_TRAITS(content::FaviconURL::IconType) |
IPC_ENUM_TRAITS(content::FileChooserParams::Mode) |
IPC_ENUM_TRAITS(content::MenuItem::Type) |
-IPC_ENUM_TRAITS(content::NavigationGesture) |
-IPC_ENUM_TRAITS(content::PageZoom) |
+IPC_ENUM_TRAITS_MAX_VALUE(content::NavigationGesture, |
+ content::NavigationGestureLast) |
+IPC_ENUM_TRAITS_MIN_MAX_VALUE(content::PageZoom, |
+ content::PageZoom::PAGE_ZOOM_OUT, |
+ content::PageZoom::PAGE_ZOOM_IN) |
IPC_ENUM_TRAITS(gfx::FontRenderParams::Hinting) |
IPC_ENUM_TRAITS(gfx::FontRenderParams::SubpixelRendering) |
IPC_ENUM_TRAITS_MAX_VALUE(content::TapMultipleTargetsStrategy, |