@Override
  public void onPopupSize(CefBrowser browser, Rectangle size) {
    synchronized (myPopupMutex) {
      myPopupBounds = size;
    }
  }
@Override
  public void onPopupSize(CefBrowser browser, Rectangle size)