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

Side by Side Diff: xfa/include/fwl/core/fwl_widget.h

Issue 1087053002: Merge to XFA: Kill CFX_Object. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 8 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 unified diff | Download patch
« no previous file with comments | « xfa/include/fwl/core/fwl_theme.h ('k') | xfa/include/fwl/lightwidget/app.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef _FWL_WIDGET_H 7 #ifndef _FWL_WIDGET_H
8 #define _FWL_WIDGET_H 8 #define _FWL_WIDGET_H
9 class IFWL_Target; 9 class IFWL_Target;
10 class IFWL_ThemeProvider; 10 class IFWL_ThemeProvider;
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 IFWL_NoteThread* GetOwnerThread() const; 56 IFWL_NoteThread* GetOwnerThread() const;
57 CFX_SizeF GetOffsetFromParent(IFWL_Widget *pParent ); 57 CFX_SizeF GetOffsetFromParent(IFWL_Widget *pParent );
58 }; 58 };
59 class IFWL_WidgetDelegate 59 class IFWL_WidgetDelegate
60 { 60 {
61 public: 61 public:
62 virtual FX_INT32 OnProcessMessage(CFWL_Message *pMessage) = 0; 62 virtual FX_INT32 OnProcessMessage(CFWL_Message *pMessage) = 0;
63 virtual FWL_ERR OnProcessEvent(CFWL_Event *pEvent) = 0; 63 virtual FWL_ERR OnProcessEvent(CFWL_Event *pEvent) = 0;
64 virtual FWL_ERR OnDrawWidget(CFX_Graphics *pGraphics, const CFX_ Matrix *pMatrix = NULL) = 0; 64 virtual FWL_ERR OnDrawWidget(CFX_Graphics *pGraphics, const CFX_ Matrix *pMatrix = NULL) = 0;
65 }; 65 };
66 class CFWL_WidgetImpProperties : public CFX_Object 66 class CFWL_WidgetImpProperties
67 { 67 {
68 public: 68 public:
69 CFWL_WidgetImpProperties() 69 CFWL_WidgetImpProperties()
70 { 70 {
71 m_ctmOnParent.Reset(); 71 m_ctmOnParent.Reset();
72 m_rtWidget.Set(0, 0, 0, 0); 72 m_rtWidget.Set(0, 0, 0, 0);
73 m_dwStyles = FWL_WGTSTYLE_Child; 73 m_dwStyles = FWL_WGTSTYLE_Child;
74 m_dwStyleExes = 0; 74 m_dwStyleExes = 0;
75 m_dwStates = 0; 75 m_dwStates = 0;
76 m_pThemeProvider = NULL; 76 m_pThemeProvider = NULL;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 typedef struct _FWL_ACCEL { 113 typedef struct _FWL_ACCEL {
114 FX_DWORD dwKey; 114 FX_DWORD dwKey;
115 FX_DWORD dwCmd; 115 FX_DWORD dwCmd;
116 } FWL_ACCEL; 116 } FWL_ACCEL;
117 typedef CFX_MapPtrTemplate <FX_DWORD, FX_DWORD> CFX_MapAccelerators; 117 typedef CFX_MapPtrTemplate <FX_DWORD, FX_DWORD> CFX_MapAccelerators;
118 FWL_ERR FWL_Accelerator_SetApp(CFX_MapAccelerators *pMapAccel); 118 FWL_ERR FWL_Accelerator_SetApp(CFX_MapAccelerators *pMapAccel);
119 FWL_ERR FWL_Accelerator_SetThread(CFX_MapAccelerators *pMapAccel); 119 FWL_ERR FWL_Accelerator_SetThread(CFX_MapAccelerators *pMapAccel);
120 FWL_ERR FWL_Accelerator_SetForm(IFWL_Form *pFrom, CFX_MapAccelerators *pMapAccel ); 120 FWL_ERR FWL_Accelerator_SetForm(IFWL_Form *pFrom, CFX_MapAccelerators *pMapAccel );
121 FWL_ERR FWL_EnabelWidget(IFWL_Widget *widget, FX_BOOL bEnable); 121 FWL_ERR FWL_EnabelWidget(IFWL_Widget *widget, FX_BOOL bEnable);
122 #endif 122 #endif
OLDNEW
« no previous file with comments | « xfa/include/fwl/core/fwl_theme.h ('k') | xfa/include/fwl/lightwidget/app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698