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

Side by Side Diff: xfa/fwl/lightwidget/theme.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/scrollbar.cpp ('k') | xfa/fwl/lightwidget/widget.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/theme.h" 7 #include "xfa/include/fwl/lightwidget/theme.h"
8 8
9 #include <algorithm> 9 #include <algorithm>
10 10
11 #include "xfa/fwl/core/cfwl_themebackground.h"
12 #include "xfa/fwl/core/cfwl_themepart.h"
13 #include "xfa/fwl/core/cfwl_themetext.h"
11 #include "xfa/include/fwl/theme/barcodetp.h" 14 #include "xfa/include/fwl/theme/barcodetp.h"
12 #include "xfa/include/fwl/theme/carettp.h" 15 #include "xfa/include/fwl/theme/carettp.h"
13 #include "xfa/include/fwl/theme/checkboxtp.h" 16 #include "xfa/include/fwl/theme/checkboxtp.h"
14 #include "xfa/include/fwl/theme/comboboxtp.h" 17 #include "xfa/include/fwl/theme/comboboxtp.h"
15 #include "xfa/include/fwl/theme/datetimepickertp.h" 18 #include "xfa/include/fwl/theme/datetimepickertp.h"
16 #include "xfa/include/fwl/theme/edittp.h" 19 #include "xfa/include/fwl/theme/edittp.h"
17 #include "xfa/include/fwl/theme/formtp.h" 20 #include "xfa/include/fwl/theme/formtp.h"
18 #include "xfa/include/fwl/theme/listboxtp.h" 21 #include "xfa/include/fwl/theme/listboxtp.h"
19 #include "xfa/include/fwl/theme/monthcalendartp.h" 22 #include "xfa/include/fwl/theme/monthcalendartp.h"
20 #include "xfa/include/fwl/theme/pictureboxtp.h" 23 #include "xfa/include/fwl/theme/pictureboxtp.h"
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 return FWL_ERR_Succeeded; 129 return FWL_ERR_Succeeded;
127 } 130 }
128 131
129 CFWL_WidgetTP* CFWL_Theme::GetTheme(IFWL_Widget* pWidget) { 132 CFWL_WidgetTP* CFWL_Theme::GetTheme(IFWL_Widget* pWidget) {
130 for (const auto& pTheme : m_ThemesArray) { 133 for (const auto& pTheme : m_ThemesArray) {
131 if (pTheme->IsValidWidget(pWidget)) 134 if (pTheme->IsValidWidget(pWidget))
132 return pTheme.get(); 135 return pTheme.get();
133 } 136 }
134 return nullptr; 137 return nullptr;
135 } 138 }
OLDNEW
« no previous file with comments | « xfa/fwl/lightwidget/scrollbar.cpp ('k') | xfa/fwl/lightwidget/widget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698