Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cxfa_fwladapterwidgetmgr.h
Go to the documentation of this file.
1// Copyright 2014 The PDFium Authors
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#ifndef XFA_FXFA_CXFA_FWLADAPTERWIDGETMGR_H_
8#define XFA_FXFA_CXFA_FWLADAPTERWIDGETMGR_H_
9
10#include "fxjs/gc/heap.h"
11#include "v8/include/cppgc/garbage-collected.h"
12#include "xfa/fwl/cfwl_widgetmgr.h"
13
14class CFWL_Widget;
15class CFX_RectF;
16
17class CXFA_FWLAdapterWidgetMgr final
18 : public cppgc::GarbageCollected<CXFA_FWLAdapterWidgetMgr>,
19 public CFWL_WidgetMgr::AdapterIface {
20 public:
23
24 // CFWL_WidgetMgr::AdapterIface:
25 void Trace(cppgc::Visitor* visitor) const override;
26 void RepaintWidget(CFWL_Widget* pWidget) override;
27 bool GetPopupPos(CFWL_Widget* pWidget,
28 float fMinHeight,
29 float fMaxHeight,
30 const CFX_RectF& rtAnchor,
31 CFX_RectF* pPopupRect) override;
32
33 private:
34 CXFA_FWLAdapterWidgetMgr();
35};
36
37#endif // XFA_FXFA_CXFA_FWLADAPTERWIDGETMGR_H_
void Trace(cppgc::Visitor *visitor) const override
bool LoadFWLTheme(CXFA_FFDoc *doc)
CFX_Timer::HandlerIface * GetTimerHandler() override
CFWL_WidgetMgr::AdapterIface * GetWidgetMgrAdapter() override
IFWL_ThemeProvider * GetThemeProvider() override
~CXFA_FFApp() override
cppgc::Heap * GetHeap() override
void RepaintWidget(CFWL_Widget *pWidget) override
~CXFA_FWLAdapterWidgetMgr() override
void Trace(cppgc::Visitor *visitor) const override
bool GetPopupPos(CFWL_Widget *pWidget, float fMinHeight, float fMaxHeight, const CFX_RectF &rtAnchor, CFX_RectF *pPopupRect) override
#define CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
Definition heap.h:32
Definition heap.h:12