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

Side by Side Diff: xfa/src/fwl/src/core/fwl_noteimp.cpp

Issue 1570743002: XFA: Remove many relative includes in xfa/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 4 years, 11 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
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 "../../../foxitlib.h" 7 #include "xfa/src/foxitlib.h"
8 #include "include/fwl_targetimp.h" 8 #include "xfa/src/fwl/src/core/include/fwl_targetimp.h"
9 #include "include/fwl_widgetimp.h" 9 #include "xfa/src/fwl/src/core/include/fwl_widgetimp.h"
10 #include "include/fwl_widgetmgrimp.h" 10 #include "xfa/src/fwl/src/core/include/fwl_widgetmgrimp.h"
11 #include "include/fwl_panelimp.h" 11 #include "xfa/src/fwl/src/core/include/fwl_panelimp.h"
12 #include "include/fwl_formimp.h" 12 #include "xfa/src/fwl/src/core/include/fwl_formimp.h"
13 #include "include/fwl_noteimp.h" 13 #include "xfa/src/fwl/src/core/include/fwl_noteimp.h"
14 #include "include/fwl_threadimp.h" 14 #include "xfa/src/fwl/src/core/include/fwl_threadimp.h"
15 #include "include/fwl_appimp.h" 15 #include "xfa/src/fwl/src/core/include/fwl_appimp.h"
16 #include "../../src/basewidget/include/fwl_tooltipctrlimp.h" 16 #include "xfa/src/fwl/src/basewidget/include/fwl_tooltipctrlimp.h"
17 CFWL_NoteLoop::CFWL_NoteLoop(CFWL_WidgetImp* pForm) 17 CFWL_NoteLoop::CFWL_NoteLoop(CFWL_WidgetImp* pForm)
18 : m_pForm(pForm), m_bContinueModal(TRUE) {} 18 : m_pForm(pForm), m_bContinueModal(TRUE) {}
19 FX_BOOL CFWL_NoteLoop::PreProcessMessage(CFWL_Message* pMessage) { 19 FX_BOOL CFWL_NoteLoop::PreProcessMessage(CFWL_Message* pMessage) {
20 if (!m_pForm) { 20 if (!m_pForm) {
21 return FALSE; 21 return FALSE;
22 } 22 }
23 return TranslateAccelerator(pMessage); 23 return TranslateAccelerator(pMessage);
24 } 24 }
25 FWL_ERR CFWL_NoteLoop::Idle(int32_t count) { 25 FWL_ERR CFWL_NoteLoop::Idle(int32_t count) {
26 #if (_FX_OS_ == _FX_WIN32_DESKTOP_) 26 #if (_FX_OS_ == _FX_WIN32_DESKTOP_)
(...skipping 1059 matching lines...) Expand 10 before | Expand all | Expand 10 after
1086 return NULL; 1086 return NULL;
1087 return widget->GetInterface(); 1087 return widget->GetInterface();
1088 } 1088 }
1089 FWL_ERR FWL_SetHook(IFWL_NoteDriver* driver, 1089 FWL_ERR FWL_SetHook(IFWL_NoteDriver* driver,
1090 FWLMessageHookCallback callback, 1090 FWLMessageHookCallback callback,
1091 void* info) { 1091 void* info) {
1092 CFWL_NoteDriver* noteDriver = static_cast<CFWL_NoteDriver*>(driver); 1092 CFWL_NoteDriver* noteDriver = static_cast<CFWL_NoteDriver*>(driver);
1093 noteDriver->SetHook(callback, info); 1093 noteDriver->SetHook(callback, info);
1094 return FWL_ERR_Succeeded; 1094 return FWL_ERR_Succeeded;
1095 } 1095 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698