1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 
7 #ifndef _FWL_PANEL_IMP_H
8 #define _FWL_PANEL_IMP_H
9 class CFWL_WidgetImp;
10 class CFWL_WidgetImpProperties;
11 class IFWL_Widget;
12 class IFWL_Content;
13 class CFWL_PanelImp;
14 class CFWL_PanelImp : public CFWL_WidgetImp {
15  public:
16   CFWL_PanelImp(const CFWL_WidgetImpProperties& properties,
17                 IFWL_Widget* pOuter);
18   virtual ~CFWL_PanelImp();
19   virtual FWL_ERR GetClassName(CFX_WideString& wsClass) const;
20   virtual FX_DWORD GetClassID() const;
21   virtual FWL_ERR GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize = FALSE);
22   virtual FWL_ERR Update();
23   virtual IFWL_Content* GetContent();
24   virtual FWL_ERR SetContent(IFWL_Content* pContent);
25 
26  protected:
27   IFWL_Content* m_pContent;
28 };
29 #endif
30