Let CJX_Object subclasses communicate typename to jse_define.h macros.

Remove some redundant naming in these macro invocations by
introducing a Type__ definition once in each class. In the
future, properties are going to need this information just
like methods, so avoid having to add hundreds of repeated
names then.

Change-Id: I32dcfea32e0a093b217056f558dc5b250440f780
Reviewed-on: https://pdfium-review.googlesource.com/c/48533
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
diff --git a/fxjs/xfa/cjx_handler.h b/fxjs/xfa/cjx_handler.h
index 55357c7..a5ad537 100644
--- a/fxjs/xfa/cjx_handler.h
+++ b/fxjs/xfa/cjx_handler.h
@@ -18,6 +18,9 @@
   ~CJX_Handler() override;
 
   JSE_PROP(version);
+
+ private:
+  using Type__ = CJX_Handler;
 };
 
 #endif  // FXJS_XFA_CJX_HANDLER_H_