Code example for Message

Methods: setTarget

0
  } 
  @Override 
  protected boolean onCreateWindow(boolean isDialog, boolean isUserGesture) {
    if (webClient_ != null) {
      // TODO(pwnall): figure out what to do here 
      Message resultMsg = new Message();
      resultMsg.setTarget(null);
      resultMsg.obj = null; // WebView.WebViewTransport
      return webClient_.onCreateWindow(view_, isDialog,
          isUserGesture, resultMsg);
    } else { 
      return false; 
    } 
  } 
  @Override 
  protected void onRequestFocus() { 
    if (webClient_ != null)
      webClient_.onRequestFocus(view_); 
  } 
  @Override 
  protected void onCloseWindow() {