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

Side by Side Diff: fpdfsdk/cpdfsdk_environment.cpp

Issue 2384503003: Move fpdfsdk/include to fpdfsdk (Closed)
Patch Set: Rebase to master Created 4 years, 2 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 | « fpdfsdk/cpdfsdk_environment.h ('k') | fpdfsdk/cpdfsdk_interform.h » ('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 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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 "fpdfsdk/include/cpdfsdk_environment.h" 7 #include "fpdfsdk/cpdfsdk_environment.h"
8 8
9 #include <memory> 9 #include <memory>
10 10
11 #include "fpdfsdk/cpdfsdk_annothandlermgr.h"
12 #include "fpdfsdk/cpdfsdk_document.h"
11 #include "fpdfsdk/formfiller/cffl_interactiveformfiller.h" 13 #include "fpdfsdk/formfiller/cffl_interactiveformfiller.h"
12 #include "fpdfsdk/include/cpdfsdk_annothandlermgr.h" 14 #include "fpdfsdk/fsdk_actionhandler.h"
13 #include "fpdfsdk/include/cpdfsdk_document.h"
14 #include "fpdfsdk/include/fsdk_actionhandler.h"
15 #include "fpdfsdk/javascript/ijs_runtime.h" 15 #include "fpdfsdk/javascript/ijs_runtime.h"
16 16
17 #ifdef PDF_ENABLE_XFA 17 #ifdef PDF_ENABLE_XFA
18 #include "fpdfsdk/fpdfxfa/fpdfxfa_app.h" 18 #include "fpdfsdk/fpdfxfa/fpdfxfa_app.h"
19 #endif // PDF_ENABLE_XFA 19 #endif // PDF_ENABLE_XFA
20 20
21 namespace { 21 namespace {
22 22
23 // NOTE: |bsUTF16LE| must outlive the use of the result. Care must be taken 23 // NOTE: |bsUTF16LE| must outlive the use of the result. Care must be taken
24 // since modifying the result would impact |bsUTF16LE|. 24 // since modifying the result would impact |bsUTF16LE|.
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 delete[] pbuff; 535 delete[] pbuff;
536 return wsRet; 536 return wsRet;
537 } 537 }
538 538
539 void CPDFSDK_Environment::PageEvent(int iPageCount, 539 void CPDFSDK_Environment::PageEvent(int iPageCount,
540 uint32_t dwEventType) const { 540 uint32_t dwEventType) const {
541 if (m_pInfo && m_pInfo->FFI_PageEvent) 541 if (m_pInfo && m_pInfo->FFI_PageEvent)
542 m_pInfo->FFI_PageEvent(m_pInfo, iPageCount, dwEventType); 542 m_pInfo->FFI_PageEvent(m_pInfo, iPageCount, dwEventType);
543 } 543 }
544 #endif // PDF_ENABLE_XFA 544 #endif // PDF_ENABLE_XFA
OLDNEW
« no previous file with comments | « fpdfsdk/cpdfsdk_environment.h ('k') | fpdfsdk/cpdfsdk_interform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698