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

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

Issue 10952029: Remove native side of content_view_client (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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;
(...skipping 28 matching lines...) Expand all
39 // Methods called from Java via JNI 39 // Methods called from Java via JNI
40 // -------------------------------------------------------------------------- 40 // --------------------------------------------------------------------------
41 41
42 virtual int GetNativeImeAdapter(JNIEnv* env, jobject obj) = 0; 42 virtual int GetNativeImeAdapter(JNIEnv* env, jobject obj) = 0;
43 virtual void SelectBetweenCoordinates(JNIEnv* env, jobject obj, 43 virtual void SelectBetweenCoordinates(JNIEnv* env, jobject obj,
44 jint x1, jint y1, jint x2, jint y2) = 0; 44 jint x1, jint y1, jint x2, jint y2) = 0;
45 45
46 // -------------------------------------------------------------------------- 46 // --------------------------------------------------------------------------
47 // Methods called from native code 47 // Methods called from native code
48 // -------------------------------------------------------------------------- 48 // --------------------------------------------------------------------------
49 virtual content::WebContents* web_contents() const = 0;
Ted C 2012/09/20 17:28:45 Nilesh added GetWebContents in: http://codereview.
49 50
50 virtual base::android::ScopedJavaLocalRef<jobject> GetJavaObject() = 0; 51 virtual base::android::ScopedJavaLocalRef<jobject> GetJavaObject() = 0;
51 52
52 protected: 53 protected:
53 virtual ~ContentViewCore() {}; 54 virtual ~ContentViewCore() {};
54 }; 55 };
55 56
56 }; // namespace content 57 }; // namespace content
57 58
58 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_VIEW_CORE_H_ 59 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_VIEW_CORE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698