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

Side by Side Diff: xfa/fwl/lightwidget/cfwl_tooltip.cpp

Issue 1921853006: More FWL interface cleanup. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 7 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/ifwl_widgetmgrdelegate.h ('k') | xfa/fwl/lightwidget/cfwl_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/fwl/lightwidget/cfwl_tooltip.h" 7 #include "xfa/fwl/lightwidget/cfwl_tooltip.h"
8 8
9 #include <memory> 9 #include <memory>
10 10
11 #include "xfa/fwl/core/fwl_formimp.h" 11 #include "xfa/fwl/core/fwl_formimp.h"
12 #include "xfa/fwl/core/fwl_noteimp.h" 12 #include "xfa/fwl/core/fwl_noteimp.h"
13 #include "xfa/fwl/core/fwl_targetimp.h"
14 #include "xfa/fwl/core/fwl_threadimp.h"
15 #include "xfa/fwl/core/fwl_widgetimp.h" 13 #include "xfa/fwl/core/fwl_widgetimp.h"
16 14
17 CFWL_ToolTip* CFWL_ToolTip::Create() { 15 CFWL_ToolTip* CFWL_ToolTip::Create() {
18 return new CFWL_ToolTip; 16 return new CFWL_ToolTip;
19 } 17 }
20 18
21 FWL_ERR CFWL_ToolTip::Initialize(const CFWL_WidgetProperties* pProperties) { 19 FWL_ERR CFWL_ToolTip::Initialize(const CFWL_WidgetProperties* pProperties) {
22 if (m_pIface) 20 if (m_pIface)
23 return FWL_ERR_Indefinite; 21 return FWL_ERR_Indefinite;
24 if (pProperties) { 22 if (pProperties) {
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 } 122 }
125 123
126 CFX_SizeF CFWL_ToolTip::CFWL_ToolTipDP::GetToolTipIconSize( 124 CFX_SizeF CFWL_ToolTip::CFWL_ToolTipDP::GetToolTipIconSize(
127 IFWL_Widget* pWidget) { 125 IFWL_Widget* pWidget) {
128 return m_fIconSize; 126 return m_fIconSize;
129 } 127 }
130 128
131 CFX_RectF CFWL_ToolTip::CFWL_ToolTipDP::GetAnchor() { 129 CFX_RectF CFWL_ToolTip::CFWL_ToolTipDP::GetAnchor() {
132 return m_fAnchor; 130 return m_fAnchor;
133 } 131 }
OLDNEW
« no previous file with comments | « xfa/fwl/core/ifwl_widgetmgrdelegate.h ('k') | xfa/fwl/lightwidget/cfwl_widget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698