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

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

Issue 10993089: Upstream Android implementation of WebContentsViewDelegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 2 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
« no previous file with comments | « content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "base/android/scoped_java_ref.h" 8 #include "base/android/scoped_java_ref.h"
9 #include <jni.h> 9 #include <jni.h>
10 10
(...skipping 15 matching lines...) Expand all
26 JNIEnv* env, jobject obj, WebContents* web_contents); 26 JNIEnv* env, jobject obj, WebContents* web_contents);
27 static ContentViewCore* GetNativeContentViewCore(JNIEnv* env, jobject obj); 27 static ContentViewCore* GetNativeContentViewCore(JNIEnv* env, jobject obj);
28 28
29 virtual void Destroy(JNIEnv* env, jobject obj) = 0; 29 virtual void Destroy(JNIEnv* env, jobject obj) = 0;
30 virtual WebContents* GetWebContents() const = 0; 30 virtual WebContents* GetWebContents() const = 0;
31 virtual base::android::ScopedJavaLocalRef<jobject> GetJavaObject() = 0; 31 virtual base::android::ScopedJavaLocalRef<jobject> GetJavaObject() = 0;
32 virtual ui::WindowAndroid* GetWindowAndroid() = 0; 32 virtual ui::WindowAndroid* GetWindowAndroid() = 0;
33 virtual void LoadUrl(NavigationController::LoadURLParams& params) = 0; 33 virtual void LoadUrl(NavigationController::LoadURLParams& params) = 0;
34 virtual void OnWebPreferencesUpdated() = 0; 34 virtual void OnWebPreferencesUpdated() = 0;
35 virtual jint GetCurrentRenderProcessId(JNIEnv* env, jobject obj) = 0; 35 virtual jint GetCurrentRenderProcessId(JNIEnv* env, jobject obj) = 0;
36 virtual void ShowPastePopup(int x, int y) = 0;
36 37
37 protected: 38 protected:
38 virtual ~ContentViewCore() {}; 39 virtual ~ContentViewCore() {};
39 }; 40 };
40 41
41 }; // namespace content 42 }; // namespace content
42 43
43 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_VIEW_CORE_H_ 44 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_VIEW_CORE_H_
OLDNEW
« no previous file with comments | « content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698