Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Side by Side Diff: fpdfsdk/include/cpdfsdk_xfawidget.h

Issue 2252723002: Split fpdfsdk/fsdk_baseform.h into individual classes. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Split fpdfsdk/fsdk_baseform.h into individual classes. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7 #ifndef FPDFSDK_INCLUDE_CPDFSDK_XFAWIDGET_H_
8 #define FPDFSDK_INCLUDE_CPDFSDK_XFAWIDGET_H_
9
jaepark 2016/08/16 20:21:32 Removed #ifdef PDF_ENABLE_XFA for the entire file.
10 #include "core/fxcrt/include/fx_coordinates.h"
11 #include "core/fxcrt/include/fx_string.h"
12 #include "fpdfsdk/include/cpdfsdk_annot.h"
13
14 class CPDFSDK_InterForm;
15 class CPDFSDK_PageView;
16 class CXFA_FFWidget;
17
18 class CPDFSDK_XFAWidget : public CPDFSDK_Annot {
19 public:
20 CPDFSDK_XFAWidget(CXFA_FFWidget* pAnnot,
21 CPDFSDK_PageView* pPageView,
22 CPDFSDK_InterForm* pInterForm);
23 ~CPDFSDK_XFAWidget() override {}
24
25 FX_BOOL IsXFAField() override;
26 CXFA_FFWidget* GetXFAWidget() const override;
27 CFX_ByteString GetType() const override;
28 CFX_ByteString GetSubType() const override;
29 CFX_FloatRect GetRect() const override;
30
31 CPDFSDK_InterForm* GetInterForm() { return m_pInterForm; }
32
33 private:
34 CPDFSDK_InterForm* m_pInterForm;
35 CXFA_FFWidget* m_hXFAWidget;
36 };
37
38 #endif // FPDFSDK_INCLUDE_CPDFSDK_XFAWIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698