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

Side by Side Diff: xfa/fwl/core/fwl_panelimp.cpp

Issue 1899743002: Remove unused FWL Panel code. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 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/fwl/core/fwl_panelimp.h ('k') | xfa/fwl/core/ifwl_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
(Empty)
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 #include "xfa/fwl/core/fwl_panelimp.h"
8
9 #include "xfa/fwl/core/cfwl_widgetimpproperties.h"
10 #include "xfa/fwl/core/fwl_noteimp.h"
11 #include "xfa/fwl/core/fwl_targetimp.h"
12 #include "xfa/fwl/core/fwl_widgetimp.h"
13 #include "xfa/fwl/core/fwl_widgetmgrimp.h"
14 #include "xfa/fwl/core/ifwl_panel.h"
15
16 IFWL_Panel::IFWL_Panel() {}
17
18 CFWL_PanelImp::CFWL_PanelImp(const CFWL_WidgetImpProperties& properties,
19 IFWL_Widget* pOuter)
20 : CFWL_WidgetImp(properties, pOuter) {}
21 CFWL_PanelImp::~CFWL_PanelImp() {}
22 FWL_ERR CFWL_PanelImp::GetClassName(CFX_WideString& wsClass) const {
23 wsClass = FWL_CLASS_Panel;
24 return FWL_ERR_Succeeded;
25 }
26 uint32_t CFWL_PanelImp::GetClassID() const {
27 return FWL_CLASSHASH_Panel;
28 }
29 FWL_ERR CFWL_PanelImp::GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize) {
30 if (!bAutoSize)
31 rect = m_pProperties->m_rtWidget;
32
33 return FWL_ERR_Succeeded;
34 }
OLDNEW
« no previous file with comments | « xfa/fwl/core/fwl_panelimp.h ('k') | xfa/fwl/core/ifwl_form.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698