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

Side by Side Diff: xfa/fwl/core/ifwl_picturebox.cpp

Issue 2521303002: Rename IFWL_App to CFWL_App (Closed)
Patch Set: Rebase to master Created 4 years, 1 month 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/fwl/core/ifwl_picturebox.h ('k') | xfa/fwl/core/ifwl_pushbutton.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/fwl/core/ifwl_picturebox.h" 7 #include "xfa/fwl/core/ifwl_picturebox.h"
8 8
9 #include <memory> 9 #include <memory>
10 #include <utility> 10 #include <utility>
11 11
12 #include "third_party/base/ptr_util.h" 12 #include "third_party/base/ptr_util.h"
13 #include "xfa/fwl/core/cfwl_notedriver.h" 13 #include "xfa/fwl/core/cfwl_notedriver.h"
14 #include "xfa/fwl/core/cfwl_picturebox.h" 14 #include "xfa/fwl/core/cfwl_picturebox.h"
15 15
16 IFWL_PictureBox::IFWL_PictureBox( 16 IFWL_PictureBox::IFWL_PictureBox(
17 const IFWL_App* app, 17 const CFWL_App* app,
18 std::unique_ptr<CFWL_WidgetProperties> properties) 18 std::unique_ptr<CFWL_WidgetProperties> properties)
19 : IFWL_Widget(app, std::move(properties), nullptr) { 19 : IFWL_Widget(app, std::move(properties), nullptr) {
20 m_rtClient.Reset(); 20 m_rtClient.Reset();
21 m_rtImage.Reset(); 21 m_rtImage.Reset();
22 m_matrix.SetIdentity(); 22 m_matrix.SetIdentity();
23 } 23 }
24 24
25 IFWL_PictureBox::~IFWL_PictureBox() {} 25 IFWL_PictureBox::~IFWL_PictureBox() {}
26 26
27 FWL_Type IFWL_PictureBox::GetClassID() const { 27 FWL_Type IFWL_PictureBox::GetClassID() const {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 if (HasBorder()) 60 if (HasBorder())
61 DrawBorder(pGraphics, CFWL_Part::Border, pTheme, pMatrix); 61 DrawBorder(pGraphics, CFWL_Part::Border, pTheme, pMatrix);
62 if (HasEdge()) 62 if (HasEdge())
63 DrawEdge(pGraphics, CFWL_Part::Edge, pTheme, pMatrix); 63 DrawEdge(pGraphics, CFWL_Part::Edge, pTheme, pMatrix);
64 } 64 }
65 65
66 void IFWL_PictureBox::OnDrawWidget(CFX_Graphics* pGraphics, 66 void IFWL_PictureBox::OnDrawWidget(CFX_Graphics* pGraphics,
67 const CFX_Matrix* pMatrix) { 67 const CFX_Matrix* pMatrix) {
68 DrawWidget(pGraphics, pMatrix); 68 DrawWidget(pGraphics, pMatrix);
69 } 69 }
OLDNEW
« no previous file with comments | « xfa/fwl/core/ifwl_picturebox.h ('k') | xfa/fwl/core/ifwl_pushbutton.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698