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

Side by Side Diff: xfa/src/fxfa/src/app/xfa_fwladapter.h

Issue 1172793002: Merge to XFA: Use stdint.h types throughout PDFium. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 6 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/src/fxfa/src/app/xfa_fontmgr.cpp ('k') | xfa/src/fxfa/src/app/xfa_fwltheme.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 _XFA_FWL_ADAPTER_IMP_H 7 #ifndef _XFA_FWL_ADAPTER_IMP_H
8 #define _XFA_FWL_ADAPTER_IMP_H 8 #define _XFA_FWL_ADAPTER_IMP_H
9 class CXFA_FWLAdapterWidgetMgr : public CFWL_SDAdapterWidgetMgr 9 class CXFA_FWLAdapterWidgetMgr : public CFWL_SDAdapterWidgetMgr
10 { 10 {
11 public: 11 public:
12 virtual FWL_ERR RepaintWidget(IFWL_Widget *pWidget, const CFX_RectF *pRect); 12 virtual FWL_ERR RepaintWidget(IFWL_Widget *pWidget, const CFX_RectF *pRect);
13 virtual FX_BOOL GetPopupPos(IFWL_Widget* pWidget, FX_FLOAT fMinHeight, FX_FLOAT fMaxHeight, const CFX_RectF &rtAnchor, CFX_RectF &rtPopup); 13 virtual FX_BOOL GetPopupPos(IFWL_Widget* pWidget, FX_FLOAT fMinHeight, FX_FLOAT fMaxHeight, const CFX_RectF &rtAnchor, CFX_RectF &rtPopup);
14 }; 14 };
15 class IXFA_FWLEventHandler 15 class IXFA_FWLEventHandler
16 { 16 {
17 public: 17 public:
18 virtual FX_BOOL GetPopupPos(IFWL_Widget *pWidget, FX_FLOAT fMinP opup, FX_FLOAT fMaxPopup, 18 virtual FX_BOOL GetPopupPos(IFWL_Widget *pWidget, FX_FLOAT fMinP opup, FX_FLOAT fMaxPopup,
19 const CFX_RectF &rtAnchor, CFX_RectF& rtPopu p) 19 const CFX_RectF &rtAnchor, CFX_RectF& rtPopu p)
20 { 20 {
21 return FALSE; 21 return FALSE;
22 } 22 }
23 virtual void OnPreOpen(IFWL_Widget *pWidget) {} 23 virtual void OnPreOpen(IFWL_Widget *pWidget) {}
24 virtual void OnPostOpen(IFWL_Widget *pWidget) {} 24 virtual void OnPostOpen(IFWL_Widget *pWidget) {}
25 virtual» void» » OnSelectChanged(IFWL_Widget *pWidget, FX_INT32 i Year, FX_INT32 iMonth, FX_INT32 iDay) {} 25 virtual» void» » OnSelectChanged(IFWL_Widget *pWidget, int32_t iY ear, int32_t iMonth, int32_t iDay) {}
26 virtual void OnTextChanged(IFWL_Widget *pWidget, const CFX_Wi deString &wsChanged) {} 26 virtual void OnTextChanged(IFWL_Widget *pWidget, const CFX_Wi deString &wsChanged) {}
27 virtual void OnTextFull(IFWL_Widget *pWidget) {} 27 virtual void OnTextFull(IFWL_Widget *pWidget) {}
28 virtual FX_BOOL OnValidate(IFWL_Widget *pWidget, CFX_WideString &wsText) 28 virtual FX_BOOL OnValidate(IFWL_Widget *pWidget, CFX_WideString &wsText)
29 { 29 {
30 return FALSE; 30 return FALSE;
31 } 31 }
32 virtual void OnSelectChanged(IFWL_Widget *pWidget, const CFX_ Int32Array &arrSels) {} 32 virtual void OnSelectChanged(IFWL_Widget *pWidget, const CFX_ Int32Array &arrSels) {}
33 virtual void OnAddDoRecord(IFWL_Widget *pWidget) {} 33 virtual void OnAddDoRecord(IFWL_Widget *pWidget) {}
34 virtual CXFA_Edge GetComboSplitColor(IFWL_Widget *pWidget) 34 virtual CXFA_Edge GetComboSplitColor(IFWL_Widget *pWidget)
35 { 35 {
36 return CXFA_Edge(NULL); 36 return CXFA_Edge(NULL);
37 } 37 }
38 virtual void GetUIMargin(CFX_RectF &rtMargin) {} 38 virtual void GetUIMargin(CFX_RectF &rtMargin) {}
39 virtual FX_BOOL CheckWord(FX_BSTR sWord) 39 virtual FX_BOOL CheckWord(FX_BSTR sWord)
40 { 40 {
41 return TRUE; 41 return TRUE;
42 } 42 }
43 virtual FX_BOOL GetSuggestWords(FX_BSTR sWord, CFX_ByteStringArr ay &sSuggest) 43 virtual FX_BOOL GetSuggestWords(FX_BSTR sWord, CFX_ByteStringArr ay &sSuggest)
44 { 44 {
45 return FALSE; 45 return FALSE;
46 } 46 }
47 }; 47 };
48 #endif 48 #endif
OLDNEW
« no previous file with comments | « xfa/src/fxfa/src/app/xfa_fontmgr.cpp ('k') | xfa/src/fxfa/src/app/xfa_fwltheme.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698