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

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

Issue 2287703002: Rename CPDFSDK_Annot::GetType to CPDFSDK_Annot::GetAnnotSubtype. (Closed)
Patch Set: Rename CPDFSDK_Annot::GetType to CPDFSDK_Annot::GetAnnotSubtype. Created 4 years, 3 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
« no previous file with comments | « fpdfsdk/include/cpdfsdk_baannot.h ('k') | fpdfsdk/include/cpdfsdk_xfawidget.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef FPDFSDK_INCLUDE_CPDFSDK_WIDGET_H_ 7 #ifndef FPDFSDK_INCLUDE_CPDFSDK_WIDGET_H_
8 #define FPDFSDK_INCLUDE_CPDFSDK_WIDGET_H_ 8 #define FPDFSDK_INCLUDE_CPDFSDK_WIDGET_H_
9 9
10 #include <set> 10 #include <set>
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 #endif // PDF_ENABLE_XFA 71 #endif // PDF_ENABLE_XFA
72 72
73 CPDFSDK_Widget(CPDF_Annot* pAnnot, 73 CPDFSDK_Widget(CPDF_Annot* pAnnot,
74 CPDFSDK_PageView* pPageView, 74 CPDFSDK_PageView* pPageView,
75 CPDFSDK_InterForm* pInterForm); 75 CPDFSDK_InterForm* pInterForm);
76 ~CPDFSDK_Widget() override; 76 ~CPDFSDK_Widget() override;
77 77
78 void AddObserver(Observer* observer); 78 void AddObserver(Observer* observer);
79 void RemoveObserver(Observer* observer); 79 void RemoveObserver(Observer* observer);
80 80
81 CFX_ByteString GetSubType() const override; 81 bool IsSignatureWidget() const override;
82 CPDF_Action GetAAction(CPDF_AAction::AActionType eAAT) override; 82 CPDF_Action GetAAction(CPDF_AAction::AActionType eAAT) override;
83 FX_BOOL IsAppearanceValid() override; 83 FX_BOOL IsAppearanceValid() override;
84 84
85 int GetLayoutOrder() const override; 85 int GetLayoutOrder() const override;
86 86
87 int GetFieldType() const; 87 int GetFieldType() const;
88 int GetFieldFlags() const; 88 int GetFieldFlags() const;
89 int GetRotate() const; 89 int GetRotate() const;
90 90
91 FX_BOOL GetFillColor(FX_COLORREF& color) const; 91 FX_BOOL GetFillColor(FX_COLORREF& color) const;
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 int32_t m_nValueAge; 182 int32_t m_nValueAge;
183 std::set<Observer*> m_Observers; 183 std::set<Observer*> m_Observers;
184 184
185 #ifdef PDF_ENABLE_XFA 185 #ifdef PDF_ENABLE_XFA
186 mutable CXFA_FFWidget* m_hMixXFAWidget; 186 mutable CXFA_FFWidget* m_hMixXFAWidget;
187 mutable CXFA_FFWidgetHandler* m_pWidgetHandler; 187 mutable CXFA_FFWidgetHandler* m_pWidgetHandler;
188 #endif // PDF_ENABLE_XFA 188 #endif // PDF_ENABLE_XFA
189 }; 189 };
190 190
191 #endif // FPDFSDK_INCLUDE_CPDFSDK_WIDGET_H_ 191 #endif // FPDFSDK_INCLUDE_CPDFSDK_WIDGET_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/cpdfsdk_baannot.h ('k') | fpdfsdk/include/cpdfsdk_xfawidget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698