DO NOT MERGE remove defunct javascript interface

Bug: 7073422

The feature that is using search box implementation was removed from
browser after Honeycomb. This is to remove the js interface that
is added for this feature.

Clean cherry pick of d773ca8ff2

Change-Id: I033d29718d08803f375759faf83e2058df6d4906
This commit is contained in:
Selim Gurun
2012-09-05 11:53:44 -07:00
parent ab1456abad
commit 8d197601e7

View File

@@ -245,7 +245,6 @@ class BrowserFrame extends Handler {
mWebViewCore = w;
mSearchBox = new SearchBoxImpl(mWebViewCore, mCallbackProxy);
mJavaScriptObjects.put(SearchBoxImpl.JS_INTERFACE_NAME, mSearchBox);
AssetManager am = context.getAssets();
nativeCreateFrame(w, am, proxy.getBackForwardList());
@@ -598,8 +597,6 @@ class BrowserFrame extends Handler {
}
}
mRemovedJavaScriptObjects.clear();
stringByEvaluatingJavaScriptFromString(SearchBoxImpl.JS_BRIDGE);
}
/**