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

Side by Side Diff: xfa/fxfa/include/fxfa.h

Issue 1986503002: XFA_WIDGETSTATUS, LAYOUTSTATUS and WIDGETFILTER cleanup. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 7 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 | « xfa/fxfa/app/xfa_rendercontext.cpp ('k') | xfa/fxfa/include/xfa_ffpageview.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 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 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 XFA_FXFA_INCLUDE_FXFA_H_ 7 #ifndef XFA_FXFA_INCLUDE_FXFA_H_
8 #define XFA_FXFA_INCLUDE_FXFA_H_ 8 #define XFA_FXFA_INCLUDE_FXFA_H_
9 9
10 #include <vector> 10 #include <vector>
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 #define XFA_EVENTERROR_NotExist 0 170 #define XFA_EVENTERROR_NotExist 0
171 #define XFA_EVENTERROR_Disabled 2 171 #define XFA_EVENTERROR_Disabled 2
172 172
173 #define XFA_RENDERSTATUS_Ready 1 173 #define XFA_RENDERSTATUS_Ready 1
174 #define XFA_RENDERSTATUS_ToBeContinued 2 174 #define XFA_RENDERSTATUS_ToBeContinued 2
175 #define XFA_RENDERSTATUS_Done 3 175 #define XFA_RENDERSTATUS_Done 3
176 #define XFA_RENDERSTATUS_Failed -1 176 #define XFA_RENDERSTATUS_Failed -1
177 177
178 #define XFA_TRAVERSEWAY_Tranvalse 0x0001 178 #define XFA_TRAVERSEWAY_Tranvalse 0x0001
179 #define XFA_TRAVERSEWAY_Form 0x0002 179 #define XFA_TRAVERSEWAY_Form 0x0002
180 #define XFA_WIDGETFILTER_Visible 0x0001
181 #define XFA_WIDGETFILTER_Viewable 0x0010
182 #define XFA_WIDGETFILTER_Printable 0x0020
183 #define XFA_WIDGETFILTER_Field 0x0100
184 #define XFA_WIDGETFILTER_AllType 0x0F00
185 180
186 #define XFA_WIDGETSTATUS_Visible 0x00000001 181 enum XFA_WidgetStatus {
187 #define XFA_WIDGETSTATUS_Invisible 0x00000002 182 XFA_WidgetStatus_None = 0,
188 #define XFA_WIDGETSTATUS_Hidden 0x00000004 183
189 #define XFA_WIDGETSTATUS_Viewable 0x00000010 184 XFA_WidgetStatus_Access = 1 << 0,
190 #define XFA_WIDGETSTATUS_Printable 0x00000020 185 XFA_WidgetStatus_ButtonDown = 1 << 1,
191 #define XFA_WIDGETSTATUS_Focused 0x00000100 186 XFA_WidgetStatus_Disabled = 1 << 2,
187 XFA_WidgetStatus_Focused = 1 << 3,
188 XFA_WidgetStatus_Highlight = 1 << 4,
189 XFA_WidgetStatus_Printable = 1 << 5,
190 XFA_WidgetStatus_RectCached = 1 << 6,
191 XFA_WidgetStatus_TextEditValueChanged = 1 << 7,
192 XFA_WidgetStatus_Viewable = 1 << 8,
193 XFA_WidgetStatus_Visible = 1 << 9
194 };
192 195
193 enum XFA_EVENTTYPE { 196 enum XFA_EVENTTYPE {
194 XFA_EVENT_Click, 197 XFA_EVENT_Click,
195 XFA_EVENT_Change, 198 XFA_EVENT_Change,
196 XFA_EVENT_DocClose, 199 XFA_EVENT_DocClose,
197 XFA_EVENT_DocReady, 200 XFA_EVENT_DocReady,
198 XFA_EVENT_Enter, 201 XFA_EVENT_Enter,
199 XFA_EVENT_Exit, 202 XFA_EVENT_Exit,
200 XFA_EVENT_Full, 203 XFA_EVENT_Full,
201 XFA_EVENT_IndexChange, 204 XFA_EVENT_IndexChange,
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 virtual void Reset() = 0; 548 virtual void Reset() = 0;
546 virtual CXFA_FFWidget* MoveToFirst() = 0; 549 virtual CXFA_FFWidget* MoveToFirst() = 0;
547 virtual CXFA_FFWidget* MoveToLast() = 0; 550 virtual CXFA_FFWidget* MoveToLast() = 0;
548 virtual CXFA_FFWidget* MoveToNext() = 0; 551 virtual CXFA_FFWidget* MoveToNext() = 0;
549 virtual CXFA_FFWidget* MoveToPrevious() = 0; 552 virtual CXFA_FFWidget* MoveToPrevious() = 0;
550 virtual CXFA_FFWidget* GetCurrentWidget() = 0; 553 virtual CXFA_FFWidget* GetCurrentWidget() = 0;
551 virtual FX_BOOL SetCurrentWidget(CXFA_FFWidget* hWidget) = 0; 554 virtual FX_BOOL SetCurrentWidget(CXFA_FFWidget* hWidget) = 0;
552 }; 555 };
553 556
554 #endif // XFA_FXFA_INCLUDE_FXFA_H_ 557 #endif // XFA_FXFA_INCLUDE_FXFA_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/app/xfa_rendercontext.cpp ('k') | xfa/fxfa/include/xfa_ffpageview.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698