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

Unified Diff: xfa/fwl/cfwl_widget.h

Issue 2559643004: Change layout item in CFWL_Widget type from void (Closed)
Patch Set: Created 4 years 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/cfwl_edit.cpp ('k') | xfa/fxfa/app/xfa_fwladapter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fwl/cfwl_widget.h
diff --git a/xfa/fwl/cfwl_widget.h b/xfa/fwl/cfwl_widget.h
index 64fc526ad6cd114d80c5189cbdc7222d61fde5df..5046aab888327b309765117d6cf77bb8b9741ce3 100644
--- a/xfa/fwl/cfwl_widget.h
+++ b/xfa/fwl/cfwl_widget.h
@@ -43,6 +43,7 @@ class CFWL_MessageKey;
class CFWL_Widget;
class CFWL_WidgetMgr;
class CFWL_WidgetProperties;
+class CXFA_FFWidget;
class IFWL_ThemeProvider;
class CFWL_Widget : public IFWL_WidgetDelegate {
@@ -105,8 +106,8 @@ class CFWL_Widget : public IFWL_WidgetDelegate {
uint32_t GetEventKey() const { return m_nEventKey; }
void SetEventKey(uint32_t key) { m_nEventKey = key; }
- void* GetLayoutItem() const { return m_pLayoutItem; }
- void SetLayoutItem(void* pItem) { m_pLayoutItem = pItem; }
+ CXFA_FFWidget* GetLayoutItem() const { return m_pLayoutItem; }
+ void SetLayoutItem(CXFA_FFWidget* pItem) { m_pLayoutItem = pItem; }
void SetFocus(bool bFocus);
void RepaintRect(const CFX_RectF& pRect);
@@ -189,7 +190,7 @@ class CFWL_Widget : public IFWL_WidgetDelegate {
void NotifyDriver();
bool IsParent(CFWL_Widget* pParent);
- void* m_pLayoutItem;
+ CXFA_FFWidget* m_pLayoutItem;
uint32_t m_nEventKey;
IFWL_WidgetDelegate* m_pDelegate; // Not owned.
};
« no previous file with comments | « xfa/fwl/cfwl_edit.cpp ('k') | xfa/fxfa/app/xfa_fwladapter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698