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

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

Issue 1509203002: FWL refcounts never incremented (part 1) (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: protected Created 5 years 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/basewidget/fwl_tooltipctrl.h ('k') | xfa/include/fwl/core/fwl_note.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_FORM_H 7 #ifndef _FWL_FORM_H
8 #define _FWL_FORM_H 8 #define _FWL_FORM_H
9 class IFWL_Widget; 9 class IFWL_Widget;
10 class IFWL_Panel; 10 class IFWL_Panel;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 FWL_COMMANDID_Ok, 58 FWL_COMMANDID_Ok,
59 FWL_COMMANDID_Cancel, 59 FWL_COMMANDID_Cancel,
60 FWL_COMMANDID_Abort, 60 FWL_COMMANDID_Abort,
61 FWL_COMMANDID_Retry, 61 FWL_COMMANDID_Retry,
62 FWL_COMMANDID_Ignore, 62 FWL_COMMANDID_Ignore,
63 FWL_COMMANDID_Yes, 63 FWL_COMMANDID_Yes,
64 FWL_COMMANDID_No, 64 FWL_COMMANDID_No,
65 }; 65 };
66 class IFWL_Form : public IFWL_Panel { 66 class IFWL_Form : public IFWL_Panel {
67 public: 67 public:
68 static IFWL_Form* Create(); 68 IFWL_Form();
69 FWL_ERR Initialize(CFWL_WidgetImpProperties& properties, 69 FWL_ERR Initialize(CFWL_WidgetImpProperties& properties,
70 CFX_WideString* classname, 70 CFX_WideString* classname,
71 IFWL_Widget* pOuter); 71 IFWL_Widget* pOuter);
72 FWL_FORMSIZE GetFormSize(); 72 FWL_FORMSIZE GetFormSize();
73 FWL_ERR SetFormSize(FWL_FORMSIZE eFormSize); 73 FWL_ERR SetFormSize(FWL_FORMSIZE eFormSize);
74 IFWL_Widget* DoModal(); 74 IFWL_Widget* DoModal();
75 IFWL_Widget* DoModal(FX_DWORD& dwCommandID); 75 IFWL_Widget* DoModal(FX_DWORD& dwCommandID);
76 FWL_ERR EndDoModal(); 76 FWL_ERR EndDoModal();
77 FWL_ERR SetBorderRegion(CFX_Path* pPath); 77 FWL_ERR SetBorderRegion(CFX_Path* pPath);
78
79 protected:
80 IFWL_Form();
81 }; 78 };
82 #endif 79 #endif
OLDNEW
« no previous file with comments | « xfa/include/fwl/basewidget/fwl_tooltipctrl.h ('k') | xfa/include/fwl/core/fwl_note.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698