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

Unified Diff: xfa/fwl/lightwidget/cfwl_widget.h

Issue 2430923006: Move fwl/lightwidget to fwl/core (Closed)
Patch Set: Rebase to master Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « xfa/fwl/lightwidget/cfwl_pushbutton.cpp ('k') | xfa/fwl/lightwidget/cfwl_widget.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fwl/lightwidget/cfwl_widget.h
diff --git a/xfa/fwl/lightwidget/cfwl_widget.h b/xfa/fwl/lightwidget/cfwl_widget.h
deleted file mode 100644
index 16b1141aae55d7732084764103cab81a8263178a..0000000000000000000000000000000000000000
--- a/xfa/fwl/lightwidget/cfwl_widget.h
+++ /dev/null
@@ -1,65 +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_LIGHTWIDGET_CFWL_WIDGET_H_
-#define XFA_FWL_LIGHTWIDGET_CFWL_WIDGET_H_
-
-#include <memory>
-
-#include "xfa/fwl/core/cfwl_event.h"
-#include "xfa/fwl/core/ifwl_widget.h"
-#include "xfa/fwl/lightwidget/cfwl_widgetproperties.h"
-
-class CFWL_Event;
-class CFWL_Message;
-class CFWL_Widget;
-class CFWL_WidgetDelegate;
-class CFWL_WidgetMgr;
-
-class CFWL_Widget {
- public:
- CFWL_Widget();
- virtual ~CFWL_Widget();
-
- virtual IFWL_Widget* GetWidget();
- virtual const IFWL_Widget* GetWidget() const;
-
- FWL_Error GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize = FALSE);
- FWL_Error SetWidgetRect(const CFX_RectF& rect);
- FWL_Error GetGlobalRect(CFX_RectF& rect);
- FWL_Error GetClientRect(CFX_RectF& rtClient);
-
- FWL_Error ModifyStyles(uint32_t dwStylesAdded, uint32_t dwStylesRemoved);
- uint32_t GetStylesEx();
- FWL_Error ModifyStylesEx(uint32_t dwStylesExAdded,
- uint32_t dwStylesExRemoved);
-
- uint32_t GetStates();
- void SetStates(uint32_t dwStates, FX_BOOL bSet = TRUE);
-
- void SetLayoutItem(void* pItem);
-
- void Update();
- void LockUpdate();
- void UnlockUpdate();
-
- FWL_WidgetHit HitTest(FX_FLOAT fx, FX_FLOAT fy);
-
- FWL_Error DrawWidget(CFX_Graphics* pGraphics,
- const CFX_Matrix* pMatrix = nullptr);
-
- IFWL_WidgetDelegate* SetDelegate(IFWL_WidgetDelegate* pDelegate);
-
- protected:
- FWL_Error Initialize(const CFWL_WidgetProperties* pProperties = nullptr);
-
- std::unique_ptr<IFWL_Widget> m_pIface;
- IFWL_WidgetDelegate* m_pDelegate;
- CFWL_WidgetMgr* const m_pWidgetMgr;
- std::unique_ptr<CFWL_WidgetProperties> m_pProperties;
-};
-
-#endif // XFA_FWL_LIGHTWIDGET_CFWL_WIDGET_H_
« no previous file with comments | « xfa/fwl/lightwidget/cfwl_pushbutton.cpp ('k') | xfa/fwl/lightwidget/cfwl_widget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698