tests/cefclient/browser/print_handler_gtk.cc
// Returns the GtkWindow* for the browser. Will return nullptr when using the
// Views framework.
Returns the GtkWindow* for the browser. Will return nullptr when using the
Views framework.
Returns the GtkWindow * for the browser . Will return nullptr when using the Views framework .
GtkWindow* GetWindow(CefRefPtr<CefBrowser> browser) {
  scoped_refptr<RootWindow> root_window =
      RootWindow::GetForBrowser(browser->GetIdentifier());
  if (root_window)
    return GTK_WINDOW(root_window->GetWindowHandle());
  return nullptr;
}
GtkWindow * GetWindow ( CefRefPtr < CefBrowser > browser ) { scoped_refptr < RootWindow > root_window = RootWindow :: GetForBrowser ( browser -> GetIdentifier ( ) ) ; if ( root_window ) return GTK_WINDOW ( root_window -> GetWindowHandle ( ) ) ; return nullptr ; }
Returns the GtkWindow* for the browser.
Returns the GtkWindow * for the browser .