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

Side by Side Diff: xfa/src/fwl/src/lightwidget/pushbutton.cpp

Issue 1735833003: Remove include only fwl.h and IWYU. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: 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/src/fwl/src/lightwidget/picturebox.cpp ('k') | xfa/src/fwl/src/lightwidget/scrollbar.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/pushbutton.h"
8
7 #include <memory> 9 #include <memory>
8 10
9 #include "xfa/src/foxitlib.h" 11 #include "xfa/src/foxitlib.h"
10 12
11 CFWL_PushButton* CFWL_PushButton::Create() { 13 CFWL_PushButton* CFWL_PushButton::Create() {
12 return new CFWL_PushButton; 14 return new CFWL_PushButton;
13 } 15 }
14 FWL_ERR CFWL_PushButton::Initialize(const CFWL_WidgetProperties* pProperties) { 16 FWL_ERR CFWL_PushButton::Initialize(const CFWL_WidgetProperties* pProperties) {
15 if (m_pIface) 17 if (m_pIface)
16 return FWL_ERR_Indefinite; 18 return FWL_ERR_Indefinite;
(...skipping 30 matching lines...) Expand all
47 FWL_ERR CFWL_PushButton::CFWL_PushButtonDP::GetCaption( 49 FWL_ERR CFWL_PushButton::CFWL_PushButtonDP::GetCaption(
48 IFWL_Widget* pWidget, 50 IFWL_Widget* pWidget,
49 CFX_WideString& wsCaption) { 51 CFX_WideString& wsCaption) {
50 wsCaption = m_wsCaption; 52 wsCaption = m_wsCaption;
51 return FWL_ERR_Succeeded; 53 return FWL_ERR_Succeeded;
52 } 54 }
53 CFX_DIBitmap* CFWL_PushButton::CFWL_PushButtonDP::GetPicture( 55 CFX_DIBitmap* CFWL_PushButton::CFWL_PushButtonDP::GetPicture(
54 IFWL_Widget* pWidget) { 56 IFWL_Widget* pWidget) {
55 return m_pBitmap; 57 return m_pBitmap;
56 } 58 }
OLDNEW
« no previous file with comments | « xfa/src/fwl/src/lightwidget/picturebox.cpp ('k') | xfa/src/fwl/src/lightwidget/scrollbar.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698