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

Side by Side Diff: third_party/npapi/bindings/nptypes.h

Issue 8805004: Implement NPNVsupportsCompositingCoreAnimationPluginsBool (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix missing logic Created 9 years 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 | Annotate | Revision Log
« no previous file with comments | « third_party/npapi/bindings/npruntime.h ('k') | webkit/plugins/npapi/plugin_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 1 /* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* ***** BEGIN LICENSE BLOCK ***** 2 /* ***** BEGIN LICENSE BLOCK *****
3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 * 4 *
5 * The contents of this file are subject to the Mozilla Public License Version 5 * The contents of this file are subject to the Mozilla Public License Version
6 * 1.1 (the "License"); you may not use this file except in compliance with 6 * 1.1 (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at 7 * the License. You may obtain a copy of the License at
8 * http://www.mozilla.org/MPL/ 8 * http://www.mozilla.org/MPL/
9 * 9 *
10 * Software distributed under the License is distributed on an "AS IS" basis, 10 * Software distributed under the License is distributed on an "AS IS" basis,
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 */ 62 */
63 #include <inttypes.h> 63 #include <inttypes.h>
64 64
65 #ifndef __cplusplus 65 #ifndef __cplusplus
66 typedef int bool; 66 typedef int bool;
67 #define true 1 67 #define true 1
68 #define false 0 68 #define false 0
69 #endif 69 #endif
70 #elif defined(bsdi) || defined(FREEBSD) || defined(OPENBSD) 70 #elif defined(bsdi) || defined(FREEBSD) || defined(OPENBSD)
71 /* 71 /*
72 * BSD/OS, FreeBSD, and OpenBSD ship sys/types.h that define int32_t and 72 * BSD/OS, FreeBSD, and OpenBSD ship sys/types.h that define int32_t and
73 * u_int32_t. 73 * u_int32_t.
74 */ 74 */
75 #include <sys/types.h> 75 #include <sys/types.h>
76 76
77 /* 77 /*
78 * BSD/OS ships no header that defines uint32_t, nor bool (for C) 78 * BSD/OS ships no header that defines uint32_t, nor bool (for C)
79 */ 79 */
80 #if defined(bsdi) 80 #if defined(bsdi)
81 typedef u_int32_t uint32_t; 81 typedef u_int32_t uint32_t;
82 typedef u_int64_t uint64_t; 82 typedef u_int64_t uint64_t;
(...skipping 29 matching lines...) Expand all
112 * works. 112 * works.
113 */ 113 */
114 #define bool int 114 #define bool int
115 #define true 1 115 #define true 1
116 #define false 0 116 #define false 0
117 #endif 117 #endif
118 #endif 118 #endif
119 #endif 119 #endif
120 120
121 #endif /* nptypes_h_ */ 121 #endif /* nptypes_h_ */
OLDNEW
« no previous file with comments | « third_party/npapi/bindings/npruntime.h ('k') | webkit/plugins/npapi/plugin_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698