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

Side by Side Diff: core/fpdfapi/fpdf_page/fpdf_page_doc.cpp

Issue 2383543002: Move core/fpdfapi/fpdf_parser/include to core/fpdfapi/fpdf_parser (Closed)
Patch Set: 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/fpdfapi/fpdf_page/fpdf_page_colors.cpp ('k') | core/fpdfapi/fpdf_page/fpdf_page_func.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 "core/fpdfapi/fpdf_page/pageint.h" 7 #include "core/fpdfapi/fpdf_page/pageint.h"
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <set> 10 #include <set>
11 11
12 #include "core/fdrm/crypto/fx_crypt.h" 12 #include "core/fdrm/crypto/fx_crypt.h"
13 #include "core/fpdfapi/fpdf_font/cpdf_type1font.h" 13 #include "core/fpdfapi/fpdf_font/cpdf_type1font.h"
14 #include "core/fpdfapi/fpdf_font/font_int.h" 14 #include "core/fpdfapi/fpdf_font/font_int.h"
15 #include "core/fpdfapi/fpdf_page/cpdf_image.h" 15 #include "core/fpdfapi/fpdf_page/cpdf_image.h"
16 #include "core/fpdfapi/fpdf_page/cpdf_pagemodule.h" 16 #include "core/fpdfapi/fpdf_page/cpdf_pagemodule.h"
17 #include "core/fpdfapi/fpdf_page/cpdf_pattern.h" 17 #include "core/fpdfapi/fpdf_page/cpdf_pattern.h"
18 #include "core/fpdfapi/fpdf_page/cpdf_shadingpattern.h" 18 #include "core/fpdfapi/fpdf_page/cpdf_shadingpattern.h"
19 #include "core/fpdfapi/fpdf_page/cpdf_tilingpattern.h" 19 #include "core/fpdfapi/fpdf_page/cpdf_tilingpattern.h"
20 #include "core/fpdfapi/fpdf_parser/include/cpdf_array.h" 20 #include "core/fpdfapi/fpdf_parser/cpdf_array.h"
21 #include "core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h" 21 #include "core/fpdfapi/fpdf_parser/cpdf_dictionary.h"
22 #include "core/fpdfapi/fpdf_parser/include/cpdf_document.h" 22 #include "core/fpdfapi/fpdf_parser/cpdf_document.h"
23 #include "core/fpdfapi/fpdf_parser/include/cpdf_stream_acc.h" 23 #include "core/fpdfapi/fpdf_parser/cpdf_stream_acc.h"
24 #include "core/fpdfapi/include/cpdf_modulemgr.h" 24 #include "core/fpdfapi/include/cpdf_modulemgr.h"
25 #include "third_party/base/stl_util.h" 25 #include "third_party/base/stl_util.h"
26 26
27 void CPDF_ModuleMgr::InitPageModule() { 27 void CPDF_ModuleMgr::InitPageModule() {
28 m_pPageModule.reset(new CPDF_PageModule); 28 m_pPageModule.reset(new CPDF_PageModule);
29 } 29 }
30 30
31 CPDF_DocPageData::CPDF_DocPageData(CPDF_Document* pPDFDoc) 31 CPDF_DocPageData::CPDF_DocPageData(CPDF_Document* pPDFDoc)
32 : m_pPDFDoc(pPDFDoc), m_bForceClear(FALSE) {} 32 : m_pPDFDoc(pPDFDoc), m_bForceClear(FALSE) {}
33 33
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 } 545 }
546 546
547 CPDF_CountedPattern* CPDF_DocPageData::FindPatternPtr( 547 CPDF_CountedPattern* CPDF_DocPageData::FindPatternPtr(
548 CPDF_Object* pPatternObj) const { 548 CPDF_Object* pPatternObj) const {
549 if (!pPatternObj) 549 if (!pPatternObj)
550 return nullptr; 550 return nullptr;
551 551
552 auto it = m_PatternMap.find(pPatternObj); 552 auto it = m_PatternMap.find(pPatternObj);
553 return it != m_PatternMap.end() ? it->second : nullptr; 553 return it != m_PatternMap.end() ? it->second : nullptr;
554 } 554 }
OLDNEW
« no previous file with comments | « core/fpdfapi/fpdf_page/fpdf_page_colors.cpp ('k') | core/fpdfapi/fpdf_page/fpdf_page_func.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698