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

Side by Side Diff: content/browser/android/content_util.h

Issue 10831060: Refactor the Android port to allow access to the chrome layer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: gyp fixes Created 8 years, 4 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_BROWSER_ANDROID_CONTENT_UTIL_H_
6 #define CONTENT_BROWSER_ANDROID_CONTENT_UTIL_H_
7
8 #include <jni.h>
9
10 #include "base/android/jni_android.h"
11 #include "base/android/scoped_java_ref.h"
12 #include "content/public/common/file_chooser_params.h"
13
14 namespace content {
15
16 base::android::ScopedJavaLocalRef<jobject> ToJavaFileChooserParams(
17 JNIEnv* env,
18 const FileChooserParams& file_chooser_params);
19
20 content::FileChooserParams ToNativeFileChooserParams(
21 JNIEnv* env,
22 jint mode,
23 jstring title,
24 jstring default_file,
25 jobjectArray accept_types,
26 jstring capture);
27
28 }; // namespace content
29
30 #endif // CONTENT_BROWSER_ANDROID_CONTENT_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698