OLD | NEW |
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 #include "xfa/fwl/core/cfwl_widgetmgr.h" | 7 #include "xfa/fwl/core/cfwl_widgetmgr.h" |
8 | 8 |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
11 #include "third_party/base/ptr_util.h" | 11 #include "third_party/base/ptr_util.h" |
12 #include "xfa/fwl/core/cfwl_app.h" | 12 #include "xfa/fwl/core/cfwl_app.h" |
| 13 #include "xfa/fwl/core/cfwl_form.h" |
13 #include "xfa/fwl/core/cfwl_notedriver.h" | 14 #include "xfa/fwl/core/cfwl_notedriver.h" |
14 #include "xfa/fwl/core/ifwl_form.h" | |
15 #include "xfa/fxfa/app/xfa_fwladapter.h" | 15 #include "xfa/fxfa/app/xfa_fwladapter.h" |
16 #include "xfa/fxfa/xfa_ffapp.h" | 16 #include "xfa/fxfa/xfa_ffapp.h" |
17 | 17 |
18 namespace { | 18 namespace { |
19 | 19 |
20 const int kNeedRepaintHitPoints = 12; | 20 const int kNeedRepaintHitPoints = 12; |
21 const int kNeedRepaintHitPiece = 3; | 21 const int kNeedRepaintHitPiece = 3; |
22 | 22 |
23 struct FWL_NEEDREPAINTHITDATA { | 23 struct FWL_NEEDREPAINTHITDATA { |
24 CFX_PointF hitPoint; | 24 CFX_PointF hitPoint; |
(...skipping 734 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
759 pWidget(widget), | 759 pWidget(widget), |
760 iRedrawCounter(0) | 760 iRedrawCounter(0) |
761 #if (_FX_OS_ == _FX_WIN32_DESKTOP_) || (_FX_OS_ == _FX_WIN64_) | 761 #if (_FX_OS_ == _FX_WIN32_DESKTOP_) || (_FX_OS_ == _FX_WIN64_) |
762 , | 762 , |
763 bOutsideChanged(false) | 763 bOutsideChanged(false) |
764 #endif | 764 #endif |
765 { | 765 { |
766 } | 766 } |
767 | 767 |
768 CFWL_WidgetMgr::Item::~Item() {} | 768 CFWL_WidgetMgr::Item::~Item() {} |
OLD | NEW |