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

Side by Side Diff: fpdfsdk/cpdfsdk_pageview.cpp

Issue 2393593002: Move core/fpdfapi/fpdf_render to core/fpdfapi/render (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/DEPS ('k') | fpdfsdk/fpdf_progressive.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 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/cpdfsdk_pageview.h" 7 #include "fpdfsdk/cpdfsdk_pageview.h"
8 8
9 #include <memory> 9 #include <memory>
10 #include <vector> 10 #include <vector>
11 11
12 #include "core/fpdfapi/fpdf_render/cpdf_renderoptions.h"
13 #include "core/fpdfapi/parser/cpdf_document.h" 12 #include "core/fpdfapi/parser/cpdf_document.h"
13 #include "core/fpdfapi/render/cpdf_renderoptions.h"
14 #include "core/fpdfdoc/cpdf_annotlist.h" 14 #include "core/fpdfdoc/cpdf_annotlist.h"
15 #include "core/fpdfdoc/cpdf_interform.h" 15 #include "core/fpdfdoc/cpdf_interform.h"
16 #include "fpdfsdk/cpdfsdk_annot.h" 16 #include "fpdfsdk/cpdfsdk_annot.h"
17 #include "fpdfsdk/cpdfsdk_annothandlermgr.h" 17 #include "fpdfsdk/cpdfsdk_annothandlermgr.h"
18 #include "fpdfsdk/cpdfsdk_annotiterator.h" 18 #include "fpdfsdk/cpdfsdk_annotiterator.h"
19 #include "fpdfsdk/cpdfsdk_environment.h" 19 #include "fpdfsdk/cpdfsdk_environment.h"
20 #include "fpdfsdk/cpdfsdk_interform.h" 20 #include "fpdfsdk/cpdfsdk_interform.h"
21 #include "third_party/base/ptr_util.h" 21 #include "third_party/base/ptr_util.h"
22 22
23 #ifdef PDF_ENABLE_XFA 23 #ifdef PDF_ENABLE_XFA
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after
570 return pAnnot; 570 return pAnnot;
571 } 571 }
572 return nullptr; 572 return nullptr;
573 } 573 }
574 574
575 int CPDFSDK_PageView::GetPageIndexForStaticPDF() const { 575 int CPDFSDK_PageView::GetPageIndexForStaticPDF() const {
576 CPDF_Dictionary* pDict = GetPDFPage()->m_pFormDict; 576 CPDF_Dictionary* pDict = GetPDFPage()->m_pFormDict;
577 CPDF_Document* pDoc = m_pSDKDoc->GetPDFDocument(); 577 CPDF_Document* pDoc = m_pSDKDoc->GetPDFDocument();
578 return (pDoc && pDict) ? pDoc->GetPageIndex(pDict->GetObjNum()) : -1; 578 return (pDoc && pDict) ? pDoc->GetPageIndex(pDict->GetObjNum()) : -1;
579 } 579 }
OLDNEW
« no previous file with comments | « fpdfsdk/DEPS ('k') | fpdfsdk/fpdf_progressive.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698