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

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

Issue 1572523002: XFA: Remove relative includes outside of xfa/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 4 years, 11 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
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 #include <memory> 8 #include <memory>
9 9
10 #include "fpdfsdk/include/fsdk_mgr.h" 10 #include "fpdfsdk/include/fsdk_mgr.h"
11 11
12 #include "fpdfsdk/include/formfiller/FFL_FormFiller.h" 12 #include "fpdfsdk/include/formfiller/FFL_FormFiller.h"
13 #include "fpdfsdk/include/fsdk_define.h" 13 #include "fpdfsdk/include/fsdk_define.h"
14 #include "fpdfsdk/include/javascript/IJavaScript.h" 14 #include "fpdfsdk/include/javascript/IJavaScript.h"
15 #include "public/fpdf_ext.h" 15 #include "public/fpdf_ext.h"
16 #include "third_party/base/stl_util.h" 16 #include "third_party/base/stl_util.h"
17 17
18 #ifdef PDF_ENABLE_XFA 18 #ifdef PDF_ENABLE_XFA
19 #include "../include/fpdfxfa/fpdfxfa_app.h" 19 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_app.h"
20 #include "../include/fpdfxfa/fpdfxfa_doc.h" 20 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h"
21 #include "../include/fpdfxfa/fpdfxfa_page.h" 21 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_page.h"
22 #include "../include/fpdfxfa/fpdfxfa_util.h" 22 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_util.h"
23 #endif // PDF_ENABLE_XFA 23 #endif // PDF_ENABLE_XFA
24 24
25 #if _FX_OS_ == _FX_ANDROID_ 25 #if _FX_OS_ == _FX_ANDROID_
26 #include "time.h" 26 #include "time.h"
27 #else 27 #else
28 #include <ctime> 28 #include <ctime>
29 #endif 29 #endif
30 30
31 class CFX_SystemHandler : public IFX_SystemHandler { 31 class CFX_SystemHandler : public IFX_SystemHandler {
32 public: 32 public:
(...skipping 1127 matching lines...) Expand 10 before | Expand all | Expand 10 after
1160 CPDFSDK_Annot* pFocusAnnot = m_pSDKDoc->GetFocusAnnot(); 1160 CPDFSDK_Annot* pFocusAnnot = m_pSDKDoc->GetFocusAnnot();
1161 if (!pFocusAnnot) 1161 if (!pFocusAnnot)
1162 return nullptr; 1162 return nullptr;
1163 1163
1164 for (CPDFSDK_Annot* pAnnot : m_fxAnnotArray) { 1164 for (CPDFSDK_Annot* pAnnot : m_fxAnnotArray) {
1165 if (pAnnot == pFocusAnnot) 1165 if (pAnnot == pFocusAnnot)
1166 return pAnnot; 1166 return pAnnot;
1167 } 1167 }
1168 return nullptr; 1168 return nullptr;
1169 } 1169 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698