Remove obsolete flags from WebViewCore and WebView

Remove NO_FOCUS_CHANGE_BLOCK and BLOCK_FOCUS_CHANGE_UNTIL_KEY_UP, which were
part of SET_FINAL_FOCUS (which is no longer used) from WebViewCore.  In WebView,
do not pass BLOCK_FOCUS_CHANGE_UNTIL_KEY_UP with SET_MOVE_MOUSE, since the
receiver does not care about it.
This commit is contained in:
Leon Scroggins
2009-06-03 13:01:32 -04:00
parent 2f1d60cd55
commit 82aa2f5eec
2 changed files with 1 additions and 7 deletions

View File

@@ -3310,9 +3310,7 @@ public class WebView extends AbsoluteLayout
// coordinates should be in content coordinates.
if (nativeCursorIntersects(visibleRect)) {
nativeSetFollowedLink(true);
mWebViewCore.sendMessage(EventHub.SET_MOVE_MOUSE,
EventHub.BLOCK_FOCUS_CHANGE_UNTIL_KEY_UP, 0,
cursorData());
mWebViewCore.sendMessage(EventHub.SET_MOVE_MOUSE, cursorData());
playSoundEffect(SoundEffectConstants.CLICK);
return true;
} else if (nativeHasCursorNode()) {

View File

@@ -658,10 +658,6 @@ final class WebViewCore {
// private message ids
private static final int DESTROY = 200;
// flag values passed to message SET_FINAL_FOCUS
static final int NO_FOCUS_CHANGE_BLOCK = 0;
static final int BLOCK_FOCUS_CHANGE_UNTIL_KEY_UP = 1;
// Private handler for WebCore messages.
private Handler mHandler;
// Message queue for containing messages before the WebCore thread is