Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 #ifndef _FWL_NOTE_IMP_H | 7 #ifndef _FWL_NOTE_IMP_H |
| 8 #define _FWL_NOTE_IMP_H | 8 #define _FWL_NOTE_IMP_H |
| 9 | |
| 10 #include "xfa/include/fwl/core/fwl_note.h" | |
| 11 | |
| 9 class CFWL_TargetImp; | 12 class CFWL_TargetImp; |
| 10 class CFWL_WidgetImp; | 13 class CFWL_WidgetImp; |
| 11 class CFWL_NoteThread; | 14 class CFWL_NoteThread; |
| 12 class CFWL_ToolTipImp; | 15 class CFWL_ToolTipImp; |
| 13 class IFWL_ToolTipTarget; | |
| 14 class CFWL_CoreToopTipDP; | 16 class CFWL_CoreToopTipDP; |
| 15 class CFWL_NoteLoop; | |
| 16 class CFWL_NoteDriver; | 17 class CFWL_NoteDriver; |
| 17 class CFWL_EventTarget; | 18 class CFWL_EventTarget; |
| 18 class CFWL_ToolTipContainer; | 19 class CFWL_ToolTipContainer; |
| 19 | 20 |
| 20 class CFWL_NoteLoop { | 21 class CFWL_NoteLoop : public IFWL_NoteLoop { |
|
Tom Sepez
2015/12/08 00:47:06
yow.
| |
| 21 public: | 22 public: |
| 22 CFWL_NoteLoop(CFWL_WidgetImp* pForm = NULL); | 23 CFWL_NoteLoop(CFWL_WidgetImp* pForm = NULL); |
| 23 virtual ~CFWL_NoteLoop() {} | 24 |
| 24 virtual FX_BOOL PreProcessMessage(CFWL_Message* pMessage); | 25 // IFWL_NoteLoop: |
| 25 virtual FWL_ERR Idle(int32_t count); | 26 ~CFWL_NoteLoop() override {} |
| 27 FX_BOOL PreProcessMessage(CFWL_Message* pMessage) override; | |
| 28 FWL_ERR Idle(int32_t count) override; | |
| 29 | |
| 26 CFWL_WidgetImp* GetForm(); | 30 CFWL_WidgetImp* GetForm(); |
| 27 FX_BOOL ContinueModal(); | 31 FX_BOOL ContinueModal(); |
| 28 FWL_ERR EndModalLoop(); | 32 FWL_ERR EndModalLoop(); |
| 29 FX_BOOL TranslateAccelerator(CFWL_Message* pMessage); | 33 FX_BOOL TranslateAccelerator(CFWL_Message* pMessage); |
| 30 FWL_ERR SetMainForm(CFWL_WidgetImp* pForm); | 34 FWL_ERR SetMainForm(CFWL_WidgetImp* pForm); |
| 31 | 35 |
| 32 protected: | 36 protected: |
| 33 void GenerateCommondEvent(FX_DWORD dwCommand); | 37 void GenerateCommondEvent(FX_DWORD dwCommand); |
| 34 | 38 |
| 35 CFWL_WidgetImp* m_pForm; | 39 CFWL_WidgetImp* m_pForm; |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 145 | 149 |
| 146 IFWL_ToolTipTarget* pCurTarget; | 150 IFWL_ToolTipTarget* pCurTarget; |
| 147 CFWL_ToolTipImp* m_pToolTipImp; | 151 CFWL_ToolTipImp* m_pToolTipImp; |
| 148 CFWL_CoreToopTipDP* m_ToolTipDp; | 152 CFWL_CoreToopTipDP* m_ToolTipDp; |
| 149 CFX_PtrArray m_arrWidget; | 153 CFX_PtrArray m_arrWidget; |
| 150 | 154 |
| 151 private: | 155 private: |
| 152 static CFWL_ToolTipContainer* s_pInstance; | 156 static CFWL_ToolTipContainer* s_pInstance; |
| 153 }; | 157 }; |
| 154 #endif | 158 #endif |
| OLD | NEW |