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

Side by Side Diff: xfa/fxfa/include/fxfa_widget.h

Issue 1979723003: Make CFX_WideString(const CFX_WideString&) explicit. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Override 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/fxfa/include/fxfa.h ('k') | xfa/fxfa/parser/cxfa_validate.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_FXFA_INCLUDE_FXFA_WIDGET_H_ 7 #ifndef XFA_FXFA_INCLUDE_FXFA_WIDGET_H_
8 #define XFA_FXFA_INCLUDE_FXFA_WIDGET_H_ 8 #define XFA_FXFA_INCLUDE_FXFA_WIDGET_H_
9 9
10 #include "core/fxcrt/include/fx_coordinates.h" 10 #include "core/fxcrt/include/fx_coordinates.h"
(...skipping 17 matching lines...) Expand all
28 class IFX_Font; 28 class IFX_Font;
29 class IXFA_AppProvider; 29 class IXFA_AppProvider;
30 30
31 class CXFA_WidgetAcc : public CXFA_WidgetData { 31 class CXFA_WidgetAcc : public CXFA_WidgetData {
32 public: 32 public:
33 CXFA_WidgetAcc(CXFA_FFDocView* pDocView, CXFA_Node* pNode); 33 CXFA_WidgetAcc(CXFA_FFDocView* pDocView, CXFA_Node* pNode);
34 ~CXFA_WidgetAcc(); 34 ~CXFA_WidgetAcc();
35 35
36 FX_BOOL GetName(CFX_WideString& wsName, int32_t iNameType = 0); 36 FX_BOOL GetName(CFX_WideString& wsName, int32_t iNameType = 0);
37 FX_BOOL ProcessValueChanged(); 37 FX_BOOL ProcessValueChanged();
38
39 public:
40 void ResetData(); 38 void ResetData();
41 39
42 void SetImageEdit(const CFX_WideStringC& wsContentType, 40 void SetImageEdit(const CFX_WideString& wsContentType,
43 const CFX_WideStringC& wsHref, 41 const CFX_WideString& wsHref,
44 const CFX_WideStringC& wsData); 42 const CFX_WideString& wsData);
45 43
46 CXFA_WidgetAcc* GetExclGroup(); 44 CXFA_WidgetAcc* GetExclGroup();
47 CXFA_FFDocView* GetDocView(); 45 CXFA_FFDocView* GetDocView();
48 CXFA_FFDoc* GetDoc(); 46 CXFA_FFDoc* GetDoc();
49 CXFA_FFApp* GetApp(); 47 CXFA_FFApp* GetApp();
50 IXFA_AppProvider* GetAppProvider(); 48 IXFA_AppProvider* GetAppProvider();
51 49
52 int32_t ProcessEvent(int32_t iActivity, CXFA_EventParam* pEventParam); 50 int32_t ProcessEvent(int32_t iActivity, CXFA_EventParam* pEventParam);
53 int32_t ProcessEvent(CXFA_Event& event, CXFA_EventParam* pEventParam); 51 int32_t ProcessEvent(CXFA_Event& event, CXFA_EventParam* pEventParam);
54 int32_t ProcessCalculate(); 52 int32_t ProcessCalculate();
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 FX_FLOAT& fWidth, 113 FX_FLOAT& fWidth,
116 FX_FLOAT& fCalcHeight); 114 FX_FLOAT& fCalcHeight);
117 void InitLayoutData(); 115 void InitLayoutData();
118 void StartTextLayout(FX_FLOAT& fCalcWidth, FX_FLOAT& fCalcHeight); 116 void StartTextLayout(FX_FLOAT& fCalcWidth, FX_FLOAT& fCalcHeight);
119 CXFA_FFDocView* m_pDocView; 117 CXFA_FFDocView* m_pDocView;
120 CXFA_WidgetLayoutData* m_pLayoutData; 118 CXFA_WidgetLayoutData* m_pLayoutData;
121 uint32_t m_nRecursionDepth; 119 uint32_t m_nRecursionDepth;
122 }; 120 };
123 121
124 #endif // XFA_FXFA_INCLUDE_FXFA_WIDGET_H_ 122 #endif // XFA_FXFA_INCLUDE_FXFA_WIDGET_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/include/fxfa.h ('k') | xfa/fxfa/parser/cxfa_validate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698