From 1bc5e494b675aeb5e73cae1d0d3cfad341a05a60 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Wed, 1 Nov 2017 18:56:07 +0000 Subject: Add CJX_ThisProxy This CL creates a CJX_ThisProxy which is created by CXFA_ThisProxy. This allows CJX_Object constructor to be protected. Change-Id: Ie6865c82c29cd1d129faa487c9021a63310c78a6 Reviewed-on: https://pdfium-review.googlesource.com/17314 Reviewed-by: Tom Sepez Commit-Queue: dsinclair --- fxjs/cjx_thisproxy.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 fxjs/cjx_thisproxy.h (limited to 'fxjs/cjx_thisproxy.h') diff --git a/fxjs/cjx_thisproxy.h b/fxjs/cjx_thisproxy.h new file mode 100644 index 0000000000..397589b5a1 --- /dev/null +++ b/fxjs/cjx_thisproxy.h @@ -0,0 +1,20 @@ +// Copyright 2017 PDFium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com + +#ifndef FXJS_CJX_THISPROXY_H_ +#define FXJS_CJX_THISPROXY_H_ + +#include "fxjs/cjx_object.h" + +class CXFA_ThisProxy; + +class CJX_ThisProxy : public CJX_Object { + public: + explicit CJX_ThisProxy(CXFA_ThisProxy* proxy); + ~CJX_ThisProxy() override; +}; + +#endif // FXJS_CJX_THISPROXY_H_ -- cgit v1.2.3