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

Unified Diff: core/include/fxge/fpf.h

Issue 1832173003: Remove FX_DWORD from core/ and delete definition (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/include/fxcodec/fx_codec.h ('k') | core/include/fxge/fx_dib.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/include/fxge/fpf.h
diff --git a/core/include/fxge/fpf.h b/core/include/fxge/fpf.h
index 6e596782cf71406e2e7a9251a200082040c04d85..bc42a2dd95d72f82ab9fa5d44e329a2eed2ba241 100644
--- a/core/include/fxge/fpf.h
+++ b/core/include/fxge/fpf.h
@@ -31,7 +31,7 @@ class IFPF_Font {
virtual FPF_HFONT GetHandle() = 0;
virtual CFX_ByteString GetFamilyName() = 0;
virtual CFX_WideString GetPsName() = 0;
- virtual FX_DWORD GetFontStyle() const = 0;
+ virtual uint32_t GetFontStyle() const = 0;
virtual uint8_t GetCharset() const = 0;
virtual int32_t GetGlyphIndex(FX_WCHAR wUnicode) = 0;
@@ -45,9 +45,9 @@ class IFPF_Font {
virtual int32_t GetHeight() const = 0;
virtual int32_t GetItalicAngle() const = 0;
- virtual FX_DWORD GetFontData(FX_DWORD dwTable,
+ virtual uint32_t GetFontData(uint32_t dwTable,
uint8_t* pBuffer,
- FX_DWORD dwSize) = 0;
+ uint32_t dwSize) = 0;
protected:
virtual ~IFPF_Font() {}
@@ -63,8 +63,8 @@ class IFPF_FontMgr {
virtual IFPF_Font* CreateFont(const CFX_ByteStringC& bsFamilyname,
uint8_t charset,
- FX_DWORD dwStyle,
- FX_DWORD dwMatch = 0) = 0;
+ uint32_t dwStyle,
+ uint32_t dwMatch = 0) = 0;
};
#endif // CORE_INCLUDE_FXGE_FPF_H_
« no previous file with comments | « core/include/fxcodec/fx_codec.h ('k') | core/include/fxge/fx_dib.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698