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

Side by Side Diff: fpdfsdk/src/fsdk_annothandler.cpp

Issue 1439223003: Merge to XFA: Remove relative includes. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: fix merge Created 5 years, 1 month 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/src/fsdk_actionhandler.cpp ('k') | fpdfsdk/src/fsdk_baseannot.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 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "../include/fsdk_define.h"
10 #include "../include/fpdfxfa/fpdfxfa_doc.h" 9 #include "../include/fpdfxfa/fpdfxfa_doc.h"
11 #include "../include/fpdfxfa/fpdfxfa_util.h" 10 #include "../include/fpdfxfa/fpdfxfa_util.h"
12 #include "../include/fsdk_mgr.h" 11 #include "fpdfsdk/include/formfiller/FFL_FormFiller.h"
13 #include "../include/formfiller/FFL_FormFiller.h" 12 #include "fpdfsdk/include/fsdk_annothandler.h"
14 #include "../include/fsdk_annothandler.h" 13 #include "fpdfsdk/include/fsdk_define.h"
14 #include "fpdfsdk/include/fsdk_mgr.h"
15 15
16 CPDFSDK_AnnotHandlerMgr::CPDFSDK_AnnotHandlerMgr(CPDFDoc_Environment* pApp) { 16 CPDFSDK_AnnotHandlerMgr::CPDFSDK_AnnotHandlerMgr(CPDFDoc_Environment* pApp) {
17 m_pApp = pApp; 17 m_pApp = pApp;
18 18
19 CPDFSDK_BFAnnotHandler* pHandler = new CPDFSDK_BFAnnotHandler(m_pApp); 19 CPDFSDK_BFAnnotHandler* pHandler = new CPDFSDK_BFAnnotHandler(m_pApp);
20 pHandler->SetFormFiller(m_pApp->GetIFormFiller()); 20 pHandler->SetFormFiller(m_pApp->GetIFormFiller());
21 RegisterAnnotHandler(pHandler); 21 RegisterAnnotHandler(pHandler);
22 22
23 CPDFSDK_XFAAnnotHandler* pXFAAnnotHandler = 23 CPDFSDK_XFAAnnotHandler* pXFAAnnotHandler =
24 new CPDFSDK_XFAAnnotHandler(m_pApp); 24 new CPDFSDK_XFAAnnotHandler(m_pApp);
(...skipping 1163 matching lines...) Expand 10 before | Expand all | Expand 10 after
1188 1188
1189 CPDFSDK_Annot* CPDFSDK_AnnotIterator::PrevAnnot() { 1189 CPDFSDK_Annot* CPDFSDK_AnnotIterator::PrevAnnot() {
1190 if (m_pos < m_iteratorAnnotList.size()) 1190 if (m_pos < m_iteratorAnnotList.size())
1191 return m_iteratorAnnotList[m_iteratorAnnotList.size() - ++m_pos]; 1191 return m_iteratorAnnotList[m_iteratorAnnotList.size() - ++m_pos];
1192 return nullptr; 1192 return nullptr;
1193 } 1193 }
1194 1194
1195 CPDFSDK_Annot* CPDFSDK_AnnotIterator::Next() { 1195 CPDFSDK_Annot* CPDFSDK_AnnotIterator::Next() {
1196 return m_bReverse ? PrevAnnot() : NextAnnot(); 1196 return m_bReverse ? PrevAnnot() : NextAnnot();
1197 } 1197 }
OLDNEW
« no previous file with comments | « fpdfsdk/src/fsdk_actionhandler.cpp ('k') | fpdfsdk/src/fsdk_baseannot.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698