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

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

Issue 427173002: Fix incorrect override of GetLayoutOrder(). (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | no next file » | 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 _FSDK_BASEFORM_H_ 7 #ifndef _FSDK_BASEFORM_H_
8 #define _FSDK_BASEFORM_H_ 8 #define _FSDK_BASEFORM_H_
9 9
10 #if _FX_OS_ == _FX_ANDROID_ 10 #if _FX_OS_ == _FX_ANDROID_
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 public: 53 public:
54 CPDFSDK_Widget(CPDF_Annot* pAnnot, CPDFSDK_PageView* pPageView, CPDFSDK_ InterForm* pInterForm); 54 CPDFSDK_Widget(CPDF_Annot* pAnnot, CPDFSDK_PageView* pPageView, CPDFSDK_ InterForm* pInterForm);
55 virtual ~CPDFSDK_Widget(); 55 virtual ~CPDFSDK_Widget();
56 56
57 virtual CFX_ByteString GetSubType() const; 57 virtual CFX_ByteString GetSubType() const;
58 58
59 virtual CPDF_Action GetAAction(CPDF_AAction: :AActionType eAAT); 59 virtual CPDF_Action GetAAction(CPDF_AAction: :AActionType eAAT);
60 60
61 int GetField Type() const; 61 int GetField Type() const;
62 //define layout order to 2. 62 //define layout order to 2.
63 » virtual int» » » » » » GetLayoutOrder() {return 2;} 63 » virtual int» » » » » » GetLayoutOrder() const {return 2;}
64 /* 64 /*
65 FIELDFLAG_READONLY 65 FIELDFLAG_READONLY
66 FIELDFLAG_REQUIRED 66 FIELDFLAG_REQUIRED
67 FIELDFLAG_NOEXPORT 67 FIELDFLAG_NOEXPORT
68 */ 68 */
69 69
70 int GetField Flags() const; 70 int GetField Flags() const;
71 int GetRotat e() const; 71 int GetRotat e() const;
72 72
73 FX_BOOL GetFillColor(FX_ COLORREF& color) const; 73 FX_BOOL GetFillColor(FX_ COLORREF& color) const;
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 CPDFSDK_PageView* m_pPageView; 283 CPDFSDK_PageView* m_pPageView;
284 CFX_ByteString m_sType; 284 CFX_ByteString m_sType;
285 CFX_ByteString m_sSubType; 285 CFX_ByteString m_sSubType;
286 int m_nTabs; 286 int m_nTabs;
287 287
288 CPDFSDK_Annots m_Annots; 288 CPDFSDK_Annots m_Annots;
289 }; 289 };
290 290
291 #endif //#define _FSDK_BASEFORM_H_ 291 #endif //#define _FSDK_BASEFORM_H_
292 292
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698