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

Unified Diff: webkit/glue/plugins/pepper_file_chooser.cc

Issue 4310002: Make PPAPI headers compile with C compilers (gcc on Linux & Mac and MSVS on W... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/plugins/pepper_event_conversion.cc ('k') | webkit/glue/plugins/pepper_file_io.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/pepper_file_chooser.cc
===================================================================
--- webkit/glue/plugins/pepper_file_chooser.cc (revision 65116)
+++ webkit/glue/plugins/pepper_file_chooser.cc (working copy)
@@ -15,6 +15,7 @@
#include "third_party/WebKit/WebKit/chromium/public/WebFileChooserParams.h"
#include "third_party/WebKit/WebKit/chromium/public/WebString.h"
#include "third_party/WebKit/WebKit/chromium/public/WebVector.h"
+#include "webkit/glue/plugins/pepper_common.h"
#include "webkit/glue/plugins/pepper_file_ref.h"
#include "webkit/glue/plugins/pepper_plugin_delegate.h"
#include "webkit/glue/plugins/pepper_plugin_instance.h"
@@ -41,8 +42,8 @@
return chooser->GetReference();
}
-bool IsFileChooser(PP_Resource resource) {
- return !!Resource::GetAs<FileChooser>(resource);
+PP_Bool IsFileChooser(PP_Resource resource) {
+ return BoolToPPBool(!!Resource::GetAs<FileChooser>(resource));
}
int32_t Show(PP_Resource chooser_id, PP_CompletionCallback callback) {
« no previous file with comments | « webkit/glue/plugins/pepper_event_conversion.cc ('k') | webkit/glue/plugins/pepper_file_io.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698