Index: content/common/view_messages.h |
diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
index ed50c60e39436da38c4fd15923d6ccc29fef5ea9..4a6aa0e76065b76e768cebaa386a58fd381e5b76 100644 |
--- a/content/common/view_messages.h |
+++ b/content/common/view_messages.h |
@@ -79,8 +79,10 @@ 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) |
Avi (use Gerrit)
2014/09/26 15:07:10
1) respect 80 column limit
2) alignment
|
IPC_ENUM_TRAITS(gfx::FontRenderParams::Hinting) |
IPC_ENUM_TRAITS(gfx::FontRenderParams::SubpixelRendering) |
IPC_ENUM_TRAITS_MAX_VALUE(content::TapMultipleTargetsStrategy, |