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

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

Issue 1453473002: FWL refcounts never incremented (part 2). (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Rebased 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/core/fwl_grid.h ('k') | xfa/include/fwl/core/fwl_target.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_PANEL_H 7 #ifndef _FWL_PANEL_H
8 #define _FWL_PANEL_H 8 #define _FWL_PANEL_H
9 class IFWL_Widget; 9 class IFWL_Widget;
10 class IFWL_Content; 10 class IFWL_Content;
11 class IFWL_Panel; 11 class IFWL_Panel;
12 class IFWL_CustomPanel; 12 class IFWL_CustomPanel;
13 #define FWL_CLASS_Panel L"FWL_Panel" 13 #define FWL_CLASS_Panel L"FWL_Panel"
14 #define FWL_CLASSHASH_Panel 881567292 14 #define FWL_CLASSHASH_Panel 881567292
15
15 class IFWL_Panel : public IFWL_Widget { 16 class IFWL_Panel : public IFWL_Widget {
16 public: 17 public:
17 static IFWL_Panel* Create(); 18 static IFWL_Panel* Create(CFWL_WidgetImpProperties& properties,
18 FWL_ERR Initialize(CFWL_WidgetImpProperties& properties, IFWL_Widget* pOuter); 19 IFWL_Widget* pOuter);
20
19 IFWL_Content* GetContent(); 21 IFWL_Content* GetContent();
20 FWL_ERR SetContent(IFWL_Content* pContent); 22 FWL_ERR SetContent(IFWL_Content* pContent);
21 23
22 protected: 24 protected:
23 IFWL_Panel(); 25 IFWL_Panel();
24 }; 26 };
27
25 class IFWL_CustomPanel : public IFWL_Widget { 28 class IFWL_CustomPanel : public IFWL_Widget {
26 public: 29 public:
27 static IFWL_CustomPanel* Create(); 30 static IFWL_CustomPanel* Create(CFWL_WidgetImpProperties& properties,
28 FWL_ERR Initialize(CFWL_WidgetImpProperties& properties, IFWL_Widget* pOuter); 31 IFWL_Widget* pOuter);
32
29 IFWL_Content* GetContent(); 33 IFWL_Content* GetContent();
30 FWL_ERR SetContent(IFWL_Content* pContent); 34 FWL_ERR SetContent(IFWL_Content* pContent);
31 FWL_ERR SetProxy(IFWL_Proxy* pProxy); 35 FWL_ERR SetProxy(IFWL_Proxy* pProxy);
32 36
33 protected: 37 protected:
34 IFWL_CustomPanel(); 38 IFWL_CustomPanel();
35 }; 39 };
36 #endif 40 #endif
OLDNEW
« no previous file with comments | « xfa/include/fwl/core/fwl_grid.h ('k') | xfa/include/fwl/core/fwl_target.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698