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

Side by Side Diff: content/browser/web_contents/web_contents_android.h

Issue 464393002: Restructuring WebContents functions from ContentViewCore to WebContents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed C++ variable naming issues. Created 6 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "base/android/scoped_java_ref.h" 10 #include "base/android/scoped_java_ref.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 JNIEnv* env, 76 JNIEnv* env,
77 jobject obj, 77 jobject obj,
78 bool enable_hiding, 78 bool enable_hiding,
79 bool enable_showing, 79 bool enable_showing,
80 bool animate); 80 bool animate);
81 void ShowImeIfNeeded(JNIEnv* env, jobject obj); 81 void ShowImeIfNeeded(JNIEnv* env, jobject obj);
82 void ScrollFocusedEditableNodeIntoView(JNIEnv* env, jobject obj); 82 void ScrollFocusedEditableNodeIntoView(JNIEnv* env, jobject obj);
83 void SelectWordAroundCaret(JNIEnv* env, jobject obj); 83 void SelectWordAroundCaret(JNIEnv* env, jobject obj);
84 84
85 void InsertCSS(JNIEnv* env, jobject jobj, jstring jcss); 85 void InsertCSS(JNIEnv* env, jobject jobj, jstring jcss);
86 void EvaluateJavaScript(JNIEnv* env,
87 jobject obj,
88 jstring script,
89 jobject callback,
90 jboolean start_renderer);
86 91
87 private: 92 private:
88 RenderWidgetHostViewAndroid* GetRenderWidgetHostViewAndroid(); 93 RenderWidgetHostViewAndroid* GetRenderWidgetHostViewAndroid();
89 94
90 WebContents* web_contents_; 95 WebContents* web_contents_;
91 NavigationControllerAndroid navigation_controller_; 96 NavigationControllerAndroid navigation_controller_;
92 base::android::ScopedJavaGlobalRef<jobject> obj_; 97 base::android::ScopedJavaGlobalRef<jobject> obj_;
93 98
94 DISALLOW_COPY_AND_ASSIGN(WebContentsAndroid); 99 DISALLOW_COPY_AND_ASSIGN(WebContentsAndroid);
95 }; 100 };
96 101
97 } // namespace content 102 } // namespace content
98 103
99 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_ 104 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_ANDROID_H_
OLDNEW
« no previous file with comments | « content/browser/android/content_view_core_impl.cc ('k') | content/browser/web_contents/web_contents_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698