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

Side by Side Diff: content/public/browser/android/content_view_core.h

Issue 10916160: Upstreaming SelectFileDialog for Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Yaron's nits Created 8 years, 3 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_VIEW_CORE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_VIEW_CORE_H_
6 #define CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_VIEW_CORE_H_ 6 #define CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_VIEW_CORE_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 class GURL; 10 class GURL;
11 11
12 namespace ui {
13 class WindowAndroid;
14 }
15
12 namespace content { 16 namespace content {
13 17
14 class WebContents; 18 class WebContents;
15 19
16 // Native side of the ContentViewCore.java, which is the primary way of 20 // Native side of the ContentViewCore.java, which is the primary way of
17 // communicating with the native Chromium code on Android. This is a 21 // communicating with the native Chromium code on Android. This is a
18 // public interface used by native code outside of the content module. 22 // public interface used by native code outside of the content module.
19 // 23 //
20 // TODO(jrg): this is a shell. Upstream the rest. 24 // TODO(jrg): this is a shell. Upstream the rest.
21 // 25 //
(...skipping 18 matching lines...) Expand all
40 // -------------------------------------------------------------------------- 44 // --------------------------------------------------------------------------
41 45
42 virtual int GetNativeImeAdapter(JNIEnv* env, jobject obj) = 0; 46 virtual int GetNativeImeAdapter(JNIEnv* env, jobject obj) = 0;
43 47
44 // -------------------------------------------------------------------------- 48 // --------------------------------------------------------------------------
45 // Methods called from native code 49 // Methods called from native code
46 // -------------------------------------------------------------------------- 50 // --------------------------------------------------------------------------
47 51
48 virtual base::android::ScopedJavaLocalRef<jobject> GetJavaObject() = 0; 52 virtual base::android::ScopedJavaLocalRef<jobject> GetJavaObject() = 0;
49 53
54 virtual ui::WindowAndroid* GetWindowAndroid() = 0;
50 protected: 55 protected:
51 virtual ~ContentViewCore() {}; 56 virtual ~ContentViewCore() {};
52 }; 57 };
53 58
54 }; // namespace content 59 }; // namespace content
55 60
56 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_VIEW_CORE_H_ 61 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_VIEW_CORE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698