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

Unified Diff: xfa/fwl/lightwidget/cfwl_widgetdelegate.h

Issue 1834323003: Move xfa/include/fwl/{theme,lightwidget} to xfa/fwl (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
Index: xfa/fwl/lightwidget/cfwl_widgetdelegate.h
diff --git a/xfa/fwl/core/ifwl_widgetdelegate.h b/xfa/fwl/lightwidget/cfwl_widgetdelegate.h
similarity index 50%
copy from xfa/fwl/core/ifwl_widgetdelegate.h
copy to xfa/fwl/lightwidget/cfwl_widgetdelegate.h
index eeca68e8bc80a989a6bf6d9a3fcf1b1b37ab5ebb..3e4247d05070a95b33c98af2899e708e85a8b642 100644
--- a/xfa/fwl/core/ifwl_widgetdelegate.h
+++ b/xfa/fwl/lightwidget/cfwl_widgetdelegate.h
@@ -4,8 +4,8 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef XFA_FWL_CORE_IFWL_WIDGETDELEGATE_H_
-#define XFA_FWL_CORE_IFWL_WIDGETDELEGATE_H_
+#ifndef XFA_FWL_LIGHTWIDGET_CFWL_WIDGETDELEGATE_H_
+#define XFA_FWL_LIGHTWIDGET_CFWL_WIDGETDELEGATE_H_
#include "xfa/fwl/core/fwl_error.h"
@@ -14,13 +14,14 @@ class CFWL_Message;
class CFX_Graphics;
class CFX_Matrix;
-class IFWL_WidgetDelegate {
+class CFWL_WidgetDelegate {
Tom Sepez 2016/03/29 16:45:31 Does this inherit/override from ifwl_widgetdelegat
dsinclair 2016/03/29 19:22:23 Looks like it should, fixed.
public:
- virtual ~IFWL_WidgetDelegate() {}
- virtual int32_t OnProcessMessage(CFWL_Message* pMessage) = 0;
- virtual FWL_ERR OnProcessEvent(CFWL_Event* pEvent) = 0;
+ CFWL_WidgetDelegate();
+ virtual ~CFWL_WidgetDelegate();
+ virtual int32_t OnProcessMessage(CFWL_Message* pMessage);
+ virtual FWL_ERR OnProcessEvent(CFWL_Event* pEvent);
virtual FWL_ERR OnDrawWidget(CFX_Graphics* pGraphics,
- const CFX_Matrix* pMatrix = NULL) = 0;
+ const CFX_Matrix* pMatrix = nullptr);
};
-#endif // XFA_FWL_CORE_IFWL_WIDGETDELEGATE_H_
+#endif // XFA_FWL_LIGHTWIDGET_CFWL_WIDGETDELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698