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

Unified Diff: content/browser/android/content_util.h

Issue 10536066: android content shell bringup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync and merge Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/app/android/content_jni_registrar.cc ('k') | content/browser/android/content_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/android/content_util.h
diff --git a/content/browser/android/content_util.h b/content/browser/android/content_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..aa35c4535d5ddc4bf7a9383b78943956cec9e6af
--- /dev/null
+++ b/content/browser/android/content_util.h
@@ -0,0 +1,30 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_BROWSER_ANDROID_CONTENT_UTIL_H_
+#define CONTENT_BROWSER_ANDROID_CONTENT_UTIL_H_
+
+#include <jni.h>
+
+#include "base/android/jni_android.h"
+#include "base/android/scoped_java_ref.h"
+#include "content/public/common/file_chooser_params.h"
+
+namespace content {
+
+base::android::ScopedJavaLocalRef<jobject> ToJavaFileChooserParams(
+ JNIEnv* env,
+ const FileChooserParams& file_chooser_params);
+
+content::FileChooserParams ToNativeFileChooserParams(
+ JNIEnv* env,
+ jint mode,
+ jstring title,
+ jstring default_file,
+ jobjectArray accept_types,
+ jstring capture);
+
+}; // namespace content
+
+#endif // CONTENT_BROWSER_ANDROID_CONTENT_UTIL_H_
« no previous file with comments | « content/app/android/content_jni_registrar.cc ('k') | content/browser/android/content_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698