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

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

Issue 2432423002: Merge the CFWL_*Imp classes into the IFWL_* classes. (Closed)
Patch Set: Review feedback 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_fftextedit.cpp ('k') | no next file » | 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"
13 #include "xfa/fwl/basewidget/ifwl_caret.h"
14 #include "xfa/fwl/basewidget/ifwl_checkbox.h"
15 #include "xfa/fwl/basewidget/ifwl_combobox.h"
16 #include "xfa/fwl/basewidget/ifwl_datetimepicker.h"
17 #include "xfa/fwl/basewidget/ifwl_edit.h"
18 #include "xfa/fwl/basewidget/ifwl_listbox.h"
19 #include "xfa/fwl/basewidget/ifwl_monthcalendar.h"
20 #include "xfa/fwl/basewidget/ifwl_picturebox.h"
21 #include "xfa/fwl/basewidget/ifwl_pushbutton.h"
22 #include "xfa/fwl/basewidget/ifwl_scrollbar.h"
23 #include "xfa/fwl/core/cfwl_themebackground.h" 12 #include "xfa/fwl/core/cfwl_themebackground.h"
24 #include "xfa/fwl/core/cfwl_themetext.h" 13 #include "xfa/fwl/core/cfwl_themetext.h"
14 #include "xfa/fwl/core/ifwl_barcode.h"
15 #include "xfa/fwl/core/ifwl_caret.h"
16 #include "xfa/fwl/core/ifwl_checkbox.h"
17 #include "xfa/fwl/core/ifwl_combobox.h"
18 #include "xfa/fwl/core/ifwl_datetimepicker.h"
19 #include "xfa/fwl/core/ifwl_edit.h"
20 #include "xfa/fwl/core/ifwl_listbox.h"
21 #include "xfa/fwl/core/ifwl_monthcalendar.h"
22 #include "xfa/fwl/core/ifwl_picturebox.h"
23 #include "xfa/fwl/core/ifwl_pushbutton.h"
24 #include "xfa/fwl/core/ifwl_scrollbar.h"
25 #include "xfa/fxfa/xfa_ffapp.h" 25 #include "xfa/fxfa/xfa_ffapp.h"
26 #include "xfa/fxfa/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
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 case FWL_Type::PushButton: 383 case FWL_Type::PushButton:
384 return m_pPushButtonTP.get(); 384 return m_pPushButtonTP.get();
385 case FWL_Type::Caret: 385 case FWL_Type::Caret:
386 return m_pCaretTP.get(); 386 return m_pCaretTP.get();
387 case FWL_Type::Barcode: 387 case FWL_Type::Barcode:
388 return m_pBarcodeTP.get(); 388 return m_pBarcodeTP.get();
389 default: 389 default:
390 return nullptr; 390 return nullptr;
391 } 391 }
392 } 392 }
OLDNEW
« no previous file with comments | « xfa/fxfa/app/xfa_fftextedit.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698