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

Side by Side Diff: core/fpdfapi/fpdf_page/cpdf_shadingpattern.h

Issue 2377033003: Revert "Rename CPDF_CountedObject to CFX_WeakPtr::Handle" (Closed)
Patch Set: blank line 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/cpdf_pattern.h ('k') | core/fpdfapi/fpdf_page/include/cpdf_colorspace.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 #ifndef CORE_FPDFAPI_FPDF_PAGE_CPDF_SHADINGPATTERN_H_ 7 #ifndef CORE_FPDFAPI_FPDF_PAGE_CPDF_SHADINGPATTERN_H_
8 #define CORE_FPDFAPI_FPDF_PAGE_CPDF_SHADINGPATTERN_H_ 8 #define CORE_FPDFAPI_FPDF_PAGE_CPDF_SHADINGPATTERN_H_
9 9
10 #include <memory> 10 #include <memory>
11 #include <vector> 11 #include <vector>
12 12
13 #include "core/fpdfapi/fpdf_page/cpdf_countedobject.h"
13 #include "core/fpdfapi/fpdf_page/cpdf_pattern.h" 14 #include "core/fpdfapi/fpdf_page/cpdf_pattern.h"
14 #include "core/fpdfapi/fpdf_page/include/cpdf_colorspace.h"
15 #include "core/fxcrt/include/cfx_weak_ptr.h"
16 #include "core/fxcrt/include/fx_system.h" 15 #include "core/fxcrt/include/fx_system.h"
17 16
18 enum ShadingType { 17 enum ShadingType {
19 kInvalidShading = 0, 18 kInvalidShading = 0,
20 kFunctionBasedShading = 1, 19 kFunctionBasedShading = 1,
21 kAxialShading = 2, 20 kAxialShading = 2,
22 kRadialShading = 3, 21 kRadialShading = 3,
23 kFreeFormGouraudTriangleMeshShading = 4, 22 kFreeFormGouraudTriangleMeshShading = 4,
24 kLatticeFormGouraudTriangleMeshShading = 5, 23 kLatticeFormGouraudTriangleMeshShading = 5,
25 kCoonsPatchMeshShading = 6, 24 kCoonsPatchMeshShading = 6,
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 66
68 // Still keep |m_pCS| as some CPDF_ColorSpace (name object) are not managed 67 // Still keep |m_pCS| as some CPDF_ColorSpace (name object) are not managed
69 // as counted objects. Refer to CPDF_DocPageData::GetColorSpace. 68 // as counted objects. Refer to CPDF_DocPageData::GetColorSpace.
70 CPDF_ColorSpace* m_pCS; 69 CPDF_ColorSpace* m_pCS;
71 70
72 CPDF_CountedColorSpace* m_pCountedCS; 71 CPDF_CountedColorSpace* m_pCountedCS;
73 std::vector<std::unique_ptr<CPDF_Function>> m_pFunctions; 72 std::vector<std::unique_ptr<CPDF_Function>> m_pFunctions;
74 }; 73 };
75 74
76 #endif // CORE_FPDFAPI_FPDF_PAGE_CPDF_SHADINGPATTERN_H_ 75 #endif // CORE_FPDFAPI_FPDF_PAGE_CPDF_SHADINGPATTERN_H_
OLDNEW
« no previous file with comments | « core/fpdfapi/fpdf_page/cpdf_pattern.h ('k') | core/fpdfapi/fpdf_page/include/cpdf_colorspace.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698