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

Side by Side Diff: xfa/fwl/core/cfwl_widget.h

Issue 2486333004: Remove IFWL methods proxied from CFWL classes (Closed)
Patch Set: Rebase to master Created 4 years, 1 month 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
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef XFA_FWL_CORE_CFWL_WIDGET_H_ 7 #ifndef XFA_FWL_CORE_CFWL_WIDGET_H_
8 #define XFA_FWL_CORE_CFWL_WIDGET_H_ 8 #define XFA_FWL_CORE_CFWL_WIDGET_H_
9 9
10 #include <memory> 10 #include <memory>
(...skipping 10 matching lines...) Expand all
21 class CFWL_Widget { 21 class CFWL_Widget {
22 public: 22 public:
23 CFWL_Widget(const IFWL_App*); 23 CFWL_Widget(const IFWL_App*);
24 virtual ~CFWL_Widget(); 24 virtual ~CFWL_Widget();
25 25
26 IFWL_Widget* GetWidget(); 26 IFWL_Widget* GetWidget();
27 const IFWL_Widget* GetWidget() const; 27 const IFWL_Widget* GetWidget() const;
28 28
29 void GetWidgetRect(CFX_RectF& rect, bool bAutoSize = false); 29 void GetWidgetRect(CFX_RectF& rect, bool bAutoSize = false);
30 void SetWidgetRect(const CFX_RectF& rect); 30 void SetWidgetRect(const CFX_RectF& rect);
31 void GetGlobalRect(CFX_RectF& rect);
32 void GetClientRect(CFX_RectF& rtClient);
33 31
34 void ModifyStyles(uint32_t dwStylesAdded, uint32_t dwStylesRemoved); 32 void ModifyStyles(uint32_t dwStylesAdded, uint32_t dwStylesRemoved);
35 uint32_t GetStylesEx(); 33 uint32_t GetStylesEx();
36 void ModifyStylesEx(uint32_t dwStylesExAdded, uint32_t dwStylesExRemoved); 34 void ModifyStylesEx(uint32_t dwStylesExAdded, uint32_t dwStylesExRemoved);
37 35
38 uint32_t GetStates(); 36 uint32_t GetStates();
39 void SetStates(uint32_t dwStates, bool bSet = true); 37 void SetStates(uint32_t dwStates, bool bSet = true);
40 38
41 void SetLayoutItem(void* pItem); 39 void SetLayoutItem(void* pItem);
42 40
(...skipping 10 matching lines...) Expand all
53 51
54 protected: 52 protected:
55 void Initialize(); 53 void Initialize();
56 54
57 const IFWL_App* m_pApp; 55 const IFWL_App* m_pApp;
58 std::unique_ptr<IFWL_Widget> m_pIface; 56 std::unique_ptr<IFWL_Widget> m_pIface;
59 CFWL_WidgetMgr* const m_pWidgetMgr; 57 CFWL_WidgetMgr* const m_pWidgetMgr;
60 }; 58 };
61 59
62 #endif // XFA_FWL_CORE_CFWL_WIDGET_H_ 60 #endif // XFA_FWL_CORE_CFWL_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698