Bug 805162 - a. Expose GeckoAppShell only to Gecko-side IME interface; r=blassey

This commit is contained in:
Jim Chen
2012-11-01 16:11:02 -04:00
parent f5f818fcfd
commit 50580c143e
3 changed files with 38 additions and 15 deletions

View File

@@ -261,6 +261,13 @@ public class LayerView extends FrameLayout {
return false;
}
public boolean isIMEEnabled() {
if (mInputConnectionHandler != null) {
return mInputConnectionHandler.isIMEEnabled();
}
return false;
}
public void requestRender() {
if (mListener != null) {
mListener.renderRequested();