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

Side by Side Diff: xfa/fxfa/app/xfa_fwladapter.cpp

Issue 2328573002: Split CPDFXFA_Document apart (Closed)
Patch Set: Fix merge Created 4 years, 3 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 unified diff | Download patch
« no previous file with comments | « xfa/fxfa/app/xfa_ffwidgethandler.cpp ('k') | xfa/fxfa/include/fxfa.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "xfa/fxfa/app/xfa_fwladapter.h" 7 #include "xfa/fxfa/app/xfa_fwladapter.h"
8 8
9 #include "xfa/fxfa/app/xfa_fffield.h" 9 #include "xfa/fxfa/app/xfa_fffield.h"
10 #include "xfa/fxfa/include/xfa_ffdoc.h" 10 #include "xfa/fxfa/include/xfa_ffdoc.h"
(...skipping 20 matching lines...) Expand all
31 FX_FLOAT fMinHeight, 31 FX_FLOAT fMinHeight,
32 FX_FLOAT fMaxHeight, 32 FX_FLOAT fMaxHeight,
33 const CFX_RectF& rtAnchor, 33 const CFX_RectF& rtAnchor,
34 CFX_RectF& rtPopup) { 34 CFX_RectF& rtPopup) {
35 CXFA_FFWidget* pFFWidget = 35 CXFA_FFWidget* pFFWidget =
36 static_cast<CXFA_FFWidget*>(pWidget->GetLayoutItem()); 36 static_cast<CXFA_FFWidget*>(pWidget->GetLayoutItem());
37 CFX_Matrix mt; 37 CFX_Matrix mt;
38 pFFWidget->GetRotateMatrix(mt); 38 pFFWidget->GetRotateMatrix(mt);
39 CFX_RectF rtRotateAnchor(rtAnchor); 39 CFX_RectF rtRotateAnchor(rtAnchor);
40 mt.TransformRect(rtRotateAnchor); 40 mt.TransformRect(rtRotateAnchor);
41 pFFWidget->GetDoc()->GetDocProvider()->GetPopupPos( 41 pFFWidget->GetDoc()->GetDocEnvironment()->GetPopupPos(
42 pFFWidget, fMinHeight, fMaxHeight, rtRotateAnchor, rtPopup); 42 pFFWidget, fMinHeight, fMaxHeight, rtRotateAnchor, rtPopup);
43 return TRUE; 43 return TRUE;
44 } 44 }
OLDNEW
« no previous file with comments | « xfa/fxfa/app/xfa_ffwidgethandler.cpp ('k') | xfa/fxfa/include/fxfa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698