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

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

Issue 2223213002: Refactor fx_ge part 3 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase Created 4 years, 4 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_parser.cpp ('k') | core/fpdfapi/fpdf_page/include/cpdf_path.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 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 <limits.h> 9 #include <limits.h>
10 10
(...skipping 12 matching lines...) Expand all
23 #include "core/fpdfapi/fpdf_parser/include/cpdf_name.h" 23 #include "core/fpdfapi/fpdf_parser/include/cpdf_name.h"
24 #include "core/fpdfapi/fpdf_parser/include/cpdf_number.h" 24 #include "core/fpdfapi/fpdf_parser/include/cpdf_number.h"
25 #include "core/fpdfapi/fpdf_parser/include/cpdf_stream.h" 25 #include "core/fpdfapi/fpdf_parser/include/cpdf_stream.h"
26 #include "core/fpdfapi/fpdf_parser/include/cpdf_stream_acc.h" 26 #include "core/fpdfapi/fpdf_parser/include/cpdf_stream_acc.h"
27 #include "core/fpdfapi/fpdf_parser/include/cpdf_string.h" 27 #include "core/fpdfapi/fpdf_parser/include/cpdf_string.h"
28 #include "core/fpdfapi/fpdf_parser/include/fpdf_parser_decode.h" 28 #include "core/fpdfapi/fpdf_parser/include/fpdf_parser_decode.h"
29 #include "core/fpdfapi/include/cpdf_modulemgr.h" 29 #include "core/fpdfapi/include/cpdf_modulemgr.h"
30 #include "core/fxcodec/include/fx_codec.h" 30 #include "core/fxcodec/include/fx_codec.h"
31 #include "core/fxcrt/include/fx_ext.h" 31 #include "core/fxcrt/include/fx_ext.h"
32 #include "core/fxcrt/include/fx_safe_types.h" 32 #include "core/fxcrt/include/fx_safe_types.h"
33 #include "core/fxge/include/cfx_fxgedevice.h"
34 #include "core/fxge/include/cfx_renderdevice.h"
33 35
34 namespace { 36 namespace {
35 37
36 const uint32_t kMaxNestedArrayLevel = 512; 38 const uint32_t kMaxNestedArrayLevel = 512;
37 const uint32_t kMaxWordBuffer = 256; 39 const uint32_t kMaxWordBuffer = 256;
38 const FX_STRSIZE kMaxStringLength = 32767; 40 const FX_STRSIZE kMaxStringLength = 32767;
39 41
40 } // namespace 42 } // namespace
41 43
42 CPDF_StreamParser::CPDF_StreamParser(const uint8_t* pData, uint32_t dwSize) { 44 CPDF_StreamParser::CPDF_StreamParser(const uint8_t* pData, uint32_t dwSize) {
(...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after
820 } 822 }
821 m_Status = Done; 823 m_Status = Done;
822 return; 824 return;
823 } 825 }
824 steps++; 826 steps++;
825 if (pPause && pPause->NeedToPauseNow()) { 827 if (pPause && pPause->NeedToPauseNow()) {
826 break; 828 break;
827 } 829 }
828 } 830 }
829 } 831 }
OLDNEW
« no previous file with comments | « core/fpdfapi/fpdf_page/fpdf_page_parser.cpp ('k') | core/fpdfapi/fpdf_page/include/cpdf_path.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698