| Index: content/browser/android/content_view_core_impl.cc
|
| diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc
|
| index 2af8683f70fb91163d96fe7b2e5515073a356e26..d3527693914fc97cfb1c43c85dc066d156906fb0 100644
|
| --- a/content/browser/android/content_view_core_impl.cc
|
| +++ b/content/browser/android/content_view_core_impl.cc
|
| @@ -21,6 +21,7 @@
|
| #include "content/browser/web_contents/navigation_controller_impl.h"
|
| #include "content/browser/web_contents/navigation_entry_impl.h"
|
| #include "content/browser/web_contents/web_contents_view_android.h"
|
| +#include "content/common/view_messages.h"
|
| #include "content/public/browser/browser_context.h"
|
| #include "content/public/browser/favicon_status.h"
|
| #include "content/public/browser/interstitial_page.h"
|
| @@ -726,6 +727,13 @@ void ContentViewCoreImpl::RemoveJavascriptInterface(JNIEnv* env,
|
| ConvertJavaStringToUTF16(env, name));
|
| }
|
|
|
| +void ContentViewCoreImpl::ScrollFocusedEditableNodeIntoView(JNIEnv* env,
|
| + jobject obj) {
|
| + RenderViewHost* host = web_contents_->GetRenderViewHost();
|
| + host->Send(new ViewMsg_ScrollFocusedEditableNodeIntoRect(host->GetRoutingID(),
|
| + gfx::Rect()));
|
| +}
|
| +
|
| int ContentViewCoreImpl::GetNavigationHistory(JNIEnv* env,
|
| jobject obj,
|
| jobject context) {
|
| @@ -770,6 +778,14 @@ jboolean ContentViewCoreImpl::NeedsReload(JNIEnv* env, jobject obj) {
|
| return web_contents_->GetController().NeedsReload();
|
| }
|
|
|
| +void ContentViewCoreImpl::UndoScrollFocusedEditableNodeIntoView(
|
| + JNIEnv* env,
|
| + jobject obj) {
|
| + RenderViewHost* host = web_contents_->GetRenderViewHost();
|
| + host->Send(
|
| + new ViewMsg_UndoScrollFocusedEditableNodeIntoView(host->GetRoutingID()));
|
| +}
|
| +
|
| jint ContentViewCoreImpl::EvaluateJavaScript(JNIEnv* env,
|
| jobject obj,
|
| jstring script) {
|
|
|