Code example for Message

Methods: setTarget

0
  @Override 
  public void onReceivedTouchIconUrl(String url, boolean precomposed) {
    if (webClient_ != null)
      webClient_.onReceivedTouchIconUrl(view_, url, precomposed);
  } 
  @Override 
  public void onShowCustomView(View view, int requestedOrientation,
      CustomViewCallback callback) {
    if (webClient_ != null) {
      webClient_.onShowCustomView(view_, requestedOrientation,
          callback);
    } 
  } 
  @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,