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

Side by Side Diff: public/fpdf_fwlevent.h

Issue 1137233002: Merge to XFA: Make (and verify) public/ files compile under C. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Test new XFA APIs. Created 5 years, 7 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 | « public/fpdf_formfill.h ('k') | public/fpdf_save.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 #ifndef _FWL_EVENT_H 7 #ifndef _FWL_EVENT_H
8 #define _FWL_EVENT_H 8 #define _FWL_EVENT_H
9 9
10 #include "fpdfview.h" 10 #include "fpdfview.h"
11 11
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15
12 typedef int FPDF_INT32; 16 typedef int FPDF_INT32;
13 typedef unsigned int FPDF_UINT32; 17 typedef unsigned int FPDF_UINT32;
14 typedef float FPDF_FLOAT; 18 typedef float FPDF_FLOAT;
15 //event type 19 //event type
16 typedef enum 20 typedef enum
17 { 21 {
18 FWL_EVENTTYPE_Mouse = 0 , 22 FWL_EVENTTYPE_Mouse = 0 ,
19 FWL_EVENTTYPE_MouseWheel, 23 FWL_EVENTTYPE_MouseWheel,
20 FWL_EVENTTYPE_Key , 24 FWL_EVENTTYPE_Key ,
21 } FWL_EVENTTYPE; 25 } FWL_EVENTTYPE;
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 //FWL_EVENTTYPE. 278 //FWL_EVENTTYPE.
275 FPDF_UINT32 type; 279 FPDF_UINT32 type;
276 union 280 union
277 { 281 {
278 struct FWL_EVENT_MOUSE mouse; 282 struct FWL_EVENT_MOUSE mouse;
279 struct FWL_EVENT_MOUSEWHEEL wheel; 283 struct FWL_EVENT_MOUSEWHEEL wheel;
280 struct FWL_EVENT_KEY key; 284 struct FWL_EVENT_KEY key;
281 }s; 285 }s;
282 }; 286 };
283 287
288 #ifdef __cplusplus
289 }
290 #endif
291
284 #endif //_FWL_EVENT_H 292 #endif //_FWL_EVENT_H
285 293
286 294
OLDNEW
« no previous file with comments | « public/fpdf_formfill.h ('k') | public/fpdf_save.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698