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

Side by Side Diff: xfa/fwl/core/cfwl_widgetmgr.cpp

Issue 2070583003: Make code compile with clang_use_chrome_plugin (part VI) (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: better macros Created 4 years, 6 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/core/cfwl_widgetmgr.h ('k') | xfa/fwl/core/fwl_appimp.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/fwl/core/cfwl_widgetmgr.h" 7 #include "xfa/fwl/core/cfwl_widgetmgr.h"
8 8
9 #include "xfa/fwl/core/cfwl_message.h" 9 #include "xfa/fwl/core/cfwl_message.h"
10 #include "xfa/fwl/core/fwl_appimp.h" 10 #include "xfa/fwl/core/fwl_appimp.h"
(...skipping 841 matching lines...) Expand 10 before | Expand all | Expand 10 after
852 temp.Deflate(50, 50); 852 temp.Deflate(50, 50);
853 if (!temp.Contains(r)) 853 if (!temp.Contains(r))
854 return FALSE; 854 return FALSE;
855 855
856 pItem->bOutsideChanged = FALSE; 856 pItem->bOutsideChanged = FALSE;
857 } 857 }
858 #endif 858 #endif
859 859
860 return pItem->iRedrawCounter == 0; 860 return pItem->iRedrawCounter == 0;
861 } 861 }
862
863 CFWL_WidgetMgrItem::CFWL_WidgetMgrItem() : CFWL_WidgetMgrItem(nullptr) {}
864
865 CFWL_WidgetMgrItem::CFWL_WidgetMgrItem(IFWL_Widget* widget)
866 : pParent(nullptr),
867 pOwner(nullptr),
868 pChild(nullptr),
869 pPrevious(nullptr),
870 pNext(nullptr),
871 pWidget(widget),
872 iRedrawCounter(0)
873 #if (_FX_OS_ == _FX_WIN32_DESKTOP_) || (_FX_OS_ == _FX_WIN64_)
874 ,
875 bOutsideChanged(FALSE)
876 #endif
877 {
878 }
879
880 CFWL_WidgetMgrItem::~CFWL_WidgetMgrItem() {}
OLDNEW
« no previous file with comments | « xfa/fwl/core/cfwl_widgetmgr.h ('k') | xfa/fwl/core/fwl_appimp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698