As in topic. API currently offers fixed ratio only for Mac but not for Windows
shell/browser/native_window_views.cc
#include "shell/browser/native_window_views.h"
#if defined(OS_WIN)
#include <wrl/client.h>
#endif
#include <memory>
#include <tuple>
#include <utility>
#include <vector>
#include "base/numerics/ranges.h"
#include "base/stl_util.h"
#include "base/strings/utf_string_conversions.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/desktop_media_id.h"
#include "shell/browser/api/electron_api_web_contents.h"
#include "shell/browser/native_browser_view_views.h"