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 #ifndef CHROME_BROWSER_ANDROID_CHROME_WEB_CONTENTS_DELEGATE_ANDROID_H_ |
| 6 #define CHROME_BROWSER_ANDROID_CHROME_WEB_CONTENTS_DELEGATE_ANDROID_H_ |
| 7 |
| 8 #include <jni.h> |
| 9 |
| 10 #include "chrome/browser/component/web_contents_delegate_android/web_contents_de
legate_android.h" |
| 11 |
| 12 namespace content { |
| 13 struct FileChooserParams; |
| 14 class WebContents; |
| 15 } |
| 16 |
| 17 namespace chrome { |
| 18 namespace android { |
| 19 |
| 20 // Chromium Android specific WebContentsDelegate. |
| 21 // Should contain any WebContentsDelegate implementations required by |
| 22 // the Chromium Android port but not to be shared with WebView. |
| 23 class ChromeWebContentsDelegateAndroid |
| 24 : public web_contents_delegate_android::WebContentsDelegateAndroid { |
| 25 public: |
| 26 ChromeWebContentsDelegateAndroid(JNIEnv* env, jobject obj); |
| 27 virtual ~ChromeWebContentsDelegateAndroid(); |
| 28 |
| 29 virtual void RunFileChooser(content::WebContents* web_contents, |
| 30 const content::FileChooserParams& params) |
| 31 OVERRIDE; |
| 32 }; |
| 33 |
| 34 } // namespace android |
| 35 } // namespace chrome |
| 36 |
| 37 #endif // CHROME_BROWSER_ANDROID_CHROME_WEB_CONTENTS_DELEGATE_ANDROID_H_ |
OLD | NEW |