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

Side by Side Diff: xfa/fwl/basewidget/fwl_tooltipctrlimp.h

Issue 1928963004: Cleanup IFWL_Adapter interfaces. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 7 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/fwl/basewidget/fwl_pushbuttonimp.cpp ('k') | xfa/fwl/basewidget/fwl_tooltipctrlimp.cpp » ('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_BASEWIDGET_FWL_TOOLTIPCTRLIMP_H_ 7 #ifndef XFA_FWL_BASEWIDGET_FWL_TOOLTIPCTRLIMP_H_
8 #define XFA_FWL_BASEWIDGET_FWL_TOOLTIPCTRLIMP_H_ 8 #define XFA_FWL_BASEWIDGET_FWL_TOOLTIPCTRLIMP_H_
9 9
10 #include "xfa/fwl/core/fwl_formimp.h" 10 #include "xfa/fwl/core/fwl_formimp.h"
(...skipping 10 matching lines...) Expand all
21 IFWL_Widget* pOuter); 21 IFWL_Widget* pOuter);
22 virtual ~CFWL_ToolTipImp(); 22 virtual ~CFWL_ToolTipImp();
23 virtual FWL_ERR GetClassName(CFX_WideString& wsClass) const; 23 virtual FWL_ERR GetClassName(CFX_WideString& wsClass) const;
24 virtual uint32_t GetClassID() const; 24 virtual uint32_t GetClassID() const;
25 virtual FWL_ERR Initialize(); 25 virtual FWL_ERR Initialize();
26 virtual FWL_ERR Finalize(); 26 virtual FWL_ERR Finalize();
27 virtual FWL_ERR GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize = FALSE); 27 virtual FWL_ERR GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize = FALSE);
28 virtual FWL_ERR Update(); 28 virtual FWL_ERR Update();
29 virtual FWL_ERR DrawWidget(CFX_Graphics* pGraphics, 29 virtual FWL_ERR DrawWidget(CFX_Graphics* pGraphics,
30 const CFX_Matrix* pMatrix = NULL); 30 const CFX_Matrix* pMatrix = NULL);
31 virtual FWL_ERR SetStates(uint32_t dwStates, FX_BOOL bSet); 31 virtual void SetStates(uint32_t dwStates, FX_BOOL bSet);
32 virtual FWL_ERR GetClientRect(CFX_RectF& rect); 32 virtual FWL_ERR GetClientRect(CFX_RectF& rect);
33 FWL_ERR SetAnchor(const CFX_RectF& rtAnchor); 33 FWL_ERR SetAnchor(const CFX_RectF& rtAnchor);
34 FWL_ERR Show(); 34 FWL_ERR Show();
35 FWL_ERR Hide(); 35 FWL_ERR Hide();
36 36
37 protected: 37 protected:
38 void DrawBkground(CFX_Graphics* pGraphics, 38 void DrawBkground(CFX_Graphics* pGraphics,
39 IFWL_ThemeProvider* pTheme, 39 IFWL_ThemeProvider* pTheme,
40 const CFX_Matrix* pMatrix); 40 const CFX_Matrix* pMatrix);
41 void DrawText(CFX_Graphics* pGraphics, 41 void DrawText(CFX_Graphics* pGraphics,
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 void OnFocusChanged(CFWL_Message* pMsg, FX_BOOL bSet = TRUE); 77 void OnFocusChanged(CFWL_Message* pMsg, FX_BOOL bSet = TRUE);
78 void OnLButtonDown(CFWL_MsgMouse* pMsg); 78 void OnLButtonDown(CFWL_MsgMouse* pMsg);
79 void OnLButtonUp(CFWL_MsgMouse* pMsg); 79 void OnLButtonUp(CFWL_MsgMouse* pMsg);
80 void OnMouseMove(CFWL_MsgMouse* pMsg); 80 void OnMouseMove(CFWL_MsgMouse* pMsg);
81 void OnMouseLeave(CFWL_MsgMouse* pMsg); 81 void OnMouseLeave(CFWL_MsgMouse* pMsg);
82 void OnKeyDown(CFWL_MsgKey* pMsg); 82 void OnKeyDown(CFWL_MsgKey* pMsg);
83 CFWL_ToolTipImp* m_pOwner; 83 CFWL_ToolTipImp* m_pOwner;
84 }; 84 };
85 85
86 #endif // XFA_FWL_BASEWIDGET_FWL_TOOLTIPCTRLIMP_H_ 86 #endif // XFA_FWL_BASEWIDGET_FWL_TOOLTIPCTRLIMP_H_
OLDNEW
« no previous file with comments | « xfa/fwl/basewidget/fwl_pushbuttonimp.cpp ('k') | xfa/fwl/basewidget/fwl_tooltipctrlimp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698