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

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

Issue 2521303002: Rename IFWL_App to CFWL_App (Closed)
Patch Set: Rebase to master Created 4 years 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_formproxy.h ('k') | xfa/fwl/core/ifwl_listbox.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_formproxy.h" 7 #include "xfa/fwl/core/ifwl_formproxy.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 14
15 IFWL_FormProxy::IFWL_FormProxy( 15 IFWL_FormProxy::IFWL_FormProxy(
16 const IFWL_App* app, 16 const CFWL_App* app,
17 std::unique_ptr<CFWL_WidgetProperties> properties, 17 std::unique_ptr<CFWL_WidgetProperties> properties,
18 IFWL_Widget* pOuter) 18 IFWL_Widget* pOuter)
19 : IFWL_Form(app, std::move(properties), pOuter) {} 19 : IFWL_Form(app, std::move(properties), pOuter) {}
20 20
21 IFWL_FormProxy::~IFWL_FormProxy() {} 21 IFWL_FormProxy::~IFWL_FormProxy() {}
22 22
23 FWL_Type IFWL_FormProxy::GetClassID() const { 23 FWL_Type IFWL_FormProxy::GetClassID() const {
24 return FWL_Type::FormProxy; 24 return FWL_Type::FormProxy;
25 } 25 }
26 26
27 bool IFWL_FormProxy::IsInstance(const CFX_WideStringC& wsClass) const { 27 bool IFWL_FormProxy::IsInstance(const CFX_WideStringC& wsClass) const {
28 if (wsClass == CFX_WideStringC(FWL_CLASS_FormProxy)) 28 if (wsClass == CFX_WideStringC(FWL_CLASS_FormProxy))
29 return true; 29 return true;
30 return IFWL_Form::IsInstance(wsClass); 30 return IFWL_Form::IsInstance(wsClass);
31 } 31 }
32 32
33 void IFWL_FormProxy::Update() {} 33 void IFWL_FormProxy::Update() {}
34 34
35 void IFWL_FormProxy::DrawWidget(CFX_Graphics* pGraphics, 35 void IFWL_FormProxy::DrawWidget(CFX_Graphics* pGraphics,
36 const CFX_Matrix* pMatrix) {} 36 const CFX_Matrix* pMatrix) {}
37 37
38 void IFWL_FormProxy::OnProcessMessage(CFWL_Message* pMessage) { 38 void IFWL_FormProxy::OnProcessMessage(CFWL_Message* pMessage) {
39 m_pOuter->GetDelegate()->OnProcessMessage(pMessage); 39 m_pOuter->GetDelegate()->OnProcessMessage(pMessage);
40 } 40 }
OLDNEW
« no previous file with comments | « xfa/fwl/core/ifwl_formproxy.h ('k') | xfa/fwl/core/ifwl_listbox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698