aboutsummaryrefslogtreecommitdiff
path: root/xfa/fwl/ifwl_widgetdelegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fwl/ifwl_widgetdelegate.h')
-rw-r--r--xfa/fwl/ifwl_widgetdelegate.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/xfa/fwl/ifwl_widgetdelegate.h b/xfa/fwl/ifwl_widgetdelegate.h
index 17b893397..ef0895f5c 100644
--- a/xfa/fwl/ifwl_widgetdelegate.h
+++ b/xfa/fwl/ifwl_widgetdelegate.h
@@ -1,4 +1,4 @@
-// Copyright 2016 PDFium Authors. All rights reserved.
+// Copyright 2016 The PDFium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -7,20 +7,20 @@
#ifndef XFA_FWL_IFWL_WIDGETDELEGATE_H_
#define XFA_FWL_IFWL_WIDGETDELEGATE_H_
-#include <stdint.h>
+#include "v8/include/cppgc/garbage-collected.h"
+class CFGAS_GEGraphics;
class CFWL_Event;
class CFWL_Message;
-class CXFA_Graphics;
class CFX_Matrix;
-class IFWL_WidgetDelegate {
+class IFWL_WidgetDelegate : public cppgc::GarbageCollectedMixin {
public:
virtual ~IFWL_WidgetDelegate() = default;
virtual void OnProcessMessage(CFWL_Message* pMessage) = 0;
virtual void OnProcessEvent(CFWL_Event* pEvent) = 0;
- virtual void OnDrawWidget(CXFA_Graphics* pGraphics,
+ virtual void OnDrawWidget(CFGAS_GEGraphics* pGraphics,
const CFX_Matrix& matrix) = 0;
};