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

Side by Side Diff: android_webview/java/src/org/chromium/android_webview/AwContents.java

Issue 161933002: Show IME when DPAD_CENTER is pressed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 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.android_webview; 5 package org.chromium.android_webview;
6 6
7 import android.app.Activity; 7 import android.app.Activity;
8 import android.content.ComponentCallbacks2; 8 import android.content.ComponentCallbacks2;
9 import android.content.Context; 9 import android.content.Context;
10 import android.content.res.Configuration; 10 import android.content.res.Configuration;
(...skipping 2010 matching lines...) Expand 10 before | Expand all | Expand 10 after
2021 boolean isHardwareAccelerated, int scrollX, int scrollY, 2021 boolean isHardwareAccelerated, int scrollX, int scrollY,
2022 int clipLeft, int clipTop, int clipRight, int clipBottom); 2022 int clipLeft, int clipTop, int clipRight, int clipBottom);
2023 private native void nativeSetGlobalVisibleRect(long nativeAwContents, int vi sibleLeft, 2023 private native void nativeSetGlobalVisibleRect(long nativeAwContents, int vi sibleLeft,
2024 int visibleTop, int visibleRight, int visibleBottom); 2024 int visibleTop, int visibleRight, int visibleBottom);
2025 private native void nativeFindAllAsync(long nativeAwContents, String searchS tring); 2025 private native void nativeFindAllAsync(long nativeAwContents, String searchS tring);
2026 private native void nativeFindNext(long nativeAwContents, boolean forward); 2026 private native void nativeFindNext(long nativeAwContents, boolean forward);
2027 private native void nativeClearMatches(long nativeAwContents); 2027 private native void nativeClearMatches(long nativeAwContents);
2028 private native void nativeClearCache(long nativeAwContents, boolean includeD iskFiles); 2028 private native void nativeClearCache(long nativeAwContents, boolean includeD iskFiles);
2029 private native byte[] nativeGetCertificate(long nativeAwContents); 2029 private native byte[] nativeGetCertificate(long nativeAwContents);
2030 2030
2031 // Coordinates in desity independent pixels. 2031 // Coordinates in density independent pixels.
aurimas (slooooooooow) 2014/02/13 00:18:22 How is this even remotely related to IME? Please u
hush (inactive) 2014/02/13 01:16:08 It's just fixing a typo. I will put it in a differ
2032 private native void nativeRequestNewHitTestDataAt(long nativeAwContents, int x, int y); 2032 private native void nativeRequestNewHitTestDataAt(long nativeAwContents, int x, int y);
2033 private native void nativeUpdateLastHitTestData(long nativeAwContents); 2033 private native void nativeUpdateLastHitTestData(long nativeAwContents);
2034 2034
2035 private native void nativeOnSizeChanged(long nativeAwContents, int w, int h, int ow, int oh); 2035 private native void nativeOnSizeChanged(long nativeAwContents, int w, int h, int ow, int oh);
2036 private native void nativeScrollTo(long nativeAwContents, int x, int y); 2036 private native void nativeScrollTo(long nativeAwContents, int x, int y);
2037 private native void nativeSetViewVisibility(long nativeAwContents, boolean v isible); 2037 private native void nativeSetViewVisibility(long nativeAwContents, boolean v isible);
2038 private native void nativeSetWindowVisibility(long nativeAwContents, boolean visible); 2038 private native void nativeSetWindowVisibility(long nativeAwContents, boolean visible);
2039 private native void nativeSetIsPaused(long nativeAwContents, boolean paused) ; 2039 private native void nativeSetIsPaused(long nativeAwContents, boolean paused) ;
2040 private native void nativeOnAttachedToWindow(long nativeAwContents, int w, i nt h); 2040 private native void nativeOnAttachedToWindow(long nativeAwContents, int w, i nt h);
2041 private static native void nativeOnDetachedFromWindow(long nativeAwContents) ; 2041 private static native void nativeOnDetachedFromWindow(long nativeAwContents) ;
(...skipping 20 matching lines...) Expand all
2062 2062
2063 private native void nativeInvokeGeolocationCallback( 2063 private native void nativeInvokeGeolocationCallback(
2064 long nativeAwContents, boolean value, String requestingFrame); 2064 long nativeAwContents, boolean value, String requestingFrame);
2065 2065
2066 private native void nativeSetJsOnlineProperty(long nativeAwContents, boolean networkUp); 2066 private native void nativeSetJsOnlineProperty(long nativeAwContents, boolean networkUp);
2067 2067
2068 private native void nativeTrimMemory(long nativeAwContents, int level); 2068 private native void nativeTrimMemory(long nativeAwContents, int level);
2069 2069
2070 private native void nativeCreatePdfExporter(long nativeAwContents, AwPdfExpo rter awPdfExporter); 2070 private native void nativeCreatePdfExporter(long nativeAwContents, AwPdfExpo rter awPdfExporter);
2071 } 2071 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698