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

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

Issue 2366673003: Rename CPDF_CountedObject to CFX_WeakPtr::Handle (Closed)
Patch Set: comment Created 4 years, 3 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_PAGE_CPDF_PATTERN_H_ 7 #ifndef CORE_FPDFAPI_FPDF_PAGE_CPDF_PATTERN_H_
8 #define CORE_FPDFAPI_FPDF_PAGE_CPDF_PATTERN_H_ 8 #define CORE_FPDFAPI_FPDF_PAGE_CPDF_PATTERN_H_
9 9
10 #include "core/fxcrt/include/cfx_weak_ptr.h"
10 #include "core/fxcrt/include/fx_coordinates.h" 11 #include "core/fxcrt/include/fx_coordinates.h"
11 #include "core/fxcrt/include/fx_system.h" 12 #include "core/fxcrt/include/fx_system.h"
12 13
13 class CPDF_Document; 14 class CPDF_Document;
14 class CPDF_Object; 15 class CPDF_Object;
15 class CPDF_ShadingPattern; 16 class CPDF_ShadingPattern;
16 class CPDF_TilingPattern; 17 class CPDF_TilingPattern;
17 18
18 class CPDF_Pattern { 19 class CPDF_Pattern {
19 public: 20 public:
(...skipping 15 matching lines...) Expand all
35 CPDF_Object* pObj, 36 CPDF_Object* pObj,
36 const CFX_Matrix& parentMatrix); 37 const CFX_Matrix& parentMatrix);
37 38
38 const PatternType m_PatternType; 39 const PatternType m_PatternType;
39 CPDF_Document* const m_pDocument; 40 CPDF_Document* const m_pDocument;
40 CPDF_Object* const m_pPatternObj; 41 CPDF_Object* const m_pPatternObj;
41 CFX_Matrix m_Pattern2Form; 42 CFX_Matrix m_Pattern2Form;
42 const CFX_Matrix m_ParentMatrix; 43 const CFX_Matrix m_ParentMatrix;
43 }; 44 };
44 45
46 using CPDF_CountedPattern = CFX_WeakPtr<CPDF_Pattern>::Handle;
47
45 #endif // CORE_FPDFAPI_FPDF_PAGE_CPDF_PATTERN_H_ 48 #endif // CORE_FPDFAPI_FPDF_PAGE_CPDF_PATTERN_H_
OLDNEW
« no previous file with comments | « core/fpdfapi/fpdf_page/cpdf_countedobject.h ('k') | core/fpdfapi/fpdf_page/cpdf_shadingpattern.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698