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

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

Issue 2392603004: Move core/fpdfapi/fpdf_parser to core/fpdfapi/parser (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/fpdfapi/page/fpdf_page_colors.cpp ('k') | core/fpdfapi/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/page/pageint.h" 7 #include "core/fpdfapi/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/cpdf_modulemgr.h" 13 #include "core/fpdfapi/cpdf_modulemgr.h"
14 #include "core/fpdfapi/font/cpdf_type1font.h" 14 #include "core/fpdfapi/font/cpdf_type1font.h"
15 #include "core/fpdfapi/font/font_int.h" 15 #include "core/fpdfapi/font/font_int.h"
16 #include "core/fpdfapi/fpdf_parser/cpdf_array.h"
17 #include "core/fpdfapi/fpdf_parser/cpdf_dictionary.h"
18 #include "core/fpdfapi/fpdf_parser/cpdf_document.h"
19 #include "core/fpdfapi/fpdf_parser/cpdf_stream_acc.h"
20 #include "core/fpdfapi/page/cpdf_image.h" 16 #include "core/fpdfapi/page/cpdf_image.h"
21 #include "core/fpdfapi/page/cpdf_pagemodule.h" 17 #include "core/fpdfapi/page/cpdf_pagemodule.h"
22 #include "core/fpdfapi/page/cpdf_pattern.h" 18 #include "core/fpdfapi/page/cpdf_pattern.h"
23 #include "core/fpdfapi/page/cpdf_shadingpattern.h" 19 #include "core/fpdfapi/page/cpdf_shadingpattern.h"
24 #include "core/fpdfapi/page/cpdf_tilingpattern.h" 20 #include "core/fpdfapi/page/cpdf_tilingpattern.h"
21 #include "core/fpdfapi/parser/cpdf_array.h"
22 #include "core/fpdfapi/parser/cpdf_dictionary.h"
23 #include "core/fpdfapi/parser/cpdf_document.h"
24 #include "core/fpdfapi/parser/cpdf_stream_acc.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
34 CPDF_DocPageData::~CPDF_DocPageData() { 34 CPDF_DocPageData::~CPDF_DocPageData() {
(...skipping 510 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/page/fpdf_page_colors.cpp ('k') | core/fpdfapi/page/fpdf_page_func.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698