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

Side by Side Diff: chrome/browser/android/chrome_web_contents_delegate_android.cc

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: nit fixed. 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 #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
OLDNEW
« no previous file with comments | « chrome/browser/android/chrome_web_contents_delegate_android.h ('k') | chrome/browser/android/content_view_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698