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

Side by Side Diff: core/fpdfapi/fpdf_page/include/cpdf_colorspace.h

Issue 2366673003: Rename CPDF_CountedObject to CFX_WeakPtr::Handle (Closed)
Patch Set: comment 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_shadingpattern.h ('k') | core/fpdfapi/fpdf_page/pageint.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_INCLUDE_CPDF_COLORSPACE_H_ 7 #ifndef CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_COLORSPACE_H_
8 #define CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_COLORSPACE_H_ 8 #define CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_COLORSPACE_H_
9 9
10 #include "core/fxcrt/include/cfx_weak_ptr.h"
10 #include "core/fxcrt/include/fx_string.h" 11 #include "core/fxcrt/include/fx_string.h"
11 #include "core/fxcrt/include/fx_system.h" 12 #include "core/fxcrt/include/fx_system.h"
12 13
13 #define PDFCS_DEVICEGRAY 1 14 #define PDFCS_DEVICEGRAY 1
14 #define PDFCS_DEVICERGB 2 15 #define PDFCS_DEVICERGB 2
15 #define PDFCS_DEVICECMYK 3 16 #define PDFCS_DEVICECMYK 3
16 #define PDFCS_CALGRAY 4 17 #define PDFCS_CALGRAY 4
17 #define PDFCS_CALRGB 5 18 #define PDFCS_CALRGB 5
18 #define PDFCS_LAB 6 19 #define PDFCS_LAB 6
19 #define PDFCS_ICCBASED 7 20 #define PDFCS_ICCBASED 7
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 FX_FLOAT m, 95 FX_FLOAT m,
95 FX_FLOAT y, 96 FX_FLOAT y,
96 FX_FLOAT k) const; 97 FX_FLOAT k) const;
97 98
98 int m_Family; 99 int m_Family;
99 uint32_t m_nComponents; 100 uint32_t m_nComponents;
100 CPDF_Array* m_pArray; 101 CPDF_Array* m_pArray;
101 uint32_t m_dwStdConversion; 102 uint32_t m_dwStdConversion;
102 }; 103 };
103 104
105 using CPDF_CountedColorSpace = CFX_WeakPtr<CPDF_ColorSpace>::Handle;
106
104 #endif // CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_COLORSPACE_H_ 107 #endif // CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_COLORSPACE_H_
OLDNEW
« no previous file with comments | « core/fpdfapi/fpdf_page/cpdf_shadingpattern.h ('k') | core/fpdfapi/fpdf_page/pageint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698