--- ui/base/x/x11_util.h.orig 2024-02-21 00:21:15 UTC +++ ui/base/x/x11_util.h @@ -256,6 +256,10 @@ gfx::ImageSkia GetNativeWindowIcon(intptr_t target_win COMPONENT_EXPORT(UI_BASE_X) gfx::ImageSkia GetNativeWindowIcon(intptr_t target_window_id); +// Returns the ICCProfile corresponding to |monitor| using XGetWindowProperty. +COMPONENT_EXPORT(UI_BASE_X) +gfx::ICCProfile GetICCProfileForMonitor(int monitor); + } // namespace ui #endif // UI_BASE_X_X11_UTIL_H_