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/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/cfwl_app.h" |
13 #include "xfa/fwl/core/cfwl_form.h" | 13 #include "xfa/fwl/cfwl_form.h" |
14 #include "xfa/fwl/core/cfwl_notedriver.h" | 14 #include "xfa/fwl/cfwl_notedriver.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 698 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
723 pWidget(widget), | 723 pWidget(widget), |
724 iRedrawCounter(0) | 724 iRedrawCounter(0) |
725 #if (_FX_OS_ == _FX_WIN32_DESKTOP_) || (_FX_OS_ == _FX_WIN64_) | 725 #if (_FX_OS_ == _FX_WIN32_DESKTOP_) || (_FX_OS_ == _FX_WIN64_) |
726 , | 726 , |
727 bOutsideChanged(false) | 727 bOutsideChanged(false) |
728 #endif | 728 #endif |
729 { | 729 { |
730 } | 730 } |
731 | 731 |
732 CFWL_WidgetMgr::Item::~Item() {} | 732 CFWL_WidgetMgr::Item::~Item() {} |
OLD | NEW |