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

Side by Side Diff: chrome/browser/android/chrome_web_contents_delegate_android.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: 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 #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_
OLDNEW
« no previous file with comments | « chrome/browser/android/chrome_jni_registrar.cc ('k') | chrome/browser/android/chrome_web_contents_delegate_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698