From 242b95e2a9df3b57dd9aa28adea58ad51f84a221 Mon Sep 17 00:00:00 2001 From: dsinclair Date: Wed, 16 Nov 2016 14:25:01 -0800 Subject: Move the message definitions to their own files. Currently the CFWL messages are created by a macro in the CFWL_Message header file. This Cl splits out the class to their own files and writes them directly instead of using the macro. Review-Url: https://codereview.chromium.org/2510823003 --- xfa/fwl/core/fwl_noteimp.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xfa/fwl/core/fwl_noteimp.h') diff --git a/xfa/fwl/core/fwl_noteimp.h b/xfa/fwl/core/fwl_noteimp.h index 9eaaed596f..ec7855dec6 100644 --- a/xfa/fwl/core/fwl_noteimp.h +++ b/xfa/fwl/core/fwl_noteimp.h @@ -7,11 +7,11 @@ #ifndef XFA_FWL_CORE_FWL_NOTEIMP_H_ #define XFA_FWL_CORE_FWL_NOTEIMP_H_ +#include #include #include #include "xfa/fwl/core/cfwl_event.h" -#include "xfa/fwl/core/cfwl_message.h" #include "xfa/fwl/core/ifwl_tooltip.h" #include "xfa/fwl/core/ifwl_widget.h" #include "xfa/fxgraphics/cfx_graphics.h" @@ -67,7 +67,7 @@ class CFWL_NoteDriver { void RegisterForm(IFWL_Widget* pForm); void UnRegisterForm(IFWL_Widget* pForm); - void QueueMessage(CFWL_Message* pMessage); + void QueueMessage(std::unique_ptr pMessage); void UnqueueMessage(CFWL_NoteLoop* pNoteLoop); void ProcessMessage(CFWL_Message* pMessage); @@ -84,7 +84,7 @@ class CFWL_NoteDriver { IFWL_Widget* GetMessageForm(IFWL_Widget* pDstTarget); CFX_ArrayTemplate m_forms; - CFX_ArrayTemplate m_noteQueue; + std::deque> m_noteQueue; CFX_ArrayTemplate m_noteLoopQueue; std::unordered_map m_eventTargets; IFWL_Widget* m_pHover; -- cgit v1.2.3