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

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

Issue 1780503002: Split off CPDF_Document into its own .cpp/.h files. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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 "core/include/fpdfapi/cpdf_document.h"
7 #include "core/include/fpdfdoc/fpdf_doc.h" 8 #include "core/include/fpdfdoc/fpdf_doc.h"
8 #include "core/src/fpdfdoc/doc_utils.h" 9 #include "core/src/fpdfdoc/doc_utils.h"
9 #include "third_party/base/stl_util.h" 10 #include "third_party/base/stl_util.h"
10 11
11 namespace { 12 namespace {
12 13
13 const int nMaxRecursion = 32; 14 const int nMaxRecursion = 32;
14 15
15 const struct SupportFieldEncoding { 16 const struct SupportFieldEncoding {
16 const FX_CHAR* m_name; 17 const FX_CHAR* m_name;
(...skipping 1174 matching lines...) Expand 10 before | Expand all | Expand 10 after
1191 FDF_ImportField(pField, L"", bNotify); 1192 FDF_ImportField(pField, L"", bNotify);
1192 } 1193 }
1193 if (bNotify && m_pFormNotify) { 1194 if (bNotify && m_pFormNotify) {
1194 m_pFormNotify->AfterFormImportData(this); 1195 m_pFormNotify->AfterFormImportData(this);
1195 } 1196 }
1196 return TRUE; 1197 return TRUE;
1197 } 1198 }
1198 void CPDF_InterForm::SetFormNotify(const CPDF_FormNotify* pNotify) { 1199 void CPDF_InterForm::SetFormNotify(const CPDF_FormNotify* pNotify) {
1199 m_pFormNotify = (CPDF_FormNotify*)pNotify; 1200 m_pFormNotify = (CPDF_FormNotify*)pNotify;
1200 } 1201 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698