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

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

Issue 1434223002: Remove relative includes. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: rebase 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" 9 #include "fpdfsdk/include/formfiller/FFL_FormFiller.h"
10 #include "../include/fsdk_mgr.h" 10 #include "fpdfsdk/include/fsdk_annothandler.h"
11 #include "../include/formfiller/FFL_FormFiller.h" 11 #include "fpdfsdk/include/fsdk_define.h"
12 #include "../include/fsdk_annothandler.h" 12 #include "fpdfsdk/include/fsdk_mgr.h"
13 13
14 CPDFSDK_AnnotHandlerMgr::CPDFSDK_AnnotHandlerMgr(CPDFDoc_Environment* pApp) { 14 CPDFSDK_AnnotHandlerMgr::CPDFSDK_AnnotHandlerMgr(CPDFDoc_Environment* pApp) {
15 m_pApp = pApp; 15 m_pApp = pApp;
16 16
17 CPDFSDK_BFAnnotHandler* pHandler = new CPDFSDK_BFAnnotHandler(m_pApp); 17 CPDFSDK_BFAnnotHandler* pHandler = new CPDFSDK_BFAnnotHandler(m_pApp);
18 pHandler->SetFormFiller(m_pApp->GetIFormFiller()); 18 pHandler->SetFormFiller(m_pApp->GetIFormFiller());
19 RegisterAnnotHandler(pHandler); 19 RegisterAnnotHandler(pHandler);
20 } 20 }
21 21
22 CPDFSDK_AnnotHandlerMgr::~CPDFSDK_AnnotHandlerMgr() { 22 CPDFSDK_AnnotHandlerMgr::~CPDFSDK_AnnotHandlerMgr() {
(...skipping 664 matching lines...) Expand 10 before | Expand all | Expand 10 after
687 687
688 CPDFSDK_Annot* CPDFSDK_AnnotIterator::PrevAnnot() { 688 CPDFSDK_Annot* CPDFSDK_AnnotIterator::PrevAnnot() {
689 if (m_pos < m_iteratorAnnotList.size()) 689 if (m_pos < m_iteratorAnnotList.size())
690 return m_iteratorAnnotList[m_iteratorAnnotList.size() - ++m_pos]; 690 return m_iteratorAnnotList[m_iteratorAnnotList.size() - ++m_pos];
691 return nullptr; 691 return nullptr;
692 } 692 }
693 693
694 CPDFSDK_Annot* CPDFSDK_AnnotIterator::Next() { 694 CPDFSDK_Annot* CPDFSDK_AnnotIterator::Next() {
695 return m_bReverse ? PrevAnnot() : NextAnnot(); 695 return m_bReverse ? PrevAnnot() : NextAnnot();
696 } 696 }
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