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

Side by Side Diff: core/src/fpdfdoc/doc_form.cpp

Issue 1438573002: Merge to XFA: Fix relative includes within core/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: 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 | « core/src/fpdfdoc/doc_bookmark.cpp ('k') | core/src/fpdfdoc/doc_formcontrol.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 "../../include/fpdfdoc/fpdf_doc.h" 7 #include "core/include/fpdfdoc/fpdf_doc.h"
8 #include "doc_utils.h" 8 #include "doc_utils.h"
9 9
10 const int nMaxRecursion = 32; 10 const int nMaxRecursion = 32;
11 11
12 class CFieldNameExtractor { 12 class CFieldNameExtractor {
13 public: 13 public:
14 explicit CFieldNameExtractor(const CFX_WideString& full_name) { 14 explicit CFieldNameExtractor(const CFX_WideString& full_name) {
15 m_pStart = full_name.c_str(); 15 m_pStart = full_name.c_str();
16 m_pEnd = m_pStart + full_name.GetLength(); 16 m_pEnd = m_pStart + full_name.GetLength();
17 m_pCur = m_pStart; 17 m_pCur = m_pStart;
(...skipping 1331 matching lines...) Expand 10 before | Expand all | Expand 10 after
1349 FDF_ImportField(pField, L"", bNotify); 1349 FDF_ImportField(pField, L"", bNotify);
1350 } 1350 }
1351 if (bNotify && m_pFormNotify != NULL) { 1351 if (bNotify && m_pFormNotify != NULL) {
1352 m_pFormNotify->AfterFormImportData(this); 1352 m_pFormNotify->AfterFormImportData(this);
1353 } 1353 }
1354 return TRUE; 1354 return TRUE;
1355 } 1355 }
1356 void CPDF_InterForm::SetFormNotify(const CPDF_FormNotify* pNotify) { 1356 void CPDF_InterForm::SetFormNotify(const CPDF_FormNotify* pNotify) {
1357 m_pFormNotify = (CPDF_FormNotify*)pNotify; 1357 m_pFormNotify = (CPDF_FormNotify*)pNotify;
1358 } 1358 }
OLDNEW
« no previous file with comments | « core/src/fpdfdoc/doc_bookmark.cpp ('k') | core/src/fpdfdoc/doc_formcontrol.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698