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

Side by Side Diff: xfa/src/fwl/src/basewidget/fwl_caretimp.cpp

Issue 1722803002: Sort includes in xfa/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 10 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 #include "xfa/src/foxitlib.h" 7 #include "xfa/src/foxitlib.h"
8 #include "xfa/src/fwl/src/basewidget/include/fwl_caretimp.h"
9 #include "xfa/src/fwl/src/core/include/fwl_noteimp.h"
8 #include "xfa/src/fwl/src/core/include/fwl_targetimp.h" 10 #include "xfa/src/fwl/src/core/include/fwl_targetimp.h"
9 #include "xfa/src/fwl/src/core/include/fwl_noteimp.h"
10 #include "xfa/src/fwl/src/core/include/fwl_widgetimp.h" 11 #include "xfa/src/fwl/src/core/include/fwl_widgetimp.h"
11 #include "xfa/src/fwl/src/basewidget/include/fwl_caretimp.h"
12 12
13 // static 13 // static
14 IFWL_Caret* IFWL_Caret::Create(const CFWL_WidgetImpProperties& properties, 14 IFWL_Caret* IFWL_Caret::Create(const CFWL_WidgetImpProperties& properties,
15 IFWL_Widget* pOuter) { 15 IFWL_Widget* pOuter) {
16 IFWL_Caret* pCaret = new IFWL_Caret; 16 IFWL_Caret* pCaret = new IFWL_Caret;
17 CFWL_CaretImp* pCaretImpl = new CFWL_CaretImp(properties, pOuter); 17 CFWL_CaretImp* pCaretImpl = new CFWL_CaretImp(properties, pOuter);
18 pCaret->SetImpl(pCaretImpl); 18 pCaret->SetImpl(pCaretImpl);
19 pCaretImpl->SetInterface(pCaret); 19 pCaretImpl->SetInterface(pCaret);
20 return pCaret; 20 return pCaret;
21 } 21 }
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 } 145 }
146 CFWL_CaretImpDelegate::CFWL_CaretImpDelegate(CFWL_CaretImp* pOwner) 146 CFWL_CaretImpDelegate::CFWL_CaretImpDelegate(CFWL_CaretImp* pOwner)
147 : m_pOwner(pOwner) {} 147 : m_pOwner(pOwner) {}
148 int32_t CFWL_CaretImpDelegate::OnProcessMessage(CFWL_Message* pMessage) { 148 int32_t CFWL_CaretImpDelegate::OnProcessMessage(CFWL_Message* pMessage) {
149 return 1; 149 return 1;
150 } 150 }
151 FWL_ERR CFWL_CaretImpDelegate::OnDrawWidget(CFX_Graphics* pGraphics, 151 FWL_ERR CFWL_CaretImpDelegate::OnDrawWidget(CFX_Graphics* pGraphics,
152 const CFX_Matrix* pMatrix) { 152 const CFX_Matrix* pMatrix) {
153 return m_pOwner->DrawWidget(pGraphics, pMatrix); 153 return m_pOwner->DrawWidget(pGraphics, pMatrix);
154 } 154 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698