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

Side by Side Diff: xfa/fxfa/app/xfa_fwltheme.cpp

Issue 1803723002: Move xfa/src up to xfa/. (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/fxfa/app/xfa_fwltheme.h ('k') | xfa/fxfa/app/xfa_rendercontext.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/src/fxfa/app/xfa_fwltheme.h" 7 #include "xfa/fxfa/app/xfa_fwltheme.h"
8 8
9 #include "xfa/fde/tto/fde_textout.h"
10 #include "xfa/fgas/crt/fgas_codepage.h"
11 #include "xfa/fxfa/app/xfa_ffapp.h"
12 #include "xfa/fxfa/app/xfa_ffwidget.h"
9 #include "xfa/include/fwl/basewidget/fwl_barcode.h" 13 #include "xfa/include/fwl/basewidget/fwl_barcode.h"
10 #include "xfa/include/fwl/basewidget/fwl_caret.h" 14 #include "xfa/include/fwl/basewidget/fwl_caret.h"
11 #include "xfa/include/fwl/basewidget/fwl_checkbox.h" 15 #include "xfa/include/fwl/basewidget/fwl_checkbox.h"
12 #include "xfa/include/fwl/basewidget/fwl_combobox.h" 16 #include "xfa/include/fwl/basewidget/fwl_combobox.h"
13 #include "xfa/include/fwl/basewidget/fwl_datetimepicker.h" 17 #include "xfa/include/fwl/basewidget/fwl_datetimepicker.h"
14 #include "xfa/include/fwl/basewidget/fwl_edit.h" 18 #include "xfa/include/fwl/basewidget/fwl_edit.h"
15 #include "xfa/include/fwl/basewidget/fwl_listbox.h" 19 #include "xfa/include/fwl/basewidget/fwl_listbox.h"
16 #include "xfa/include/fwl/basewidget/fwl_monthcalendar.h" 20 #include "xfa/include/fwl/basewidget/fwl_monthcalendar.h"
17 #include "xfa/include/fwl/basewidget/fwl_picturebox.h" 21 #include "xfa/include/fwl/basewidget/fwl_picturebox.h"
18 #include "xfa/include/fwl/basewidget/fwl_pushbutton.h" 22 #include "xfa/include/fwl/basewidget/fwl_pushbutton.h"
19 #include "xfa/include/fwl/basewidget/fwl_scrollbar.h" 23 #include "xfa/include/fwl/basewidget/fwl_scrollbar.h"
20 #include "xfa/src/fde/tto/fde_textout.h"
21 #include "xfa/src/fgas/crt/fgas_codepage.h"
22 #include "xfa/src/fxfa/app/xfa_ffapp.h"
23 #include "xfa/src/fxfa/app/xfa_ffwidget.h"
24 24
25 CXFA_FFWidget* XFA_ThemeGetOuterWidget(IFWL_Widget* pWidget) { 25 CXFA_FFWidget* XFA_ThemeGetOuterWidget(IFWL_Widget* pWidget) {
26 IFWL_Widget* pOuter = pWidget; 26 IFWL_Widget* pOuter = pWidget;
27 while (pOuter->GetOuter()) { 27 while (pOuter->GetOuter()) {
28 pOuter = pOuter->GetOuter(); 28 pOuter = pOuter->GetOuter();
29 } 29 }
30 if (pOuter) { 30 if (pOuter) {
31 return (CXFA_FFWidget*)pOuter->GetPrivateData(pOuter); 31 return (CXFA_FFWidget*)pOuter->GetPrivateData(pOuter);
32 } 32 }
33 return NULL; 33 return NULL;
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 } 415 }
416 } 416 }
417 CFX_Color crLine(cr); 417 CFX_Color crLine(cr);
418 pParams->m_pGraphics->SetStrokeColor(&crLine); 418 pParams->m_pGraphics->SetStrokeColor(&crLine);
419 pParams->m_pGraphics->SetLineWidth(fWidth); 419 pParams->m_pGraphics->SetLineWidth(fWidth);
420 pParams->m_pGraphics->StrokePath(pParams->m_pPath, &pParams->m_matrix); 420 pParams->m_pGraphics->StrokePath(pParams->m_pPath, &pParams->m_matrix);
421 return TRUE; 421 return TRUE;
422 } 422 }
423 return CFWL_EditTP::DrawBackground(pParams); 423 return CFWL_EditTP::DrawBackground(pParams);
424 } 424 }
OLDNEW
« no previous file with comments | « xfa/fxfa/app/xfa_fwltheme.h ('k') | xfa/fxfa/app/xfa_rendercontext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698