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

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

Issue 1946213003: Remove CLASSHASH defines in favour of an enum class. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: 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/ifwl_spinbutton.h ('k') | xfa/fwl/core/fwl_formimp.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_BASEWIDGET_IFWL_TOOLTIP_H_ 7 #ifndef XFA_FWL_BASEWIDGET_IFWL_TOOLTIP_H_
8 #define XFA_FWL_BASEWIDGET_IFWL_TOOLTIP_H_ 8 #define XFA_FWL_BASEWIDGET_IFWL_TOOLTIP_H_
9 9
10 #include "xfa/fwl/core/ifwl_form.h" 10 #include "xfa/fwl/core/ifwl_form.h"
11 11
12 class CFWL_WidgetImpProperties; 12 class CFWL_WidgetImpProperties;
13 class IFWL_ToolTip; 13 class IFWL_ToolTip;
14 14
15 #define FWL_CLASS_ToolTip L"FWL_TOOLTIP" 15 #define FWL_CLASS_ToolTip L"FWL_TOOLTIP"
16 #define FWL_CLASSHASH_ToolTip 1111984755
17 #define FWL_STYLEEXT_TTP_Rectangle (0L << 3) 16 #define FWL_STYLEEXT_TTP_Rectangle (0L << 3)
18 #define FWL_STYLEEXT_TTP_RoundCorner (1L << 3) 17 #define FWL_STYLEEXT_TTP_RoundCorner (1L << 3)
19 #define FWL_STYLEEXT_TTP_Balloon (1L << 4) 18 #define FWL_STYLEEXT_TTP_Balloon (1L << 4)
20 #define FWL_STYLEEXT_TTP_Multiline (1L << 5) 19 #define FWL_STYLEEXT_TTP_Multiline (1L << 5)
21 #define FWL_STYLEEXT_TTP_NoAnchor (1L << 6) 20 #define FWL_STYLEEXT_TTP_NoAnchor (1L << 6)
22 21
23 class IFWL_ToolTipDP : public IFWL_DataProvider { 22 class IFWL_ToolTipDP : public IFWL_DataProvider {
24 public: 23 public:
25 virtual FWL_Error GetCaption(IFWL_Widget* pWidget, 24 virtual FWL_Error GetCaption(IFWL_Widget* pWidget,
26 CFX_WideString& wsCaption) = 0; 25 CFX_WideString& wsCaption) = 0;
(...skipping 10 matching lines...) Expand all
37 36
38 void SetAnchor(const CFX_RectF& rtAnchor); 37 void SetAnchor(const CFX_RectF& rtAnchor);
39 void Show(); 38 void Show();
40 void Hide(); 39 void Hide();
41 40
42 protected: 41 protected:
43 IFWL_ToolTip(); 42 IFWL_ToolTip();
44 }; 43 };
45 44
46 #endif // XFA_FWL_BASEWIDGET_IFWL_TOOLTIP_H_ 45 #endif // XFA_FWL_BASEWIDGET_IFWL_TOOLTIP_H_
OLDNEW
« no previous file with comments | « xfa/fwl/basewidget/ifwl_spinbutton.h ('k') | xfa/fwl/core/fwl_formimp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698