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

Side by Side Diff: core/fxge/apple/apple_int.h

Issue 2009803003: Remove default argument from RestoreState() methods. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: rebase Created 4 years, 7 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/fxge/agg/fx_agg_driver.cpp ('k') | core/fxge/apple/fx_quartz_device.cpp » ('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 #ifndef CORE_FXGE_APPLE_APPLE_INT_H_ 7 #ifndef CORE_FXGE_APPLE_APPLE_INT_H_
8 #define CORE_FXGE_APPLE_APPLE_INT_H_ 8 #define CORE_FXGE_APPLE_APPLE_INT_H_
9 9
10 #include "core/fxcrt/include/fx_system.h" 10 #include "core/fxcrt/include/fx_system.h"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 CFX_QuartzDeviceDriver(CGContextRef context, int32_t deviceClass); 84 CFX_QuartzDeviceDriver(CGContextRef context, int32_t deviceClass);
85 ~CFX_QuartzDeviceDriver() override; 85 ~CFX_QuartzDeviceDriver() override;
86 86
87 // IFX_RenderDeviceDriver 87 // IFX_RenderDeviceDriver
88 int GetDeviceCaps(int caps_id) override; 88 int GetDeviceCaps(int caps_id) override;
89 CFX_Matrix GetCTM() const override; 89 CFX_Matrix GetCTM() const override;
90 FX_BOOL IsPSPrintDriver() override { return FALSE; } 90 FX_BOOL IsPSPrintDriver() override { return FALSE; }
91 FX_BOOL StartRendering() override { return TRUE; } 91 FX_BOOL StartRendering() override { return TRUE; }
92 void EndRendering() override {} 92 void EndRendering() override {}
93 void SaveState() override; 93 void SaveState() override;
94 void RestoreState(FX_BOOL bKeepSaved) override; 94 void RestoreState(bool bKeepSaved) override;
95 FX_BOOL SetClip_PathFill(const CFX_PathData* pPathData, 95 FX_BOOL SetClip_PathFill(const CFX_PathData* pPathData,
96 const CFX_Matrix* pObject2Device, 96 const CFX_Matrix* pObject2Device,
97 int fill_mode) override; 97 int fill_mode) override;
98 FX_BOOL SetClip_PathStroke(const CFX_PathData* pPathData, 98 FX_BOOL SetClip_PathStroke(const CFX_PathData* pPathData,
99 const CFX_Matrix* pObject2Device, 99 const CFX_Matrix* pObject2Device,
100 const CFX_GraphStateData* pGraphState) override; 100 const CFX_GraphStateData* pGraphState) override;
101 FX_BOOL DrawPath(const CFX_PathData* pPathData, 101 FX_BOOL DrawPath(const CFX_PathData* pPathData,
102 const CFX_Matrix* pObject2Device, 102 const CFX_Matrix* pObject2Device,
103 const CFX_GraphStateData* pGraphState, 103 const CFX_GraphStateData* pGraphState,
104 uint32_t fill_color, 104 uint32_t fill_color,
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 int32_t m_vertSize; 218 int32_t m_vertSize;
219 }; 219 };
220 220
221 uint32_t FX_GetHashCode(const FX_CHAR* pStr); 221 uint32_t FX_GetHashCode(const FX_CHAR* pStr);
222 uint32_t FX_IOSGetMatchFamilyNameHashcode(const FX_CHAR* pFontName); 222 uint32_t FX_IOSGetMatchFamilyNameHashcode(const FX_CHAR* pFontName);
223 uint32_t FX_IOSGetFamilyNamesCount(); 223 uint32_t FX_IOSGetFamilyNamesCount();
224 const FX_CHAR* FX_IOSGetFamilyName(uint32_t uIndex); 224 const FX_CHAR* FX_IOSGetFamilyName(uint32_t uIndex);
225 #endif 225 #endif
226 226
227 #endif // CORE_FXGE_APPLE_APPLE_INT_H_ 227 #endif // CORE_FXGE_APPLE_APPLE_INT_H_
OLDNEW
« no previous file with comments | « core/fxge/agg/fx_agg_driver.cpp ('k') | core/fxge/apple/fx_quartz_device.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698