summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/fwl_panelimp.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-04-18 10:21:00 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-18 10:21:00 -0700
commit9b3656b8b49db7f228304aff9ffa599999199a0c (patch)
tree631b0f75045167298be00db2091c1334518ff920 /xfa/fwl/core/fwl_panelimp.cpp
parent7adef41ed27ced7e18ee649a3d4f27a3cc00c51f (diff)
downloadpdfium-9b3656b8b49db7f228304aff9ffa599999199a0c.tar.xz
Remove unused FWL Panel code.
This code was used to subclass Form only, the one method in Panel is overridden in Form. Review URL: https://codereview.chromium.org/1899743002
Diffstat (limited to 'xfa/fwl/core/fwl_panelimp.cpp')
-rw-r--r--xfa/fwl/core/fwl_panelimp.cpp34
1 files changed, 0 insertions, 34 deletions
diff --git a/xfa/fwl/core/fwl_panelimp.cpp b/xfa/fwl/core/fwl_panelimp.cpp
deleted file mode 100644
index 29ff60634f..0000000000
--- a/xfa/fwl/core/fwl_panelimp.cpp
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright 2014 PDFium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-
-#include "xfa/fwl/core/fwl_panelimp.h"
-
-#include "xfa/fwl/core/cfwl_widgetimpproperties.h"
-#include "xfa/fwl/core/fwl_noteimp.h"
-#include "xfa/fwl/core/fwl_targetimp.h"
-#include "xfa/fwl/core/fwl_widgetimp.h"
-#include "xfa/fwl/core/fwl_widgetmgrimp.h"
-#include "xfa/fwl/core/ifwl_panel.h"
-
-IFWL_Panel::IFWL_Panel() {}
-
-CFWL_PanelImp::CFWL_PanelImp(const CFWL_WidgetImpProperties& properties,
- IFWL_Widget* pOuter)
- : CFWL_WidgetImp(properties, pOuter) {}
-CFWL_PanelImp::~CFWL_PanelImp() {}
-FWL_ERR CFWL_PanelImp::GetClassName(CFX_WideString& wsClass) const {
- wsClass = FWL_CLASS_Panel;
- return FWL_ERR_Succeeded;
-}
-uint32_t CFWL_PanelImp::GetClassID() const {
- return FWL_CLASSHASH_Panel;
-}
-FWL_ERR CFWL_PanelImp::GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize) {
- if (!bAutoSize)
- rect = m_pProperties->m_rtWidget;
-
- return FWL_ERR_Succeeded;
-}