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

Unified Diff: xfa/fde/css/fde_cssstylesheet.h

Issue 2005933002: Rename IFX_Unknown to IFX_Retainable. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Alphabetical order. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « xfa/fde/css/fde_cssstyleselector.h ('k') | xfa/fde/css/fde_cssstylesheet.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fde/css/fde_cssstylesheet.h
diff --git a/xfa/fde/css/fde_cssstylesheet.h b/xfa/fde/css/fde_cssstylesheet.h
index 9362fb15b4d81deed224f9ec94797235ff48e861..76eddda4a3f6dada251085db899c09810aae45c1 100644
--- a/xfa/fde/css/fde_cssstylesheet.h
+++ b/xfa/fde/css/fde_cssstylesheet.h
@@ -98,18 +98,22 @@ class CFDE_CSSFontFaceRule : public IFDE_CSSFontFaceRule, public CFX_Target {
class CFDE_CSSStyleSheet : public IFDE_CSSStyleSheet, public CFX_Target {
public:
CFDE_CSSStyleSheet(uint32_t dwMediaList);
- ~CFDE_CSSStyleSheet();
- virtual uint32_t AddRef();
- virtual uint32_t Release();
+ ~CFDE_CSSStyleSheet() override;
- virtual FX_BOOL GetUrl(CFX_WideString& szUrl) {
+ // IFX_Retainable:
+ uint32_t Retain() override;
+ uint32_t Release() override;
+
+ // IFDE_CSSStyleSheet:
+ FX_BOOL GetUrl(CFX_WideString& szUrl) override {
szUrl = m_szUrl;
return szUrl.GetLength() > 0;
}
- virtual uint32_t GetMediaList() const { return m_dwMediaList; }
- virtual uint16_t GetCodePage() const { return m_wCodePage; }
- virtual int32_t CountRules() const;
- virtual IFDE_CSSRule* GetRule(int32_t index);
+ uint32_t GetMediaList() const override { return m_dwMediaList; }
+ uint16_t GetCodePage() const override { return m_wCodePage; }
+ int32_t CountRules() const override;
+ IFDE_CSSRule* GetRule(int32_t index) override;
+
FX_BOOL LoadFromStream(const CFX_WideString& szUrl,
IFX_Stream* pStream,
uint16_t wCodePage);
« no previous file with comments | « xfa/fde/css/fde_cssstyleselector.h ('k') | xfa/fde/css/fde_cssstylesheet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698