Index: xfa/fxfa/app/cxfa_ffnumericeditdelegate.h |
diff --git a/xfa/fxfa/app/cxfa_ffnumericeditdelegate.h b/xfa/fxfa/app/cxfa_ffnumericeditdelegate.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2c755f0086bbb12945fb4c99aae46fd21252901f |
--- /dev/null |
+++ b/xfa/fxfa/app/cxfa_ffnumericeditdelegate.h |
@@ -0,0 +1,28 @@ |
+// Copyright 2016 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 XFA_FXFA_APP_CXFA_FFNUMERICEDITDELEGATE_H_ |
+#define XFA_FXFA_APP_CXFA_FFNUMERICEDITDELEGATE_H_ |
+ |
+#include "core/fxcrt/fx_coordinates.h" |
+#include "xfa/fwl/core/cfwl_event.h" |
+#include "xfa/fwl/core/cfwl_message.h" |
+#include "xfa/fxfa/app/cxfa_fftexteditdelegate.h" |
+#include "xfa/fxfa/app/xfa_fftextedit.h" |
+#include "xfa/fxfa/xfa_ffwidget.h" |
+#include "xfa/fxgraphics/cfx_graphics.h" |
+ |
+class CXFA_FFNumericEditDelegate : public CXFA_FFTextEditDelegate { |
+ public: |
+ CXFA_FFNumericEditDelegate(std::unique_ptr<IFWL_WidgetDelegate> pDelegate, |
+ CXFA_FFNumericEdit* const pWidget); |
+ ~CXFA_FFNumericEditDelegate() override; |
+ |
+ // CXFA_FFTextEditDelegate. |
+ void OnProcessEvent(CFWL_Event* pEvent) override; |
+}; |
+ |
+#endif // XFA_FXFA_APP_CXFA_FFNUMERICEDITDELEGATE_H_ |