summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/ifwl_datetimecalendar.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-11-10 13:01:54 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-10 13:01:54 -0800
commit72f15a08aa47afb61e3c60b3f754309696c471ec (patch)
tree6b08637b12c08c6780e633abb100184d9b5feada /xfa/fwl/core/ifwl_datetimecalendar.h
parentd2bf06228d7572545717cd36ea0dabc67e9b6d84 (diff)
downloadpdfium-72f15a08aa47afb61e3c60b3f754309696c471ec.tar.xz
Fold IFWL_DateTimeCalendar into IFWL_MonthCalendar
The IFWL_MonthCalendar was never instantiated and had a single sub-class. This CL folds the subclass into IFWL_MonthCalendar and uses MonthCalendar directly. Review-Url: https://codereview.chromium.org/2491443003
Diffstat (limited to 'xfa/fwl/core/ifwl_datetimecalendar.h')
-rw-r--r--xfa/fwl/core/ifwl_datetimecalendar.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/xfa/fwl/core/ifwl_datetimecalendar.h b/xfa/fwl/core/ifwl_datetimecalendar.h
deleted file mode 100644
index d47e32edb5..0000000000
--- a/xfa/fwl/core/ifwl_datetimecalendar.h
+++ /dev/null
@@ -1,31 +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
-
-#ifndef XFA_FWL_CORE_IFWL_DATETIMECALENDAR_H_
-#define XFA_FWL_CORE_IFWL_DATETIMECALENDAR_H_
-
-#include "xfa/fwl/core/ifwl_monthcalendar.h"
-
-class IFWL_DateTimeCalendar : public IFWL_MonthCalendar {
- public:
- IFWL_DateTimeCalendar(const IFWL_App* app,
- std::unique_ptr<CFWL_WidgetProperties> properties,
- IFWL_Widget* pOuter);
-
- // IFWL_MonthCalendar
- void OnProcessMessage(CFWL_Message* pMessage) override;
-
- private:
- void OnLButtonDownEx(CFWL_MsgMouse* pMsg);
- void OnLButtonUpEx(CFWL_MsgMouse* pMsg);
- void OnMouseMoveEx(CFWL_MsgMouse* pMsg);
- void DisForm_OnProcessMessage(CFWL_Message* pMessage);
- void DisForm_OnLButtonUpEx(CFWL_MsgMouse* pMsg);
-
- bool m_bFlag;
-};
-
-#endif // XFA_FWL_CORE_IFWL_DATETIMECALENDAR_H_