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

Unified Diff: xfa/fwl/core/cfwl_widgetmgr.h

Issue 2510823003: Move the message definitions to their own files. (Closed)
Patch Set: Review feedback Created 4 years, 1 month 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/fwl/core/cfwl_msgsetfocus.cpp ('k') | xfa/fwl/core/cfwl_widgetmgr.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fwl/core/cfwl_widgetmgr.h
diff --git a/xfa/fwl/core/cfwl_widgetmgr.h b/xfa/fwl/core/cfwl_widgetmgr.h
index 10176c25983ad03fc163c872eeda9186d1646f87..cdfa24a91d0c1aa5ff520ee537d97e444c3fd85b 100644
--- a/xfa/fwl/core/cfwl_widgetmgr.h
+++ b/xfa/fwl/core/cfwl_widgetmgr.h
@@ -14,7 +14,6 @@
#include "xfa/fwl/core/fwl_error.h"
#include "xfa/fxgraphics/cfx_graphics.h"
-#define FWL_WGTMGR_DisableThread 0x00000001
#define FWL_WGTMGR_DisableForm 0x00000002
class CFWL_Message;
@@ -45,8 +44,7 @@ class CFWL_WidgetMgrItem {
class IFWL_WidgetMgrDelegate {
public:
- virtual void OnSetCapability(
- uint32_t dwCapability = FWL_WGTMGR_DisableThread) = 0;
+ virtual void OnSetCapability(uint32_t dwCapability) = 0;
virtual void OnProcessMessageToForm(CFWL_Message* pMessage) = 0;
virtual void OnDrawWidget(IFWL_Widget* pWidget,
CFX_Graphics* pGraphics,
@@ -59,8 +57,7 @@ class CFWL_WidgetMgr : public IFWL_WidgetMgrDelegate {
~CFWL_WidgetMgr();
// IFWL_WidgetMgrDelegate
- void OnSetCapability(
- uint32_t dwCapability = FWL_WGTMGR_DisableThread) override;
+ void OnSetCapability(uint32_t dwCapability) override;
void OnProcessMessageToForm(CFWL_Message* pMessage) override;
void OnDrawWidget(IFWL_Widget* pWidget,
CFX_Graphics* pGraphics,
@@ -117,10 +114,6 @@ class CFWL_WidgetMgr : public IFWL_WidgetMgrDelegate {
void ResetRedrawCounts(IFWL_Widget* pWidget);
- bool IsThreadEnabled() const {
- return !(m_dwCapability & FWL_WGTMGR_DisableThread);
- }
-
void DrawChild(IFWL_Widget* pParent,
const CFX_RectF& rtClip,
CFX_Graphics* pGraphics,
« no previous file with comments | « xfa/fwl/core/cfwl_msgsetfocus.cpp ('k') | xfa/fwl/core/cfwl_widgetmgr.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698