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

Side by Side Diff: xfa/fwl/lightwidget/scrollbar.cpp

Issue 1827923002: Move xfa/include/fwl/{core,basewidget} to xfa/fwl/{core,basewidget}. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master 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
« no previous file with comments | « xfa/fwl/lightwidget/edit.cpp ('k') | xfa/fwl/lightwidget/theme.cpp » ('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/include/fwl/lightwidget/scrollbar.h" 7 #include "xfa/include/fwl/lightwidget/scrollbar.h"
8 8
9 #include <memory> 9 #include <memory>
10 10
11 #include "xfa/include/fwl/basewidget/fwl_scrollbar.h" 11 #include "xfa/fwl/basewidget/ifwl_scrollbar.h"
12 12
13 CFWL_ScrollBar* CFWL_ScrollBar::Create() { 13 CFWL_ScrollBar* CFWL_ScrollBar::Create() {
14 return new CFWL_ScrollBar; 14 return new CFWL_ScrollBar;
15 } 15 }
16 FWL_ERR CFWL_ScrollBar::Initialize(const CFWL_WidgetProperties* pProperties) { 16 FWL_ERR CFWL_ScrollBar::Initialize(const CFWL_WidgetProperties* pProperties) {
17 if (m_pIface) 17 if (m_pIface)
18 return FWL_ERR_Indefinite; 18 return FWL_ERR_Indefinite;
19 if (pProperties) { 19 if (pProperties) {
20 *m_pProperties = *pProperties; 20 *m_pProperties = *pProperties;
21 } 21 }
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 return FWL_ERR_Indefinite; 84 return FWL_ERR_Indefinite;
85 return static_cast<IFWL_ScrollBar*>(m_pIface)->SetTrackPos(fTrackPos); 85 return static_cast<IFWL_ScrollBar*>(m_pIface)->SetTrackPos(fTrackPos);
86 } 86 }
87 FX_BOOL CFWL_ScrollBar::DoScroll(FX_DWORD dwCode, FX_FLOAT fPos) { 87 FX_BOOL CFWL_ScrollBar::DoScroll(FX_DWORD dwCode, FX_FLOAT fPos) {
88 if (!m_pIface) 88 if (!m_pIface)
89 return FALSE; 89 return FALSE;
90 return static_cast<IFWL_ScrollBar*>(m_pIface)->DoScroll(dwCode, fPos); 90 return static_cast<IFWL_ScrollBar*>(m_pIface)->DoScroll(dwCode, fPos);
91 } 91 }
92 CFWL_ScrollBar::CFWL_ScrollBar() {} 92 CFWL_ScrollBar::CFWL_ScrollBar() {}
93 CFWL_ScrollBar::~CFWL_ScrollBar() {} 93 CFWL_ScrollBar::~CFWL_ScrollBar() {}
OLDNEW
« no previous file with comments | « xfa/fwl/lightwidget/edit.cpp ('k') | xfa/fwl/lightwidget/theme.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698