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

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

Issue 1803723002: Move xfa/src up to xfa/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 9 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/fwl_noteimp.h ('k') | xfa/fwl/core/fwl_panelimp.h » ('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/src/fwl/core/fwl_noteimp.h" 7 #include "xfa/fwl/core/fwl_noteimp.h"
8 8
9 #include "core/include/fxcrt/fx_ext.h" 9 #include "core/include/fxcrt/fx_ext.h"
10 #include "xfa/fwl/basewidget/fwl_tooltipctrlimp.h"
11 #include "xfa/fwl/core/fwl_appimp.h"
12 #include "xfa/fwl/core/fwl_formimp.h"
13 #include "xfa/fwl/core/fwl_panelimp.h"
14 #include "xfa/fwl/core/fwl_targetimp.h"
15 #include "xfa/fwl/core/fwl_threadimp.h"
16 #include "xfa/fwl/core/fwl_widgetimp.h"
17 #include "xfa/fwl/core/fwl_widgetmgrimp.h"
10 #include "xfa/include/fwl/adapter/fwl_adapterwidgetmgr.h" 18 #include "xfa/include/fwl/adapter/fwl_adapterwidgetmgr.h"
11 #include "xfa/include/fwl/basewidget/fwl_tooltipctrl.h" 19 #include "xfa/include/fwl/basewidget/fwl_tooltipctrl.h"
12 #include "xfa/include/fwl/core/fwl_app.h" 20 #include "xfa/include/fwl/core/fwl_app.h"
13 #include "xfa/include/fwl/core/fwl_grid.h" 21 #include "xfa/include/fwl/core/fwl_grid.h"
14 #include "xfa/src/fwl/basewidget/fwl_tooltipctrlimp.h"
15 #include "xfa/src/fwl/core/fwl_appimp.h"
16 #include "xfa/src/fwl/core/fwl_formimp.h"
17 #include "xfa/src/fwl/core/fwl_panelimp.h"
18 #include "xfa/src/fwl/core/fwl_targetimp.h"
19 #include "xfa/src/fwl/core/fwl_threadimp.h"
20 #include "xfa/src/fwl/core/fwl_widgetimp.h"
21 #include "xfa/src/fwl/core/fwl_widgetmgrimp.h"
22 22
23 CFWL_NoteLoop::CFWL_NoteLoop(CFWL_WidgetImp* pForm) 23 CFWL_NoteLoop::CFWL_NoteLoop(CFWL_WidgetImp* pForm)
24 : m_pForm(pForm), m_bContinueModal(TRUE) {} 24 : m_pForm(pForm), m_bContinueModal(TRUE) {}
25 FX_BOOL CFWL_NoteLoop::PreProcessMessage(CFWL_Message* pMessage) { 25 FX_BOOL CFWL_NoteLoop::PreProcessMessage(CFWL_Message* pMessage) {
26 if (!m_pForm) { 26 if (!m_pForm) {
27 return FALSE; 27 return FALSE;
28 } 28 }
29 return TranslateAccelerator(pMessage); 29 return TranslateAccelerator(pMessage);
30 } 30 }
31 FWL_ERR CFWL_NoteLoop::Idle(int32_t count) { 31 FWL_ERR CFWL_NoteLoop::Idle(int32_t count) {
(...skipping 1056 matching lines...) Expand 10 before | Expand all | Expand 10 after
1088 return NULL; 1088 return NULL;
1089 return widget->GetInterface(); 1089 return widget->GetInterface();
1090 } 1090 }
1091 FWL_ERR FWL_SetHook(IFWL_NoteDriver* driver, 1091 FWL_ERR FWL_SetHook(IFWL_NoteDriver* driver,
1092 FWLMessageHookCallback callback, 1092 FWLMessageHookCallback callback,
1093 void* info) { 1093 void* info) {
1094 CFWL_NoteDriver* noteDriver = static_cast<CFWL_NoteDriver*>(driver); 1094 CFWL_NoteDriver* noteDriver = static_cast<CFWL_NoteDriver*>(driver);
1095 noteDriver->SetHook(callback, info); 1095 noteDriver->SetHook(callback, info);
1096 return FWL_ERR_Succeeded; 1096 return FWL_ERR_Succeeded;
1097 } 1097 }
OLDNEW
« no previous file with comments | « xfa/fwl/core/fwl_noteimp.h ('k') | xfa/fwl/core/fwl_panelimp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698