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

Side by Side Diff: xfa/src/fwl/core/fwl_gridimp.h

Issue 1770953004: Remove xfa/src/fwl/src and move code up a level. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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
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_SRC_FWL_SRC_CORE_FWL_GRIDIMP_H_ 7 #ifndef XFA_SRC_FWL_CORE_FWL_GRIDIMP_H_
8 #define XFA_SRC_FWL_SRC_CORE_FWL_GRIDIMP_H_ 8 #define XFA_SRC_FWL_CORE_FWL_GRIDIMP_H_
9 9
10 #include "xfa/include/fwl/core/fwl_app.h" 10 #include "xfa/include/fwl/core/fwl_app.h"
11 #include "xfa/include/fwl/core/fwl_content.h" 11 #include "xfa/include/fwl/core/fwl_content.h"
12 #include "xfa/include/fwl/core/fwl_grid.h" 12 #include "xfa/include/fwl/core/fwl_grid.h"
13 #include "xfa/src/fwl/src/core/fwl_contentimp.h" 13 #include "xfa/src/fwl/core/fwl_contentimp.h"
14 14
15 class CFWL_GridLength { 15 class CFWL_GridLength {
16 public: 16 public:
17 CFWL_GridLength() : fLength(0), eUnit(FWL_GRIDUNIT_Fixed) {} 17 CFWL_GridLength() : fLength(0), eUnit(FWL_GRIDUNIT_Fixed) {}
18 CFWL_GridLength(FX_FLOAT fValue, FWL_GRIDUNIT e) 18 CFWL_GridLength(FX_FLOAT fValue, FWL_GRIDUNIT e)
19 : fLength(fValue), eUnit(e) {} 19 : fLength(fValue), eUnit(e) {}
20 FX_FLOAT fLength; 20 FX_FLOAT fLength;
21 FWL_GRIDUNIT eUnit; 21 FWL_GRIDUNIT eUnit;
22 }; 22 };
23 23
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 public: 187 public:
188 CFWL_GridImpDelegate(CFWL_GridImp* pOwner); 188 CFWL_GridImpDelegate(CFWL_GridImp* pOwner);
189 int32_t OnProcessMessage(CFWL_Message* pMessage) override; 189 int32_t OnProcessMessage(CFWL_Message* pMessage) override;
190 FWL_ERR OnDrawWidget(CFX_Graphics* pGraphics, 190 FWL_ERR OnDrawWidget(CFX_Graphics* pGraphics,
191 const CFX_Matrix* pMatrix = NULL) override; 191 const CFX_Matrix* pMatrix = NULL) override;
192 192
193 protected: 193 protected:
194 CFWL_GridImp* m_pOwner; 194 CFWL_GridImp* m_pOwner;
195 }; 195 };
196 196
197 #endif // XFA_SRC_FWL_SRC_CORE_FWL_GRIDIMP_H_ 197 #endif // XFA_SRC_FWL_CORE_FWL_GRIDIMP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698