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

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

Issue 2383593002: Move xfa/fxfa/include to xfa/fxfa (Closed)
Patch Set: Rebase to master Created 4 years, 2 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.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/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/fgas/font/fgas_gefont.h" 11 #include "xfa/fgas/font/fgas_gefont.h"
12 #include "xfa/fwl/basewidget/ifwl_barcode.h" 12 #include "xfa/fwl/basewidget/ifwl_barcode.h"
13 #include "xfa/fwl/basewidget/ifwl_caret.h" 13 #include "xfa/fwl/basewidget/ifwl_caret.h"
14 #include "xfa/fwl/basewidget/ifwl_checkbox.h" 14 #include "xfa/fwl/basewidget/ifwl_checkbox.h"
15 #include "xfa/fwl/basewidget/ifwl_combobox.h" 15 #include "xfa/fwl/basewidget/ifwl_combobox.h"
16 #include "xfa/fwl/basewidget/ifwl_datetimepicker.h" 16 #include "xfa/fwl/basewidget/ifwl_datetimepicker.h"
17 #include "xfa/fwl/basewidget/ifwl_edit.h" 17 #include "xfa/fwl/basewidget/ifwl_edit.h"
18 #include "xfa/fwl/basewidget/ifwl_listbox.h" 18 #include "xfa/fwl/basewidget/ifwl_listbox.h"
19 #include "xfa/fwl/basewidget/ifwl_monthcalendar.h" 19 #include "xfa/fwl/basewidget/ifwl_monthcalendar.h"
20 #include "xfa/fwl/basewidget/ifwl_picturebox.h" 20 #include "xfa/fwl/basewidget/ifwl_picturebox.h"
21 #include "xfa/fwl/basewidget/ifwl_pushbutton.h" 21 #include "xfa/fwl/basewidget/ifwl_pushbutton.h"
22 #include "xfa/fwl/basewidget/ifwl_scrollbar.h" 22 #include "xfa/fwl/basewidget/ifwl_scrollbar.h"
23 #include "xfa/fwl/core/cfwl_themebackground.h" 23 #include "xfa/fwl/core/cfwl_themebackground.h"
24 #include "xfa/fwl/core/cfwl_themetext.h" 24 #include "xfa/fwl/core/cfwl_themetext.h"
25 #include "xfa/fxfa/include/xfa_ffapp.h" 25 #include "xfa/fxfa/xfa_ffapp.h"
26 #include "xfa/fxfa/include/xfa_ffwidget.h" 26 #include "xfa/fxfa/xfa_ffwidget.h"
27 #include "xfa/fxgraphics/cfx_color.h" 27 #include "xfa/fxgraphics/cfx_color.h"
28 28
29 namespace { 29 namespace {
30 30
31 const FX_WCHAR* const g_FWLTheme_CalFonts[] = { 31 const FX_WCHAR* const g_FWLTheme_CalFonts[] = {
32 L"Arial", L"Courier New", L"DejaVu Sans", 32 L"Arial", L"Courier New", L"DejaVu Sans",
33 }; 33 };
34 34
35 } // namespace 35 } // namespace
36 36
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 } 488 }
489 } 489 }
490 CFX_Color crLine(cr); 490 CFX_Color crLine(cr);
491 pParams->m_pGraphics->SetStrokeColor(&crLine); 491 pParams->m_pGraphics->SetStrokeColor(&crLine);
492 pParams->m_pGraphics->SetLineWidth(fWidth); 492 pParams->m_pGraphics->SetLineWidth(fWidth);
493 pParams->m_pGraphics->StrokePath(pParams->m_pPath, &pParams->m_matrix); 493 pParams->m_pGraphics->StrokePath(pParams->m_pPath, &pParams->m_matrix);
494 return TRUE; 494 return TRUE;
495 } 495 }
496 return CFWL_EditTP::DrawBackground(pParams); 496 return CFWL_EditTP::DrawBackground(pParams);
497 } 497 }
OLDNEW
« no previous file with comments | « xfa/fxfa/app/xfa_fwltheme.h ('k') | xfa/fxfa/app/xfa_rendercontext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698