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

Side by Side Diff: xfa/src/fxfa/src/app/xfa_ffdocview.h

Issue 1668813002: Fix an assertion failure in CXFA_DefFontMgr::GetDefaultFont() (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 4 years, 10 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 | xfa/src/fxfa/src/app/xfa_ffdocview.cpp » ('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 FXFA_SRC_APP_XFA_FFDOCVIEW_H_ 7 #ifndef FXFA_SRC_APP_XFA_FFDOCVIEW_H_
8 #define FXFA_SRC_APP_XFA_FFDOCVIEW_H_ 8 #define FXFA_SRC_APP_XFA_FFDOCVIEW_H_
9 9
10 #include "xfa_ffdoc.h" 10 #include "xfa_ffdoc.h"
(...skipping 10 matching lines...) Expand all
21 XFA_DOCVIEW_LAYOUTSTATUS_FormInitCalculate, 21 XFA_DOCVIEW_LAYOUTSTATUS_FormInitCalculate,
22 XFA_DOCVIEW_LAYOUTSTATUS_FormInitValidate, 22 XFA_DOCVIEW_LAYOUTSTATUS_FormInitValidate,
23 XFA_DOCVIEW_LAYOUTSTATUS_FormFormReady, 23 XFA_DOCVIEW_LAYOUTSTATUS_FormFormReady,
24 XFA_DOCVIEW_LAYOUTSTATUS_Doing, 24 XFA_DOCVIEW_LAYOUTSTATUS_Doing,
25 XFA_DOCVIEW_LAYOUTSTATUS_PagesetInitialize, 25 XFA_DOCVIEW_LAYOUTSTATUS_PagesetInitialize,
26 XFA_DOCVIEW_LAYOUTSTATUS_PagesetInitCalculate, 26 XFA_DOCVIEW_LAYOUTSTATUS_PagesetInitCalculate,
27 XFA_DOCVIEW_LAYOUTSTATUS_PagesetInitValidate, 27 XFA_DOCVIEW_LAYOUTSTATUS_PagesetInitValidate,
28 XFA_DOCVIEW_LAYOUTSTATUS_PagesetFormReady, 28 XFA_DOCVIEW_LAYOUTSTATUS_PagesetFormReady,
29 XFA_DOCVIEW_LAYOUTSTATUS_LayoutReady, 29 XFA_DOCVIEW_LAYOUTSTATUS_LayoutReady,
30 XFA_DOCVIEW_LAYOUTSTATUS_DocReady, 30 XFA_DOCVIEW_LAYOUTSTATUS_DocReady,
31 XFA_DOCVIEW_LAYOUTSTATUS_End, 31 XFA_DOCVIEW_LAYOUTSTATUS_End
32 XFA_DOCVIEW_LAYOUTSTATUS_Next,
jun_fang 2016/02/04 12:10:00 Remove unnecessary status.
33 }; 32 };
34 class CXFA_FFDocView : public IXFA_DocView { 33 class CXFA_FFDocView : public IXFA_DocView {
35 public: 34 public:
36 CXFA_FFDocView(CXFA_FFDoc* pDoc); 35 CXFA_FFDocView(CXFA_FFDoc* pDoc);
37 ~CXFA_FFDocView(); 36 ~CXFA_FFDocView();
38 37
39 virtual IXFA_Doc* GetDoc() { return m_pDoc; } 38 virtual IXFA_Doc* GetDoc() { return m_pDoc; }
40 virtual int32_t StartLayout(int32_t iStartPage = 0); 39 virtual int32_t StartLayout(int32_t iStartPage = 0);
41 virtual int32_t DoLayout(IFX_Pause* pPause = NULL); 40 virtual int32_t DoLayout(IFX_Pause* pPause = NULL);
42 virtual void StopLayout(); 41 virtual void StopLayout();
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 virtual FX_BOOL SetCurrentWidgetAcc(CXFA_WidgetAcc* hWidget); 162 virtual FX_BOOL SetCurrentWidgetAcc(CXFA_WidgetAcc* hWidget);
164 virtual void SkipTree(); 163 virtual void SkipTree();
165 164
166 protected: 165 protected:
167 CXFA_ContainerIterator m_ContentIterator; 166 CXFA_ContainerIterator m_ContentIterator;
168 CXFA_FFDocView* m_pDocView; 167 CXFA_FFDocView* m_pDocView;
169 CXFA_WidgetAcc* m_pCurWidgetAcc; 168 CXFA_WidgetAcc* m_pCurWidgetAcc;
170 }; 169 };
171 170
172 #endif // FXFA_SRC_APP_XFA_FFDOCVIEW_H_ 171 #endif // FXFA_SRC_APP_XFA_FFDOCVIEW_H_
OLDNEW
« no previous file with comments | « no previous file | xfa/src/fxfa/src/app/xfa_ffdocview.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698