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

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: Sky'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 20 matching lines...) Expand all
42 virtual int GetNativeImeAdapter(JNIEnv* env, jobject obj) = 0; 46 virtual int GetNativeImeAdapter(JNIEnv* env, jobject obj) = 0;
43 virtual void SelectBetweenCoordinates(JNIEnv* env, jobject obj, 47 virtual void SelectBetweenCoordinates(JNIEnv* env, jobject obj,
44 jint x1, jint y1, jint x2, jint y2) = 0; 48 jint x1, jint y1, jint x2, jint y2) = 0;
45 49
46 // -------------------------------------------------------------------------- 50 // --------------------------------------------------------------------------
47 // Methods called from native code 51 // Methods called from native code
48 // -------------------------------------------------------------------------- 52 // --------------------------------------------------------------------------
49 53
50 virtual base::android::ScopedJavaLocalRef<jobject> GetJavaObject() = 0; 54 virtual base::android::ScopedJavaLocalRef<jobject> GetJavaObject() = 0;
51 55
56 virtual ui::WindowAndroid* GetWindowAndroid() = 0;
52 protected: 57 protected:
53 virtual ~ContentViewCore() {}; 58 virtual ~ContentViewCore() {};
54 }; 59 };
55 60
56 }; // namespace content 61 }; // namespace content
57 62
58 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_VIEW_CORE_H_ 63 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_VIEW_CORE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698