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

Side by Side Diff: core/fpdfdoc/cpdf_annotlist.cpp

Issue 2374383003: Move core/fpdfdoc/include to core/fpdfdoc (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 | « core/fpdfdoc/cpdf_annotlist.h ('k') | core/fpdfdoc/cpdf_apsettings.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 "core/fpdfdoc/include/cpdf_annotlist.h" 7 #include "core/fpdfdoc/cpdf_annotlist.h"
8 8
9 #include "core/fpdfapi/fpdf_page/cpdf_page.h" 9 #include "core/fpdfapi/fpdf_page/cpdf_page.h"
10 #include "core/fpdfapi/fpdf_parser/cpdf_document.h" 10 #include "core/fpdfapi/fpdf_parser/cpdf_document.h"
11 #include "core/fpdfapi/fpdf_parser/cpdf_reference.h" 11 #include "core/fpdfapi/fpdf_parser/cpdf_reference.h"
12 #include "core/fpdfapi/fpdf_render/cpdf_renderoptions.h" 12 #include "core/fpdfapi/fpdf_render/cpdf_renderoptions.h"
13 #include "core/fpdfdoc/cpdf_annot.h"
14 #include "core/fpdfdoc/cpdf_interform.h"
15 #include "core/fpdfdoc/cpdf_occontext.h"
13 #include "core/fpdfdoc/cpvt_generateap.h" 16 #include "core/fpdfdoc/cpvt_generateap.h"
14 #include "core/fpdfdoc/include/cpdf_annot.h"
15 #include "core/fpdfdoc/include/cpdf_interform.h"
16 #include "core/fpdfdoc/include/cpdf_occontext.h"
17 #include "core/fxge/include/cfx_renderdevice.h" 17 #include "core/fxge/include/cfx_renderdevice.h"
18 18
19 namespace { 19 namespace {
20 20
21 std::unique_ptr<CPDF_Annot> CreatePopupAnnot(CPDF_Annot* pAnnot, 21 std::unique_ptr<CPDF_Annot> CreatePopupAnnot(CPDF_Annot* pAnnot,
22 CPDF_Document* pDocument) { 22 CPDF_Document* pDocument) {
23 CPDF_Dictionary* pParentDict = pAnnot->GetAnnotDict(); 23 CPDF_Dictionary* pParentDict = pAnnot->GetAnnotDict();
24 if (!pParentDict) 24 if (!pParentDict)
25 return std::unique_ptr<CPDF_Annot>(); 25 return std::unique_ptr<CPDF_Annot>();
26 26
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 CPDF_RenderContext* pContext, 176 CPDF_RenderContext* pContext,
177 FX_BOOL bPrinting, 177 FX_BOOL bPrinting,
178 CFX_Matrix* pMatrix, 178 CFX_Matrix* pMatrix,
179 FX_BOOL bShowWidget, 179 FX_BOOL bShowWidget,
180 CPDF_RenderOptions* pOptions) { 180 CPDF_RenderOptions* pOptions) {
181 uint32_t dwAnnotFlags = bShowWidget ? ANNOTFLAG_INVISIBLE | ANNOTFLAG_HIDDEN 181 uint32_t dwAnnotFlags = bShowWidget ? ANNOTFLAG_INVISIBLE | ANNOTFLAG_HIDDEN
182 : ANNOTFLAG_INVISIBLE; 182 : ANNOTFLAG_INVISIBLE;
183 DisplayAnnots(pPage, nullptr, pContext, bPrinting, pMatrix, dwAnnotFlags, 183 DisplayAnnots(pPage, nullptr, pContext, bPrinting, pMatrix, dwAnnotFlags,
184 pOptions, nullptr); 184 pOptions, nullptr);
185 } 185 }
OLDNEW
« no previous file with comments | « core/fpdfdoc/cpdf_annotlist.h ('k') | core/fpdfdoc/cpdf_apsettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698