Skip to content

Commit c3cbedd

Browse files
author
George Mount
committed
Remove unused FORM_DID_BLUR hooks.
Bug 6111763 Webkit Change: I015e1a57e81e897c124af5d96ba76b4d07a381fc Change-Id: I56a862a6c0f0d7799f4e935bb7f5103bb2edbb9b
1 parent 54e1553 commit c3cbedd

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

core/java/android/webkit/WebViewClassic.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1204,7 +1204,6 @@ public void onTrimMemory(int level) {
12041204
static final int SHOW_FULLSCREEN = 120;
12051205
static final int HIDE_FULLSCREEN = 121;
12061206
static final int REPLACE_BASE_CONTENT = 123;
1207-
static final int FORM_DID_BLUR = 124;
12081207
static final int UPDATE_MATCH_COUNT = 126;
12091208
static final int CENTER_FIT_RECT = 127;
12101209
static final int REQUEST_KEYBOARD_WITH_SELECTION_MSG_ID = 128;
@@ -1274,7 +1273,6 @@ public void onTrimMemory(int level) {
12741273
"HIDE_FULLSCREEN", // = 121;
12751274
"DOM_FOCUS_CHANGED", // = 122;
12761275
"REPLACE_BASE_CONTENT", // = 123;
1277-
"FORM_DID_BLUR", // = 124;
12781276
"RETURN_LABEL", // = 125;
12791277
"UPDATE_MATCH_COUNT", // = 126;
12801278
"CENTER_FIT_RECT", // = 127;
@@ -8274,9 +8272,6 @@ public void handleMessage(Message msg) {
82748272
updateTextSelectionFromMessage(msg.arg1, msg.arg2,
82758273
(WebViewCore.TextSelectionData) msg.obj);
82768274
break;
8277-
case FORM_DID_BLUR:
8278-
// TODO: Figure out if this is needed for something (b/6111763)
8279-
break;
82808275
case TAKE_FOCUS:
82818276
int direction = msg.arg1;
82828277
View focusSearch = mWebView.focusSearch(direction);

core/java/android/webkit/WebViewCore.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -324,17 +324,6 @@ protected void jsAlert(String url, String message) {
324324
mCallbackProxy.onJsAlert(url, message);
325325
}
326326

327-
/**
328-
* Called by JNI. Send a message to the UI thread to hide the soft keyboard
329-
* if the node pointed to by nodePointer is still in focus.
330-
* @param nodePointer The node which just blurred.
331-
*/
332-
private void formDidBlur(int nodePointer) {
333-
if (mWebViewClassic == null) return;
334-
Message.obtain(mWebViewClassic.mPrivateHandler, WebViewClassic.FORM_DID_BLUR,
335-
nodePointer, 0).sendToTarget();
336-
}
337-
338327
/**
339328
* Called by JNI when the focus node changed.
340329
*/

0 commit comments

Comments
 (0)