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

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

Issue 1453373006: Kill dead IFWL_*::Initialize() variants dead. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Rebased Created 5 years, 1 month 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_form.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_CONTENT_H 7 #ifndef _FWL_CONTENT_H
8 #define _FWL_CONTENT_H 8 #define _FWL_CONTENT_H
9 class IFWL_Widget; 9 class IFWL_Widget;
10 class IFWL_Content; 10 class IFWL_Content;
11 class IFWL_Content : public IFWL_Widget { 11 class IFWL_Content : public IFWL_Widget {
12 public: 12 public:
13 static IFWL_Content* Create(); 13 static IFWL_Content* Create();
14 FWL_ERR Initialize();
15 FWL_ERR InsertWidget(IFWL_Widget* pChild, int32_t nIndex = -1); 14 FWL_ERR InsertWidget(IFWL_Widget* pChild, int32_t nIndex = -1);
16 FWL_ERR RemoveWidget(IFWL_Widget* pWidget); 15 FWL_ERR RemoveWidget(IFWL_Widget* pWidget);
17 FWL_ERR RemoveAllWidgets(); 16 FWL_ERR RemoveAllWidgets();
18 FWL_ERR GetMinSize(FX_FLOAT& fWidth, FX_FLOAT& fHeight); 17 FWL_ERR GetMinSize(FX_FLOAT& fWidth, FX_FLOAT& fHeight);
19 FWL_ERR SetMinSize(FX_FLOAT fWidth, FX_FLOAT fHeight); 18 FWL_ERR SetMinSize(FX_FLOAT fWidth, FX_FLOAT fHeight);
20 FWL_ERR GetMaxSize(FX_FLOAT& fWidth, FX_FLOAT& fHeight); 19 FWL_ERR GetMaxSize(FX_FLOAT& fWidth, FX_FLOAT& fHeight);
21 FWL_ERR SetMaxSize(FX_FLOAT fWidth, FX_FLOAT fHeight); 20 FWL_ERR SetMaxSize(FX_FLOAT fWidth, FX_FLOAT fHeight);
22 21
23 protected: 22 protected:
24 IFWL_Content(); 23 IFWL_Content();
25 }; 24 };
26 #endif 25 #endif
OLDNEW
« no previous file with comments | « xfa/include/fwl/basewidget/fwl_tooltipctrl.h ('k') | xfa/include/fwl/core/fwl_form.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698