summaryrefslogtreecommitdiff
path: root/xfa/fde/css/fde_csscache.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-04-11 14:09:49 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-11 14:09:49 -0700
commit1fdde02d90963f774e7d1b6b0353d23aefe0a357 (patch)
treef86b92277e5f91b461e5f2265e91982a014282f8 /xfa/fde/css/fde_csscache.h
parentb8627c9d13884d48943d8a7a5381eaf0bb2c08d9 (diff)
downloadpdfium-1fdde02d90963f774e7d1b6b0353d23aefe0a357.tar.xz
Cleaning up FDE_CSS Classes.
This Cl removes the IFDE_CSSAccelerator header and replaces the usage with the concrete class. The interfaces and methods in the CSSComputedStyle class are cleanedup to remove any unused methods. BUG=pdfium:468 Review URL: https://codereview.chromium.org/1876253002
Diffstat (limited to 'xfa/fde/css/fde_csscache.h')
-rw-r--r--xfa/fde/css/fde_csscache.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/xfa/fde/css/fde_csscache.h b/xfa/fde/css/fde_csscache.h
index 20158b5371..7d1ace8ac1 100644
--- a/xfa/fde/css/fde_csscache.h
+++ b/xfa/fde/css/fde_csscache.h
@@ -71,11 +71,13 @@ class FDE_CSSTagCache : public CFX_Target {
};
typedef CFX_ObjectStackTemplate<FDE_CSSTagCache> CFDE_CSSTagStack;
-class CFDE_CSSAccelerator : public IFDE_CSSAccelerator, public CFX_Target {
+class CFDE_CSSAccelerator : public CFX_Target {
public:
- virtual void OnEnterTag(IFDE_CSSTagProvider* pTag);
- virtual void OnLeaveTag(IFDE_CSSTagProvider* pTag);
+ void OnEnterTag(IFDE_CSSTagProvider* pTag);
+ void OnLeaveTag(IFDE_CSSTagProvider* pTag);
+
void Clear() { m_Stack.RemoveAll(); }
+
FDE_CSSTagCache* GetTopElement() const { return m_Stack.GetTopElement(); }
protected: