OLD | NEW |
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 "../../public/fpdf_ext.h" | 9 #include "../include/fsdk_mgr.h" |
| 10 |
10 #include "../include/formfiller/FFL_FormFiller.h" | 11 #include "../include/formfiller/FFL_FormFiller.h" |
11 #include "../include/fsdk_define.h" | 12 #include "../include/fsdk_define.h" |
12 #include "../include/fsdk_mgr.h" | |
13 #include "../include/javascript/IJavaScript.h" | 13 #include "../include/javascript/IJavaScript.h" |
| 14 #include "public/fpdf_ext.h" |
14 #include "third_party/base/nonstd_unique_ptr.h" | 15 #include "third_party/base/nonstd_unique_ptr.h" |
15 | 16 |
16 #if _FX_OS_ == _FX_ANDROID_ | 17 #if _FX_OS_ == _FX_ANDROID_ |
17 #include "time.h" | 18 #include "time.h" |
18 #else | 19 #else |
19 #include <ctime> | 20 #include <ctime> |
20 #endif | 21 #endif |
21 | 22 |
22 class CFX_SystemHandler : public IFX_SystemHandler { | 23 class CFX_SystemHandler : public IFX_SystemHandler { |
23 public: | 24 public: |
(...skipping 902 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
926 CPDFSDK_Annot* pFocusAnnot = m_pSDKDoc->GetFocusAnnot(); | 927 CPDFSDK_Annot* pFocusAnnot = m_pSDKDoc->GetFocusAnnot(); |
927 if (!pFocusAnnot) | 928 if (!pFocusAnnot) |
928 return nullptr; | 929 return nullptr; |
929 | 930 |
930 for (CPDFSDK_Annot* pAnnot : m_fxAnnotArray) { | 931 for (CPDFSDK_Annot* pAnnot : m_fxAnnotArray) { |
931 if (pAnnot == pFocusAnnot) | 932 if (pAnnot == pFocusAnnot) |
932 return pAnnot; | 933 return pAnnot; |
933 } | 934 } |
934 return nullptr; | 935 return nullptr; |
935 } | 936 } |
OLD | NEW |