OLD | NEW |
(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 #include "chrome/browser/android/chrome_web_contents_delegate_android.h" |
| 6 |
| 7 #include "base/android/jni_android.h" |
| 8 #include "chrome/browser/file_select_helper.h" |
| 9 #include "content/public/browser/web_contents.h" |
| 10 #include "content/public/common/file_chooser_params.h" |
| 11 |
| 12 using base::android::AttachCurrentThread; |
| 13 using base::android::GetClass; |
| 14 using base::android::ScopedJavaLocalRef; |
| 15 using content::FileChooserParams; |
| 16 using content::WebContents; |
| 17 |
| 18 namespace chrome { |
| 19 namespace android { |
| 20 |
| 21 ChromeWebContentsDelegateAndroid::ChromeWebContentsDelegateAndroid(JNIEnv* env, |
| 22 jobject obj) |
| 23 : WebContentsDelegateAndroid(env, obj) { |
| 24 } |
| 25 |
| 26 ChromeWebContentsDelegateAndroid::~ChromeWebContentsDelegateAndroid() { |
| 27 } |
| 28 |
| 29 void ChromeWebContentsDelegateAndroid::RunFileChooser( |
| 30 WebContents* web_contents, |
| 31 const FileChooserParams& params) { |
| 32 FileSelectHelper::RunFileChooser(web_contents, params); |
| 33 } |
| 34 |
| 35 } // namespace android |
| 36 } // namespace chrome |
| 37 |
OLD | NEW |