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

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

Issue 1846993002: Remove IXFA_* interfaces. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 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/fxfa/app/xfa_fwltheme.h" 7 #include "xfa/fxfa/app/xfa_fwltheme.h"
8 8
9 #include "xfa/fde/tto/fde_textout.h" 9 #include "xfa/fde/tto/fde_textout.h"
10 #include "xfa/fgas/crt/fgas_codepage.h" 10 #include "xfa/fgas/crt/fgas_codepage.h"
11 #include "xfa/fwl/basewidget/ifwl_barcode.h" 11 #include "xfa/fwl/basewidget/ifwl_barcode.h"
12 #include "xfa/fwl/basewidget/ifwl_caret.h" 12 #include "xfa/fwl/basewidget/ifwl_caret.h"
13 #include "xfa/fwl/basewidget/ifwl_checkbox.h" 13 #include "xfa/fwl/basewidget/ifwl_checkbox.h"
14 #include "xfa/fwl/basewidget/ifwl_combobox.h" 14 #include "xfa/fwl/basewidget/ifwl_combobox.h"
15 #include "xfa/fwl/basewidget/ifwl_datetimepicker.h" 15 #include "xfa/fwl/basewidget/ifwl_datetimepicker.h"
16 #include "xfa/fwl/basewidget/ifwl_edit.h" 16 #include "xfa/fwl/basewidget/ifwl_edit.h"
17 #include "xfa/fwl/basewidget/ifwl_listbox.h" 17 #include "xfa/fwl/basewidget/ifwl_listbox.h"
18 #include "xfa/fwl/basewidget/ifwl_monthcalendar.h" 18 #include "xfa/fwl/basewidget/ifwl_monthcalendar.h"
19 #include "xfa/fwl/basewidget/ifwl_picturebox.h" 19 #include "xfa/fwl/basewidget/ifwl_picturebox.h"
20 #include "xfa/fwl/basewidget/ifwl_pushbutton.h" 20 #include "xfa/fwl/basewidget/ifwl_pushbutton.h"
21 #include "xfa/fwl/basewidget/ifwl_scrollbar.h" 21 #include "xfa/fwl/basewidget/ifwl_scrollbar.h"
22 #include "xfa/fwl/core/cfwl_themebackground.h" 22 #include "xfa/fwl/core/cfwl_themebackground.h"
23 #include "xfa/fwl/core/cfwl_themetext.h" 23 #include "xfa/fwl/core/cfwl_themetext.h"
24 #include "xfa/fxfa/app/xfa_ffapp.h"
25 #include "xfa/fxfa/app/xfa_ffwidget.h" 24 #include "xfa/fxfa/app/xfa_ffwidget.h"
26 #include "xfa/fxgraphics/cfx_color.h" 25 #include "xfa/fxgraphics/cfx_color.h"
26 #include "xfa/include/fxfa/xfa_ffapp.h"
27 27
28 namespace { 28 namespace {
29 29
30 const FX_WCHAR* const g_FWLTheme_CalFonts[] = { 30 const FX_WCHAR* const g_FWLTheme_CalFonts[] = {
31 L"Arial", L"Courier New", L"DejaVu Sans", 31 L"Arial", L"Courier New", L"DejaVu Sans",
32 }; 32 };
33 33
34 } // namespace 34 } // namespace
35 35
36 CXFA_FFWidget* XFA_ThemeGetOuterWidget(IFWL_Widget* pWidget) { 36 CXFA_FFWidget* XFA_ThemeGetOuterWidget(IFWL_Widget* pWidget) {
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 } 423 }
424 } 424 }
425 CFX_Color crLine(cr); 425 CFX_Color crLine(cr);
426 pParams->m_pGraphics->SetStrokeColor(&crLine); 426 pParams->m_pGraphics->SetStrokeColor(&crLine);
427 pParams->m_pGraphics->SetLineWidth(fWidth); 427 pParams->m_pGraphics->SetLineWidth(fWidth);
428 pParams->m_pGraphics->StrokePath(pParams->m_pPath, &pParams->m_matrix); 428 pParams->m_pGraphics->StrokePath(pParams->m_pPath, &pParams->m_matrix);
429 return TRUE; 429 return TRUE;
430 } 430 }
431 return CFWL_EditTP::DrawBackground(pParams); 431 return CFWL_EditTP::DrawBackground(pParams);
432 } 432 }
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