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

Side by Side Diff: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java

Issue 715733002: [Android] Show autofill popup after animation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase on top of https://codereview.chromium.org/826713002/ Created 5 years, 12 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 package org.chromium.content.browser; 5 package org.chromium.content.browser;
6 6
7 import android.annotation.SuppressLint; 7 import android.annotation.SuppressLint;
8 import android.app.Activity; 8 import android.app.Activity;
9 import android.app.SearchManager; 9 import android.app.SearchManager;
10 import android.content.ClipboardManager; 10 import android.content.ClipboardManager;
(...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after
650 getContentViewClient().onImeEvent(); 650 getContentViewClient().onImeEvent();
651 if (mFocusedNodeEditable) dismissTextHandles(); 651 if (mFocusedNodeEditable) dismissTextHandles();
652 } 652 }
653 653
654 @Override 654 @Override
655 public void onDismissInput() { 655 public void onDismissInput() {
656 getContentViewClient().onImeStateChangeRequested(false); 656 getContentViewClient().onImeStateChangeRequested(false);
657 } 657 }
658 658
659 @Override 659 @Override
660 public void onKeyboardBoundsUnchanged() {
661 assert mWebContents != null;
662 mWebContents.scrollFocusedEditableNodeIntoView();
663 }
664
665 @Override
660 public View getAttachedView() { 666 public View getAttachedView() {
661 return mContainerView; 667 return mContainerView;
662 } 668 }
663 669
664 @Override 670 @Override
665 public ResultReceiver getNewShowKeyboardReceiver() { 671 public ResultReceiver getNewShowKeyboardReceiver() {
666 return new ResultReceiver(new Handler()) { 672 return new ResultReceiver(new Handler()) {
667 @Override 673 @Override
668 public void onReceiveResult(int resultCode, Bundle r esultData) { 674 public void onReceiveResult(int resultCode, Bundle r esultData) {
669 getContentViewClient().onImeStateChangeRequested ( 675 getContentViewClient().onImeStateChangeRequested (
(...skipping 2457 matching lines...) Expand 10 before | Expand all | Expand 10 after
3127 private native void nativeWasResized(long nativeContentViewCoreImpl); 3133 private native void nativeWasResized(long nativeContentViewCoreImpl);
3128 3134
3129 private native void nativeSetAccessibilityEnabled( 3135 private native void nativeSetAccessibilityEnabled(
3130 long nativeContentViewCoreImpl, boolean enabled); 3136 long nativeContentViewCoreImpl, boolean enabled);
3131 3137
3132 private native void nativeExtractSmartClipData(long nativeContentViewCoreImp l, 3138 private native void nativeExtractSmartClipData(long nativeContentViewCoreImp l,
3133 int x, int y, int w, int h); 3139 int x, int y, int w, int h);
3134 3140
3135 private native void nativeSetBackgroundOpaque(long nativeContentViewCoreImpl , boolean opaque); 3141 private native void nativeSetBackgroundOpaque(long nativeContentViewCoreImpl , boolean opaque);
3136 } 3142 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698