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

Side by Side Diff: core/fpdfapi/fpdf_edit/include/cpdf_pagecontentgenerator.h

Issue 1890973006: Avoid narrowing to StringC in CPDF_Name and CPDF_NameTree (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Missing !, use initializer list. Created 4 years, 8 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
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 #ifndef CORE_FPDFAPI_FPDF_EDIT_INCLUDE_CPDF_PAGECONTENTGENERATOR_H_ 7 #ifndef CORE_FPDFAPI_FPDF_EDIT_INCLUDE_CPDF_PAGECONTENTGENERATOR_H_
8 #define CORE_FPDFAPI_FPDF_EDIT_INCLUDE_CPDF_PAGECONTENTGENERATOR_H_ 8 #define CORE_FPDFAPI_FPDF_EDIT_INCLUDE_CPDF_PAGECONTENTGENERATOR_H_
9 9
10 #include "core/fpdfapi/fpdf_parser/include/cpdf_document.h" 10 #include "core/fpdfapi/fpdf_parser/include/cpdf_document.h"
(...skipping 14 matching lines...) Expand all
25 void GenerateContent(); 25 void GenerateContent();
26 void TransformContent(CFX_Matrix& matrix); 26 void TransformContent(CFX_Matrix& matrix);
27 27
28 private: 28 private:
29 void ProcessImage(CFX_ByteTextBuf& buf, CPDF_ImageObject* pImageObj); 29 void ProcessImage(CFX_ByteTextBuf& buf, CPDF_ImageObject* pImageObj);
30 void ProcessForm(CFX_ByteTextBuf& buf, 30 void ProcessForm(CFX_ByteTextBuf& buf,
31 const uint8_t* data, 31 const uint8_t* data,
32 uint32_t size, 32 uint32_t size,
33 CFX_Matrix& matrix); 33 CFX_Matrix& matrix);
34 CFX_ByteString RealizeResource(CPDF_Object* pResourceObj, 34 CFX_ByteString RealizeResource(CPDF_Object* pResourceObj,
35 const FX_CHAR* szType); 35 const CFX_ByteString& bsType);
36 36
37 CPDF_Page* m_pPage; 37 CPDF_Page* m_pPage;
38 CPDF_Document* m_pDocument; 38 CPDF_Document* m_pDocument;
39 CFX_ArrayTemplate<CPDF_PageObject*> m_pageObjects; 39 CFX_ArrayTemplate<CPDF_PageObject*> m_pageObjects;
40 }; 40 };
41 41
42 #endif // CORE_FPDFAPI_FPDF_EDIT_INCLUDE_CPDF_PAGECONTENTGENERATOR_H_ 42 #endif // CORE_FPDFAPI_FPDF_EDIT_INCLUDE_CPDF_PAGECONTENTGENERATOR_H_
OLDNEW
« no previous file with comments | « core/fpdfapi/fpdf_edit/cpdf_pagecontentgenerator.cpp ('k') | core/fpdfapi/fpdf_parser/cpdf_name.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698