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

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

Issue 2520063002: Split fwl/core class pt II. (Closed)
Patch Set: Rebase to master Created 4 years 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_spinbutton.cpp ('k') | xfa/fwl/core/ifwl_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/core/ifwl_tooltip.h" 7 #include "xfa/fwl/core/ifwl_tooltip.h"
8 8
9 #include <memory> 9 #include <memory>
10 #include <utility> 10 #include <utility>
11 11
12 #include "third_party/base/ptr_util.h" 12 #include "third_party/base/ptr_util.h"
13 #include "xfa/fde/tto/fde_textout.h" 13 #include "xfa/fde/tto/fde_textout.h"
14 #include "xfa/fwl/core/cfwl_notedriver.h"
14 #include "xfa/fwl/core/cfwl_themebackground.h" 15 #include "xfa/fwl/core/cfwl_themebackground.h"
15 #include "xfa/fwl/core/cfwl_themepart.h" 16 #include "xfa/fwl/core/cfwl_themepart.h"
16 #include "xfa/fwl/core/cfwl_themetext.h" 17 #include "xfa/fwl/core/cfwl_themetext.h"
17 #include "xfa/fwl/core/fwl_noteimp.h"
18 #include "xfa/fwl/core/ifwl_themeprovider.h" 18 #include "xfa/fwl/core/ifwl_themeprovider.h"
19 #include "xfa/fwl/core/ifwl_timerinfo.h" 19 #include "xfa/fwl/core/ifwl_timerinfo.h"
20 #include "xfa/fwl/theme/cfwl_widgettp.h" 20 #include "xfa/fwl/theme/cfwl_widgettp.h"
21 21
22 IFWL_ToolTip::IFWL_ToolTip(const IFWL_App* app, 22 IFWL_ToolTip::IFWL_ToolTip(const IFWL_App* app,
23 std::unique_ptr<CFWL_WidgetProperties> properties, 23 std::unique_ptr<CFWL_WidgetProperties> properties,
24 IFWL_Widget* pOuter) 24 IFWL_Widget* pOuter)
25 : IFWL_Form(app, std::move(properties), pOuter), 25 : IFWL_Form(app, std::move(properties), pOuter),
26 m_dwTTOStyles(FDE_TTOSTYLE_SingleLine), 26 m_dwTTOStyles(FDE_TTOSTYLE_SingleLine),
27 m_iTTOAlign(FDE_TTOALIGNMENT_Center), 27 m_iTTOAlign(FDE_TTOALIGNMENT_Center),
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 pToolTip->m_pTimerInfoShow = nullptr; 197 pToolTip->m_pTimerInfoShow = nullptr;
198 return; 198 return;
199 } 199 }
200 } 200 }
201 if (pToolTip->m_pTimerInfoHide == pTimerInfo && pToolTip->m_pTimerInfoHide) { 201 if (pToolTip->m_pTimerInfoHide == pTimerInfo && pToolTip->m_pTimerInfoHide) {
202 pToolTip->SetStates(FWL_WGTSTATE_Invisible, true); 202 pToolTip->SetStates(FWL_WGTSTATE_Invisible, true);
203 pToolTip->m_pTimerInfoHide->StopTimer(); 203 pToolTip->m_pTimerInfoHide->StopTimer();
204 pToolTip->m_pTimerInfoHide = nullptr; 204 pToolTip->m_pTimerInfoHide = nullptr;
205 } 205 }
206 } 206 }
OLDNEW
« no previous file with comments | « xfa/fwl/core/ifwl_spinbutton.cpp ('k') | xfa/fwl/core/ifwl_widget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698