Apply automatic range checks to ppapi enums

This is part of a long-running background task to remove the remaining uses
of the unchecked IPC_ENUM_TRAITS() macro.

Bug: 246708
Change-Id: I2cbf13fb9c306dbc305796cc7d3799a98e43a5b6
Reviewed-on: https://chromium-review.googlesource.com/733843
Reviewed-by: John Abd-El-Malek <[email protected]>
Reviewed-by: Daniel Cheng <[email protected]>
Reviewed-by: Bill Budge <[email protected]>
Commit-Queue: Rob Buis <[email protected]>
Cr-Commit-Position: refs/heads/master@{#514927}
diff --git a/ppapi/api/ppb_text_input_controller.idl b/ppapi/api/ppb_text_input_controller.idl
index 63a9b19..36ee7d5 100644
--- a/ppapi/api/ppb_text_input_controller.idl
+++ b/ppapi/api/ppb_text_input_controller.idl
@@ -34,7 +34,8 @@
   PP_TEXTINPUT_TYPE_EMAIL = 4,
   PP_TEXTINPUT_TYPE_NUMBER = 5,
   PP_TEXTINPUT_TYPE_TELEPHONE = 6,
-  PP_TEXTINPUT_TYPE_URL = 7
+  PP_TEXTINPUT_TYPE_URL = 7,
+  PP_TEXTINPUT_TYPE_LAST = PP_TEXTINPUT_TYPE_URL
 };
 
 /**